Problem in LDAP configuration
Hi Everyone.
I'm Configuring LDAP server on RHEL4.
I have some problem... Pls. Help me to solve these problems if somebody can....
Entries in My Slapd.conf file :
#ldbm and/or dbd database definitions
database bdb
suffix "dc=lserv,dc=com"
rootdn "cn=root,dc=lserv,dc=com"
rootpw secret
step2: slappasswd
step3 after this i have started slapd.conf
Step 4: ldapsearch -x -b ' '-s base '(objectclass=*)'
But when i'm executing ldapsearch command it shows:--
#Search result
Search: 2
result: 34 Invalid DN syntax
text: invalid DN
step4:When i'm executing :
ldapadd -x -D "cn=root,dc=lserv,dc=com" -W -f /tmp/top.ldif(i have entries in top.ldif).
it prompt me for LDAP password:
i entered password(i have already set a passwd with "slappasswd " command)
it shows the result:
ldap_bind: invalid credential(49)
Can anyone Help me to solve these problems..
|