[Dovecot] sporadic problem using ldap authentication

Nuno Lopes nuno.lopes at portugalmail.pt
Wed Mar 7 05:37:20 EET 2007


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


More information about the dovecot mailing list