LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 06-26-2013, 04:05 PM   #1
j4ckripp3r
LQ Newbie
 
Registered: Jun 2013
Posts: 4

Rep: Reputation: Disabled
Exclamation LDAP insufficient access(50)


How I setup my working LDAP with the script here: http://www.ghacks.net/2010/08/31/set...-ubuntu-10-04/

I'm now using Ubuntu 12.04 Server x64

Working on this module here: http://raerek.blogspot.com/2012/06/s...rds-using.html

When I load changes into LDAP I'm denied.

$ sudo ldapmodify -Q -Y EXTERNAL -H ldapi:/// -f smbkrb5pwd_load.ldif
modifying entry "cn=module{0},cn=config"
ldap_modify: Insufficient access (50)

$ sudo ldapmodify -Y EXTERNAL -H ldapi:/// -f smbkrb5pwd_load.ldif
ldap_sasl_interactive_bind_s: Unknown authentication method (-6)
additional info: SASL(-4): no mechanism available:


$ ldapsearch -xLLL -b cn=config -D cn=admin,cn=config -W olcDatabase=hdb olcAccess
Enter LDAP Password:
dn: olcDatabase={1}hdb,cn=config
olcAccess: {0}to attrs=userPassword,shadowLastChange by dn="cn=admin,dc=domain,dc=net" write by anonymous auth by self write by * none
olcAccess: {1}to dn.base="" by * read
olcAccess: {2}to * by dn="cn=admin,dc=domain,dc=net" write by * read

Am I able to change the ACL so I can edit cn=config to load this module in? If so how do I do that?
 
Old 06-27-2013, 12:44 PM   #2
j4ckripp3r
LQ Newbie
 
Registered: Jun 2013
Posts: 4

Original Poster
Rep: Reputation: Disabled
I tried binding as the rootdn and I'm still not able to make changes to c"cn=module{0},cn=config"

$ sudo ldapmodify -x -v -D 'cn=admin,dc=domain,dc=net' -w 'secret' -f smbkrb5pwd_load.ldif
ldap_initialize( <DEFAULT> )
add olcModuleLoad:
smbkrb5pwd
modifying entry "cn=module{0},cn=config"
ldap_modify: Insufficient access (50)
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LDAP insufficient access(50) j4ckripp3r Linux - Server 1 06-27-2013 10:14 AM
LDAP access control Sbrizzu Linux - Server 2 06-13-2013 10:32 AM
ACL Problem, Insufficient access (50) mesh2005 Linux - Networking 2 12-25-2005 07:20 AM
Re ldap_bind Insufficient access(50) vanaidu2004 Linux - Networking 0 07-03-2005 12:39 AM
LDAP Insufficient access sohocoffee2 Linux - Security 1 03-02-2005 09:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 03:40 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration