LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Enterprise (https://www.linuxquestions.org/questions/linux-enterprise-47/)
-   -   ldap configuration (https://www.linuxquestions.org/questions/linux-enterprise-47/ldap-configuration-537009/)

rajesh.nigam12 03-13-2007 02:35 AM

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)

msound 03-16-2007 02:32 PM

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

rajesh.nigam12 04-09-2007 04:00 AM

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"

alagenchev 10-08-2007 12:25 PM

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.