Upon looking into qmail-lspawn.c i think i've found a bug
similar to one (maybe the same, i havn't got the message anymore)
posted a few days ago.

It's about building the ldap query for the mail address.
The objectclass restriction is added incorrectly to the query,
the resulting query is
(|(objectclass=xxx)(mail=foobar)(mailalternateaddress=foobar))

which will return any address of the objectclass qmailUser

I'm not sure which file the patch recently posted adressed, so i report this
bug again. _ It might be in other files as well! _

Search for "optional objectclass" in qmail-lspawn.c

sorry, no diff; havn't started fixing it yet; furthermore my qmail-lspawn.c
is patched with the dash trick.

It might help for some people to delete the file control/ldapobjectclass
which will disable the objectclass restriction.

Greetings,
Erich

Reply via email to