[Dovecot] passdb/userdb restart
Hello Timo,
I've noticed that when slapd which I'm using as the passdb and the prefetched userdb is restarted I have to restart dovecot. As a matter of fact, if I don't, I get the following error :
-- Jul 2 16:38:39 xxxx dovecot: imap-login: Internal login failure: user=<xxxx>, method=PLAIN, rip=xxx.xxx.xxx.xxx, lip=xxx.xxx.xxx.xxx, TLS Jul 2 16:38:46 xxxx dovecot: auth(default): prefetch(xxx,xxx.xxx.xxx.xxx): passdb didn't return userdb entries Jul 2 16:38:46 xxxx dovecot: auth(default): userdb(xxx,xxx.xxx.xxx.xxx): user not found from userdb
I'm using dovecot-1.0.1 on FreeBSD 6.2-STABLE with openldap-server-2.3.35_1 (bdb backend).
Would some cache-related parameters allow to fix that or will restarting dovecot be always mandatory after an ldap restart ?
Thanks.
-- Thomas Hummel | Institut Pasteur hummel@pasteur.fr | Pôle informatique - systèmes et réseau
On Mon, 2007-07-02 at 17:01 +0200, Thomas Hummel wrote:
Sorry, looks like it took a while to reply.
I've noticed that when slapd which I'm using as the passdb and the prefetched userdb is restarted I have to restart dovecot. As a matter of fact, if I don't, I get the following error :
-- Jul 2 16:38:39 xxxx dovecot: imap-login: Internal login failure: user=<xxxx>, method=PLAIN, rip=xxx.xxx.xxx.xxx, lip=xxx.xxx.xxx.xxx, TLS Jul 2 16:38:46 xxxx dovecot: auth(default): prefetch(xxx,xxx.xxx.xxx.xxx): passdb didn't return userdb entries Jul 2 16:38:46 xxxx dovecot: auth(default): userdb(xxx,xxx.xxx.xxx.xxx): user not found from userdb
But passdb lookup works anyway? Are you using auth binds or not? Set auth_debug=yes and see what the difference is between logging in before restart and after restart.
I can't reproduce this problem myself.
participants (2)
-
Thomas Hummel
-
Timo Sirainen