[Dovecot] sporadic problem using ldap authentication
Hi, recently some users started complaining about sporadic authentication failures. When examining the logs I saw the following:
Mar 7 03:20:24 gollum dovecot: auth(default): file auth-request.c: line 472 (auth_request_lookup_credentials_callback): assertion failed: (request->state == AUTH_REQUEST_STATE_PASSDB) Mar 7 03:20:24 gollum dovecot: auth(default): Raw backtrace: dovecot-auth [0x41d7fc] -> dovecot-auth [0x41da6c] -> dovecot-auth [0x40ddf3] -> dovecot-auth [0x416475] -> dovecot-auth [0x416825] -> dovecot-auth [0x41176d] -> dovecot-auth(io_loop_handler_run+0x13c) [0x420cec] -> dovecot-auth(io_loop_run+0x1c) [0x42005c] -> dovecot-auth(main+0x41e) [0x412ade] -> /lib64/tls/libc.so.6(__libc_start_main+0xea) [0x2a959fbaaa] -> dovecot-auth(ldap_msgfree+0x42) [0x4098da] Mar 7 03:20:24 gollum dovecot: child 10883 (auth) killed with signal 6 Mar 7 03:20:24 gollum dovecot: pop3-login: Can't connect to auth server at default: Resource temporarily unavailable Mar 7 03:20:24 gollum dovecot: auth(default): file auth-request.c: line 472 (auth_request_lookup_credentials_callback): assertion failed: (request->state == AUTH_REQUEST_STATE_PASSDB) Mar 7 03:20:24 gollum dovecot: auth(default): Raw backtrace: dovecot-auth [0x41d7fc] -> dovecot-auth [0x41da6c] -> dovecot-auth [0x40ddf3] -> dovecot-auth [0x416475] -> dovecot-auth [0x416825] -> dovecot-auth [0x41176d] -> dovecot-auth(io_loop_handler_run+0x13c) [0x420cec] -> dovecot-auth(io_loop_run+0x1c) [0x42005c] -> dovecot-auth(main+0x41e) [0x412ade] -> /lib64/tls/libc.so.6(__libc_start_main+0xea) [0x2a959fbaaa] -> dovecot-auth(ldap_msgfree+0x42) [0x4098da] Mar 7 03:20:24 gollum dovecot: child 10945 (auth) killed with signal 6
This output is from dovecot-1.0rc26 but this was first seen in 1.0rc7 and 1.0rc24 has similar results. I have seen no problem with the ldap server.
I'm using similar setups in several other servers with no trouble at all. The main difference I see is that this machine is 64-bit and on a 2.6 linux kernel versus x86 on a 2.4.
Thanks for any help you can provide.
Nuno Lopes
On 7.3.2007, at 5.37, Nuno Lopes wrote:
Mar 7 03:20:24 gollum dovecot: auth(default): file auth-request.c:
line 472 (auth_request_lookup_credentials_callback): assertion failed: (request->state == AUTH_REQUEST_STATE_PASSDB)
Could you get gdb backtrace from this crash (http://dovecot.org/
bugreport.html)? It should write core file to Dovecot's base_dir (/
usr/local/var/run/dovecot/ by default) as long as you started with
high enough ulimit -c.
participants (2)
-
Nuno Lopes
-
Timo Sirainen