7 Nov
2006
7 Nov
'06
2:51 p.m.
On Tue, 2006-11-07 at 12:38 +0000, Chris Wakelin wrote:
#0 0x1ec94 in db_ldap_init ( config_path=0x5bc08 "/opt/RDGdovect/etc/dovecot-ldap.conf") at db-ldap.c:661 661 if (*conn->set.user_global_gid == '\0')
OK, so this crashes if compiled with non-C99 compiler. Fixed:
http://dovecot.org/list/dovecot-cvs/2006-November/006733.html
If I don't define "deref" then I get an error in the dovecot log (but no crash) :-
dovecot: Nov 07 12:36:45 Error: auth(default): LDAP: Unknown deref option 'subtree'
That's because this check is done before the GID check, and it dies immediately if the check fails.