------- 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: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]


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_p...@$domain} ) \
             (objecClass=posixAccount) \
         )  {${lc:$val...@$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/ ##

Reply via email to