Hi list,
since March there were issues about failures in qmail-ldaplookup and
qldap_filter like in i.e.
http://marc.info/?l=qmail-ldap&m=133191376103295&w=2
The following patch solved it:
--- qmail-1.03-prev/qldap-filter.c 2012-07-29 16:28:35.000000000 +0200
+++ qmail-1.03/qldap-filter.c 2012-07-29 15:45:35.000000000 +0200
@@ -225,7 +225,7 @@
return 0;
}
- if (!stralloc_cats(&filter, "))") ||
+ if (!stralloc_cats(&filter, ")") ||
!filter_end(&filter))
return 0;
It took some time to find this odd right parenthesis, the previous patch
http://marc.info/?l=qmail-ldap&m=133193764313080&w=2 did not help here:
qldap_lookup:_search_for_(|(mail=...)(mailAlternateAddress=...)))_failed_(Bad_search_filter)
^^^
BTW: What's the ultimate source for the qmail-ldap-patches:
http://www.nrg4u.com/ or the wiki at http://www.qmail-ldap.org/ ?
Ciao - Martin