
pgadmin at pse-consulting
Aug 23, 2009, 5:05 AM
Post #1 of 1
(612 views)
Permalink
|
|
[Bug 882] New: LDAP lookup not working with OpenLdap 2.4
|
|
------- You are receiving this mail because: ------- You are on the CC list for the bug. http://bugs.exim.org/show_bug.cgi?id=882 Summary: LDAP lookup not working with OpenLdap 2.4 Product: Exim Version: 4.69 Platform: x86 OS/Version: Linux Status: NEW Severity: bug Priority: medium Component: Lookups AssignedTo: nigel [at] exim ReportedBy: pgadmin [at] pse-consulting CC: exim-dev [at] exim I've set up Exim 4.69 from source on Debian Stable, and found that the following router wouldn't run any more, as it did on an old system with exim4.44 and openldap2.2: data = ${lookup ldapm { ldap:///dc=pse-consulting,dc=de \ ?uid?sub? \ ( & (mail=${quote_ldap:$local_part@$domain} ) \ (objecClass=posixAccount) \ ) {${lc:$value}@$domain} fail } I get "ldap_search failed: -7, Bad search filter". The LDAP server debugging doesn't show any difference between old and new system until exim aborts the query. I found that this is caused by linking against openldap 2.4 libraries; when using the old 2.2 libraries the lookup will resolve fine. -- Configure bugmail: http://bugs.exim.org/userprefs.cgi?tab=email -- ## List details at http://lists.exim.org/mailman/listinfo/exim-dev Exim details at http://www.exim.org/ ##
|