[Dovecot] rc12 dovecot-auth core dump with ldap

Timo Sirainen tss at iki.fi
Tue Nov 7 12:51:33 UTC 2006

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:


> 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.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20061107/8bbf08d0/attachment.pgp 

More information about the dovecot mailing list