Ldap trying to add nodes to cn=config
I'm using ubuntu 10.04 lucid. I want to be able to setup an ldap I can authenticate againest using php
steven@stevendesktop:~/taiman/examples/LMS$ sudo ldapadd -D "cn=config,dc=users" -W -f /tmp/passwd.ldif
Enter LDAP Password:
ldap_bind: Server is unwilling to perform (53)
additional info: unauthenticated bind (DN with no password) disallowed
steven@stevendesktop:~/taiman/examples/LMS$
So does this mean I need to set a password? How do I do that?
I
dn: olcDatabase={0}config
objectClass: olcDatabaseConfig
olcDatabase: {0}config
olcAccess: {0}to * by dn.exact=gidNumber=0+uidNumber=0,cn=peercred,cn=external
,cn=auth manage by * break
structuralObjectClass: olcDatabaseConfig
entryUUID: 84750508-4f47-1030-9615-65199ba32e47
creatorsName: cn=config
createTimestamp: 20110730223214Z
entryCSN: 20110730223214.064530Z#000000#000#000000
modifiersName: cn=config
modifyTimestamp: 20110730223214Z
Last edited by linuxmandrake; 07-30-2011 at 06:03 PM.
|