Full_Name: Xavier Beaudouin Version: 2.3.33 OS: FreeBSD 6.2 URL: http://www.oav.net/tmp/openldap/ Submission from: (NULL) (82.225.248.92)
Seems since 2.3 branch back-perl doesn't work files in http://www.oav.net/tmp/openldap/ works correctly on 2.2.xx branch but seems to returns nothing.
Debug output :
# /usr/local/libexec/slapd -d 4 -f /usr/local/etc/openldap/slapd.conf @(#) $OpenLDAP: slapd 2.3.33 (Feb 19 2007 23:24:47) $ root@diskless.home.oav.net:/usr/ports/net/openldap23-server/work/openldap-2.3.33/servers/slapd daemon_init: <null> => ldap_bv2dn(ou=mailboxes,dc=kazar,dc=net,0) <= ldap_bv2dn(ou=mailboxes,dc=kazar,dc=net)=0 => ldap_dn2bv(272) <= ldap_dn2bv(ou=mailboxes,dc=kazar,dc=net)=0 => ldap_dn2bv(272) <= ldap_dn2bv(ou=mailboxes,dc=kazar,dc=net)=0 Starting mailboxes => ldap_bv2dn(cn=Subschema,0) <= ldap_bv2dn(cn=Subschema)=0 => ldap_dn2bv(272) <= ldap_dn2bv(cn=subschema)=0 WARNING: No dynamic config support for database perl. slapd starting connection_get(8) send_ldap_result: err=0 matched="" text="" connection_get(8) => ldap_bv2dn(ou=mailboxes,dc=kazar,dc=net,0) <= ldap_bv2dn(ou=mailboxes,dc=kazar,dc=net)=0 => ldap_dn2bv(272) <= ldap_dn2bv(ou=mailboxes,dc=kazar,dc=net)=0 => ldap_dn2bv(272) <= ldap_dn2bv(ou=mailboxes,dc=kazar,dc=net)=0 SRCH "ou=mailboxes,dc=kazar,dc=net" 2 0 0 0 0 filter: (uid=kiwi@oav.net) attrs: We get a request for UID Looking for : (uid=kiwi@oav.net) We get some results... Sending -> dn : uid=kiwi@oav.net,ou=mailboxes,dc=kazar,dc=net objectClass : top objectClass : kazarPerson uid : kiwi@oav.net cn : Nom Prenom description : Sample description uidNumber : 10 gidNumber : 10 userPassword : Password homeDirectory : /home/test mailQuota : 50 CouriermailQuota : 50S
str2entry: entry -1 has no dn str2entry(dn) failed send_ldap_result: err=0 matched="" text="" connection_get(8)
To the query :
# ldapsearch -h 127.0.0.1 -b ou=mailboxes,dc=kazar,dc=net uid=kiwi@oav.net # extended LDIF # # LDAPv3 # base <ou=mailboxes,dc=kazar,dc=net> with scope subtree # filter: uid=kiwi@oav.net # requesting: ALL #
# search result search: 2 result: 0 Success
# numResponses: 1
Seems that str2entry from search.c doesn't get any value. Is that because internals of OpenLDAP has changed ?
Thanks /Xavier