Displaying 2 results from an estimated 2 matches for "default_ldap_set".
2005 Jan 13
1
default_ldap_settings' value
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 revis...
2003 Mar 01
0
patch for src/auth/db-ldap.c
...3
--- src/auth/db-ldap.c Sat Mar 1 00:20:31 2003
***************
*** 35,42 ****
DEF(SET_STR, pass_attrs),
DEF(SET_STR, pass_filter),
DEF(SET_STR, default_pass_scheme),
! DEF(SET_STR, user_global_uid),
! DEF(SET_STR, user_global_gid)
};
struct ldap_settings default_ldap_settings = {
--- 35,42 ----
DEF(SET_STR, pass_attrs),
DEF(SET_STR, pass_filter),
DEF(SET_STR, default_pass_scheme),
! DEF(SET_INT, user_global_uid),
! DEF(SET_INT, user_global_gid)
};
struct ldap_settings default_ldap_settings = {
--
Alex Howansky
Wankwood Ass...