Hello, i recently upgraded a testsystem from debian etch to lenny. this upgrade changed the exim version from 4.63 to 4.69
This upgrade broke the following local_domains ldap lookup: ldap_default_servers = ourldapserver LDAPU = theuserdn LDAPP = thepassword LDAPB = thesearchbase LDAP_PREF = user=LDAPU pass=LDAPP ldap:///LDAPB LDAP_SEARCHDOMAINS = (&(objectClass=MailDomain)(enabled=TRUE)) domainlist local_domains = ${tr {${tr {${lookup ldapm{ LDAP_PREF?ou?sub?(&(enabled=TRUE)(objectClass=MailDomain)) }}} {\n}{:}}} {,}{:}} The error message is: 2009-07-21 15:29:35 failed to expand "${tr {${tr {${lookup ldapm{ user=... pass=... ldap:///...?ou?sub?(&(enabled=TRUE)(objectClass=MailDomain)) }}} {\n}{:}}} {,}{:}}" while checking a list: lookup of "user=... pass=... ldap:///...?ou?sub?(&(enabled=TRUE)(objectClass=MailDomain)) " gave DEFER: ldap_search failed: -7, Bad search filter I tryied some variants and i found out that the condition \(enabled=TRUE\) works, but not (enabled=TRUE) or \(&\(enabled=TRUE\)\(objectClass=MailDomain\)\) The production server with 4.63 still works and ldapsearch on lenny is successfull. I checked the changelogs for ldap changes, but i did not find anything. Does somebody has any idea? Thank you for a reply - Moritz -- Wissen ist das einzige Gut, das sich vermehrt, wenn man es teilt. -- http://www.lagerkochbuch.ch -- ## List details at http://lists.exim.org/mailman/listinfo/exim-users ## Exim details at http://www.exim.org/ ## Please use the Wiki with this list - http://wiki.exim.org/
