[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
back-sql and send_search_reference: dn="(null)"
Hi,
Openldap 2.2.26
mysql 5.0.15
fc3
My ldap searches are producing no results. Using -d 5 I can see that
openldap is connecting to the mysql database fine and it finds all of
the entries that match the query, but it does not produce any results.
At the end of backsql_search routine, it reports:
<==backsql_get_attr_vals()
<==backsql_id2entry()
ldap_url_parse_ext(http://localhost)
=> send_search_reference: dn="(null)"
Does anyone know what the 'send_search_reference: dn="(null)" ' means?
I've searched around for it on the web, but the only reference I can
find to it is in the search.c code.
Here is a sample of the debug output:
backsql_search(): loading data for entry id=887, oc_id=1, keyval=887
==>backsql_id2entry()
>>> dnPrettyNormal: <cn=Paul Martin,dc=gasanalytical,dc=com>
=> ldap_bv2dn(cn=Paul Martin,dc=gasanalytical,dc=com,0)
ldap_err2string
<= ldap_bv2dn(cn=Paul Martin,dc=gasanalytical,dc=com)=0 Success
=> ldap_dn2bv(272)
ldap_err2string
<= ldap_dn2bv(cn=Paul Martin,dc=gasanalytical,dc=com)=0 Success
=> ldap_dn2bv(272)
ldap_err2string
<= ldap_dn2bv(cn=paul martin,dc=gasanalytical,dc=com)=0 Success
<<< dnPrettyNormal: <cn=Paul Martin,dc=gasanalytical,dc=com>, <cn=paul
martin,dc=gasanalytical,dc=com>
backsql_id2entry(): retrieving all attributes
==>backsql_get_attr_vals(): oc="inetOrgPerson" attr="c" keyval=887
<==backsql_get_attr_vals()
==>backsql_get_attr_vals(): oc="inetOrgPerson" attr="l" keyval=887
<==backsql_get_attr_vals()
==>backsql_get_attr_vals(): oc="inetOrgPerson" attr="o" keyval=887
<==backsql_get_attr_vals()
==>backsql_get_attr_vals(): oc="inetOrgPerson" attr="cn" keyval=887
<==backsql_get_attr_vals()
==>backsql_get_attr_vals(): oc="inetOrgPerson" attr="sn" keyval=887
<==backsql_get_attr_vals()
==>backsql_get_attr_vals(): oc="inetOrgPerson" attr="st" keyval=887
<==backsql_get_attr_vals()
==>backsql_get_attr_vals(): oc="inetOrgPerson" attr="ref" keyval=887
<==backsql_get_attr_vals()
==>backsql_get_attr_vals(): oc="inetOrgPerson" attr="mail" keyval=887
<==backsql_get_attr_vals()
==>backsql_get_attr_vals(): oc="inetOrgPerson" attr="street" keyval=887
<==backsql_get_attr_vals()
==>backsql_get_attr_vals(): oc="inetOrgPerson" attr="givenName"
keyval=887
<==backsql_get_attr_vals()
==>backsql_get_attr_vals(): oc="inetOrgPerson" attr="postalCode"
keyval=887
<==backsql_get_attr_vals()
==>backsql_get_attr_vals(): oc="inetOrgPerson" attr="objectClass"
keyval=887
<==backsql_get_attr_vals()
==>backsql_get_attr_vals(): oc="inetOrgPerson" attr="telephoneNumber"
keyval=887
<==backsql_get_attr_vals()
<==backsql_id2entry()
ldap_url_parse_ext(http://localhost)
=> send_search_reference: dn="(null)"
ber_flush: 25 bytes to sd 8
<= send_search_reference
Any help would be appreciated,
Paul