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 |
Hi,
I don't know what's in the ldif file you're trying to import in ldap, but the rootDN does not look correct. It should be something like Code:
sudo ldapadd -D "cn=admin,dc=domain,dc=com" -W -f /tmp/passwd.ldif Regards |
All times are GMT -5. The time now is 09:03 PM. |