[Dovecot] Crash on malformed ldap user_filter
I did a little too much copy/paste, and ended up with an ldap config file containing a line of the form
user_filter = user_filter = (&objectClass=...
(with "user_filter =" repeated). This caused the auth process to segfault (v1.1.rc1). I suppose that I can reproduce this problem if more information is needed.
Anders.
11:56:33 localhost dovecot: auth(default): ldap(a@invalid,127.0.0.1): user search: base=o=hosting,dc=invalid, dc=dk scope=subtree filter=user_filter = (&(objectClass=JammMailAccount)(mail=a@invalid)(accountActive=TRUE)(delete=FALSE)) fields=mail 11:56:33 localhost dovecot: child 21296 (auth) killed with signal 11 11:56:33 localhost dovecot: pop3-login: Internal login failure: user=<a@invalid>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured
(addresses are edited)
On Mon, 2008-02-25 at 22:01 +0100, Anders wrote:
I did a little too much copy/paste, and ended up with an ldap config file containing a line of the form
user_filter = user_filter = (&objectClass=...
(with "user_filter =" repeated). This caused the auth process to segfault (v1.1.rc1). I suppose that I can reproduce this problem if more information is needed.
Thanks, fixed: http://hg.dovecot.org/dovecot-1.1/rev/f78b83bf16b7
participants (2)
-
Anders
-
Timo Sirainen