[Date Prev][Date Next] [Chronological] [Thread] [Top]

back-sql and filter behavior



Can someone explain the following behavior?

ldapsearch with filter '' lists all records as expected,
but using the filter '(objectclass=*)' returns the search
referral instead of one of the records.  

For example, using the back-sql sample data:

   ldapsearch -h host -b 'o=sql,c=RU' 'objectclass=*'

includes the following (among other results):

   # search reference
   ref: http://localhost

*instead of* the entry for cn=Akakiy Zinberstein,o=sql,c=RU.
However, using the empty filter '' returns all of the records expected.

Tables ldap_referrals and ldap_entry_objclasses, both have entries with
entry_id 4 for this referral, which is the same as the id (4) of the
Akakiy record in table ldap_entries.  Does the value 4 have any
particular significance?

Thanks,

Fran