Hello Chee Wai,
I run the ladpadd command as you says. with 'Test2.ldif' <Which consists of
Root dn > and 'Test1.ldif' <Which consists of sub dns>
now path given in slapd.conf filled with following details (i.e
/home/shreedhar/ldap/Lucid).
[root@devserv Lucid]# ls -l
total 168
-rw------- 1 root root 8192 Jun 3 11:05 __db.001
-rw------- 1 root root 270336 Jun 3 11:05 __db.002
-rw------- 1 root root 98304 Jun 3 11:05 __db.003
-rw------- 1 root root 368640 Jun 3 11:05 __db.004
-rw------- 1 root root 16384 Jun 3 11:05 __db.005
-rw------- 1 root root 8192 Jun 3 11:05 dn2id.bdb
-rw------- 1 root root 32768 Jun 3 11:05 id2entry.bdb
-rw------- 1 root root 56164 Jun 3 11:06 log.0000000001
-rw------- 1 root root 20480 Jun 3 11:06 objectClass.bdb
While running ldapadd I got some output. I am attaching that output with
this mail for analysis
If I run search command I got the following information. (Success
information)
[root@devserv stixen]# /usr/local/bin/ldapsearch -D
"cn=Lucid,o=stixen.co.uk,c=uk" -b "o=stixen.co.uk,c=uk" -x -w secret
'ojectclass=*'
# extended LDIF
#
# LDAPv3
# base <o=stixen.co.uk,c=uk> with scope sub
# filter: ojectclass=*
# requesting: ALL
#
# search result
search: 2
result: 0 Success
# numResponses: 1
But if I tried to search other entires like may name
[root@devserv Lucid]# /usr/local/bin/ldapsearch -D
"o=stixen.co.uk,c=uk" -b "cn=Shreedhar B,c=uk" -x -w secret 'ojectclass=*'
ldap_bind: Inappropriate authentication (48)
May I know what is the problem in this.
Many Many thanks for your kind cooperation.
Regards,
Sreedhar