Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 06-26-2013, 05:05 PM   #1
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:

I'm now using Ubuntu 12.04 Server x64

Working on this module here:

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, 01:44 PM   #2
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:
modifying entry "cn=module{0},cn=config"
ldap_modify: Insufficient access (50)


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 11:14 AM
LDAP access control Sbrizzu Linux - Server 2 06-13-2013 11:32 AM
ACL Problem, Insufficient access (50) mesh2005 Linux - Networking 2 12-25-2005 08:20 AM
Re ldap_bind Insufficient access(50) vanaidu2004 Linux - Networking 0 07-03-2005 01:39 AM
LDAP Insufficient access sohocoffee2 Linux - Security 1 03-02-2005 10:23 PM

All times are GMT -5. The time now is 02:07 PM.

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