[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

exim/ldapm problem



Hi,

I am using exim with users in an ldap repository. Mail delivery
regularly fails with the message:

exim: /build/buildd/openldap2-2.0.23/libraries/libldap/error.c:221: ldap_parse_result: Assertion `r != ((void *)0)' failed.
2004-04-01 10:38:02 queue run: process 15364 crashed with signal 6 while delivering 1B8x3I-0003To-00

The failure is not a disaster, since delivery is retried later, but it
does cause slowdown, and complaints from users.

The ldap director from my exim.conf is (with my domain obfuscated):

ldapuser:
  driver = aliasfile
  search_type = ldap
  group = mail
  query= "ldap:///ou=Accounts,dc=XXX,dc=XXX?uid?sub?uid=$local_part";
  user = "${lookup ldap{ldap:///ou=Accounts,dc=XXX,dc=XXX?uid?sub?uid=$local_part}{$value}fail}";
  home_directory = "${lookup ldap{ldap:///ou=Accounts,dc=XXX,dc=XXX?homeDirectory?sub?uid=$local_part}}";
  transport = local_delivery

Am I doing something wrong ?

Frank

-- 
"Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are,
by definition, not smart enough to debug it." - Brian W. Kernighan



Reply to: