Dear All, I am new to ldap, I would like to have your kindness assistance in setting up the directory.
We are working on move our old ldap server to a new openldap server, I have install the openldap in Solaris 10 x86 successfully. However I am not able to browse the content using the ldap browser, it shows "Invalid Credentials".
this is what we change in slapd.conf suffix "o=Cname" rootdn "cn=Manager,ou=Dname,o=Cname" rootpw password
This is what we have in slapd.ldif olcSuffix: o=Cname olcRootDN: cn=Manager,ou=Dname,o=Cname olcRootPW: password
Herewith is the debug log
5021e2df daemon: activity on 1 descriptor 5021e2df slap_listener_activate(8): 5021e2df daemon: select: listen=7 active_threads=0 tvp=NULL 5021e2df >>> slap_listener(ldap:///) 5021e2df daemon: select: listen=8 busy 5021e2df daemon: listen=8, new connection on 12 5021e2df daemon: activity on 1 descriptor 5021e2df daemon: added 12r (active) listener=0 5021e2df conn=1002 fd=12 ACCEPT from IP=10.122.39.115:54220 (IP=0.0.0.0:389) 5021e2df daemon: waked 5021e2df daemon: select: listen=7 active_threads=0 tvp=NULL 5021e2df daemon: select: listen=8 active_threads=0 tvp=NULL 5021e2df daemon: activity on 1 descriptor 5021e2df daemon: activity on:5021e2df 12r5021e2df 5021e2df daemon: read activity on 12 5021e2df daemon: select: listen=7 active_threads=0 tvp=NULL 5021e2df connection_get(12) 5021e2df connection_get(12): got connid=1002 5021e2df connection_read(12): checking for input on id=1002 5021e2df daemon: select: listen=8 active_threads=0 tvp=NULL ber_get_next ldap_read: want=8, got=8 0000: 30 2f 02 01 04 60 2a 02 0/...`*. ldap_read: want=41, got=41 0000: 01 03 04 1b 63 6e 3d 4d 61 6e 61 67 65 72 2c 6f ....cn=Manager,o 0010: 75 3d 44 6e 61 6d 65 2c 6f 3d 43 6e 61 6d 65 80 u=Dname,o=Cname. 0020: 08 70 61 73 73 77 6f 72 64 .password ber_get_next: tag 0x30 len 47 contents: ber_dump: buf=83e3f10 ptr=83e3f10 end=83e3f3f len=47 0000: 02 01 04 60 2a 02 01 03 04 1b 63 6e 3d 4d 61 6e ...`*.....cn=Man 0010: 61 67 65 72 2c 6f 75 3d 44 6e 61 6d 65 2c 6f 3d ager,ou=Dname,o= 0020: 43 6e 61 6d 65 80 08 70 61 73 73 77 6f 72 64 Cname..password 5021e2df op tag 0x60, time 1344398047 ber_get_next ldap_read: want=8 error=Resource temporarily unavailable 5021e2df daemon: activity on 1 descriptor 5021e2df conn=1002 op=0 do_bind ber_scanf fmt ({imt) ber: ber_dump: buf=83e3f10 ptr=83e3f13 end=83e3f3f len=44 0000: 60 2a 02 01 03 04 1b 63 6e 3d 4d 61 6e 61 67 65 `*.....cn=Manage 0010: 72 2c 6f 75 3d 44 6e 61 6d 65 2c 6f 3d 43 6e 61 r,ou=Dname,o=Cna 0020: 6d 65 80 08 70 61 73 73 77 6f 72 64 me..password ber_scanf fmt (m}) ber: ber_dump: buf=83e3f10 ptr=83e3f35 end=83e3f3f len=10 0000: 00 08 70 61 73 73 77 6f 72 64 ..password 5021e2df >>> dnPrettyNormal: <cn=Manager,ou=Dname,o=Cname> 5021e2df daemon: waked => ldap_bv2dn(cn=Manager,ou=Dname,o=Cname,0) <= ldap_bv2dn(cn=Manager,ou=Dname,o=Cname)=0 => ldap_dn2bv(272) <= ldap_dn2bv(cn=Manager,ou=Dname,o=Cname)=0 => ldap_dn2bv(272) <= ldap_dn2bv(cn=manager,ou=dname,o=cname)=0 5021e2df <<< dnPrettyNormal: <cn=Manager,ou=Dname,o=Cname>, <cn=manager,ou=dname,o=cname> 5021e2df conn=1002 op=0 BIND dn="cn=Manager,ou=Dname,o=Cname" method=128 5021e2df daemon: select: listen=7 active_threads=0 tvp=NULL 5021e2df do_bind: version=3 dn="cn=Manager,ou=Dname,o=Cname" method=128 5021e2df daemon: select: listen=8 active_threads=0 tvp=NULL 5021e2df ==> bdb_bind: dn: cn=Manager,ou=Dname,o=Cname 5021e2df bdb_dn2entry("cn=manager,ou=dname,o=cname") 5021e2df => bdb_dn2id("o=cname") 5021e2df <= bdb_dn2id: get failed: DB_NOTFOUND: No matching key/data pair found (-30988) 5021e2df send_ldap_result: conn=1002 op=0 p=3 5021e2df send_ldap_result: err=49 matched="" text="" 5021e2df send_ldap_response: msgid=4 tag=97 err=49 ber_flush2: 14 bytes to sd 12 0000: 30 0c 02 01 04 61 07 0a 01 31 04 00 04 00 0....a...1.... ldap_write: want=14, written=14 0000: 30 0c 02 01 04 61 07 0a 01 31 04 00 04 00 0....a...1.... 5021e2df conn=1002 op=0 RESULT tag=97 err=49 text= 5021e2df daemon: activity on 1 descriptor 5021e2df daemon: activity on:5021e2df 12r5021e2df 5021e2df daemon: read activity on 12 5021e2df daemon: select: listen=7 active_threads=0 tvp=NULL 5021e2df connection_get(12) 5021e2df connection_get(12): got connid=1002 5021e2df daemon: select: listen=8 active_threads=0 tvp=NULL 5021e2df connection_read(12): checking for input on id=1002 ber_get_next ldap_read: want=8 error=Connection reset by peer 5021e2df ber_get_next on fd 12 failed errno=131 (Connection reset by peer) 5021e2df connection_read(12): input error=-2 id=1002, closing. 5021e2df connection_closing: readying conn=1002 sd=12 for close 5021e2df connection_close: conn=1002 sd=12 5021e2df daemon: removing 12 5021e2df daemon: activity on 1 descriptor 5021e2df conn=1002 fd=12 closed (connection lost) 5021e2df daemon: waked 5021e2df daemon: select: listen=7 active_threads=0 tvp=NULL 5021e2df daemon: select: listen=8 active_threads=0 tvp=NULL
Any help would be greatly appreciated
Thanks and Regards, Donald