[Dovecot] -test68, -stable and ldap

Thomas Hummel hummel at pasteur.fr
Mon Apr 25 20:13:17 EEST 2005


Hello Timo,

Thanks to your patches, LDAP authentication now works with -test68.

However, I'm still experiencing a segmentation fault with today's
snapshot of -stable, as shown in the following gdb backtrace.  [I'm
still running FreeBSD 5.3]

Can you see where it comes from ? Is it because the ldap new code (as
in -test68) hasn't been backported into -stable yet ?

Thank you,

-- 
Thomas Hummel 	    | Institut Pasteur
<hummel at pasteur.fr> | Pôle informatique - systèmes et réseau

--
(gdb) n
186             userdb_preinit();
(gdb) n
187             passdb_preinit();
(gdb) n

Program received signal SIGSEGV, Segmentation fault.
auth_cache_parse_key (query=0x0) at auth-cache.c:39
39              for (; *query != '\0'; query++) {
(gdb) bt full
#0  auth_cache_parse_key (query=0x0) at auth-cache.c:39
        str = (string_t *) 0x806a100
        key_seen = '\0' <repeats 255 times>
        key = 0 '\0'
#1  0x08055456 in passdb_ldap_preinit (args=0x8075100 "/usr/local/dovecot/etc/dovecot-ldap.conf") at passdb-ldap.c:237
        conn = (struct ldap_connection *) 0x8078010
#2  0x08054b8d in passdb_preinit () at passdb.c:152
        p = (struct passdb_module **) 0x8068914
        name = 0x806b078 "ldap"
        args = 0x806891c "ÒP\006\b\bT\005\bdT\005\bxT\005\bøR\005\b\204S\005\bíQ\006\b"
#3  0x0805108b in main (argc=1, argv=0x806a100) at main.c:187
No locals.
(gdb) 
--





More information about the dovecot mailing list