-   Linux - Server (
-   -   Ldap config (

santanu.roy 01-29-2008 07:51 AM

Ldap config
Hi friend,
I tried to configure a ldap server with the help of

But I failed to cross the step of ldapadd & domainsearch:

[root@bigboy tmp]# ldapadd -x -D "cn=Manager,dc=example,dc=com" \
-W -f /etc/openldap/
[root@bigboy tmp]# ldapadd -x -D "cn=Manager,dc=example,dc=com" \
-W -f /etc/openldap/root.ldif
[root@bigboy tmp]# ldapadd -x -D "cn=Manager,dc=example,dc=com" \
-W -f /etc/openldap/ldapusers.ldif

Theses commands returning with an error msg. & ldapsearch -x -b 'dc=example,dc=com' \
this command is giving an output of 0 success.

But dns is working in this machine very fine.

Can you please guide me in proper way.

rupertwh 01-30-2008 06:01 AM


Originally Posted by santanu.roy (Post 3038686)
Theses commands returning with an error msg.

And have you considered telling us the *content* of that error message?

Without having any more detail, two typical causes come to mind:
  1. You'll have to add the top node "dc=example,dc=com" using slapadd rather than ldapadd. (And turn OFF slapd before doing that).
  2. Check the file permissions of your database files/directories.

All times are GMT -5. The time now is 10:20 AM.