[Dovecot] default_ldap_settings' value

Kazuo Moriwaka moriwaka at valinux.co.jp
Thu Jan 13 06:03:36 EET 2005


Hello, 

When I tested LDAP auth dovecot-auth caught segv, and I found that
auth_cache_parse_key() doesn't check query == NULL.

I think db-ldap.c/default_ldap_settings.pass_filter 
should have non-null default value.

Please check following patch.

regards,
-- 
Kazuo Moriwaka <moriwaka at valinux.co.jp>

Index: db-ldap.c
===================================================================
RCS file: /home/cvs/dovecot/src/auth/db-ldap.c,v
retrieving revision 1.24
diff -r1.24 db-ldap.c
62c62
< 	MEMBER(pass_filter) NULL,
---
> 	MEMBER(pass_filter) "(&(objectClass=posixAccount)(uid=%u))",



More information about the dovecot mailing list