Hi,

this is maybe a stupid question, but I have entries like

dn: [EMAIL PROTECTED],ou=email,dc=oeko,dc=net
mail: [EMAIL PROTECTED]
uid: [EMAIL PROTECTED]

and others like

dn: uid=u12345,ou=email,dc=oeko,dc=net
mail: [EMAIL PROTECTED]
uid: u12345


which I like better (object class etc omitted). Delivering mail to
the first class of entries works, no problem (why?). Delivery to
the second class of entries fails...

Now I see qmail-ldap proceed to filter on

(&(objectclass=qmailuser)(|([EMAIL PROTECTED])([EMAIL PROTECTED])))

So far, so good (entries are unique on mail addresses as well as uid).


When I "search" for this using gq, I get an error, when I "filter" for
this, I get the one entry. Using "ldapsearch", I get the one entry.

Now when qmail-ldap tries to deliver to this mail address, it says:

log: qldap_lookup:_Too_many_(less)_entries_found_(0)/
log: LDAP_lookup_failed_using_alias_(no_local_db)/

I read this as: Nothing found.

The same happens if I generate an entry along the lines of
http://www.lifewithqmail.org/ldap/, 8.1.2.


Some pointers _why_ qmail-ldap can't find these other types of entries,
and/or what's the difference between filtering and searching for an
entry are very much appreciated!

I'm testing this with the 20030501 patch on Debian, using OpenLDAP
2.1.22.



Best,
--Toni++

Reply via email to