ldap configuration
hi
I have a probleb while configuring ldap ldapadd -x -D "cn=Manager,dc=example,dc=com" -W -f /etc/openldap/ldapuser.ldif , when i run this command i found error "adding new entry "uid=ldapuser,ou=People,dc=example.dc=com"" ldap_add: no such object (32) |
Did you setup the "People" organizational unit?
Create a text file, people.ldif, and type in: # people dn: ou=People,dc=example,dc=com ou: People objectClass: organizationalUnit Then run: slapadd -v -l people.ldif |
getting error again
error while running this cmd
slapadd -v -l people.ldif slapadd: line 5: database (dc=example.com,dc=com) not configured to hold "ou=People,dc=example,dc=com" slapadd: line 5: database (dc=example.com,dc=com) not configured to hold "ou=people,dc=example,dc=com" |
Thanks
msound, thanks that worked for me. I just used:
ldapadd -x -D "cn=Manager,dc=example,dc=com" -W -f people.ldif rather than what rajesh.nigam12 had used thanks for the help |
All times are GMT -5. The time now is 08:34 AM. |