[Dovecot] 1.2.14 --- auth(default) Error: LDAP: Connection lost to LDAP server, reconnecting
hi,
I see in dovecots logfile some error messages:
Sep 29 15:33:43 auth(default): Error: LDAP: Connection lost to LDAP server, reconnecting Sep 29 15:34:15 auth(default): Error: LDAP: Connection lost to LDAP server, reconnecting Sep 29 15:34:50 auth(default): Error: LDAP: Connection lost to LDAP server, reconnecting Sep 29 15:35:22 auth(default): Error: LDAP: Connection lost to LDAP server, reconnecting Sep 29 15:36:01 auth(default): Error: LDAP: Connection lost to LDAP server, reconnecting Sep 29 15:36:37 auth(default): Error: LDAP: Connection lost to LDAP server, reconnecting Sep 29 15:37:16 auth(default): Error: LDAP: Connection lost to LDAP server, reconnecting Sep 29 15:37:52 auth(default): Error: LDAP: Connection lost to LDAP server, reconnecting Sep 29 15:38:24 auth(default): Error: LDAP: Connection lost to LDAP server, reconnecting
I don't know, what could be the problem. I upgraded Dovecot from 1.2.13 to 1.2.14 to solving the problem, but ... no success.
Our LDAP Server is 2.4.23 and works for our network without any problems.
If I try to use ldapsearch from the Dovecot host, while I see the messages, ldapsearch works withouch any timeout. I enabled caching for auth too, but the problem still exists.
My DoveCot Config:
the LDAP part:
hosts = ldap ldap2 auth_bind = yes ldap_version = 3 base = cn=accounts, dc=foo user_attrs = postalAddress=domain, homeDirectory=/imap/spool/%d/%1n/%n, myMailQuota=quota_rule=*:storage=%$M user_filter = (&(objectClass=posixAccount)(uid=%n)) pass_attrs = postalAddress=domain, uid=user, userPassword=password pass_filter = (&(objectClass=posixAccount)(uid=%n)) default_pass_scheme = MD5
any suggestions?
cu denny
ps. when does dovecot switches to ldap2?
hi,
I enabled a bit more logging and it seems, that "auth" try to connect without anything:
# grep conn=1103 local4.log
cu denny
On 2010-09-29 10:26 AM, Denny Schierz wrote:
# grep conn=1103 local4.log
Same for this...
--
Best regards,
Charles
hi,
Am Mittwoch, den 29.09.2010, 12:25 -0400 schrieb Charles Marcus:
On 2010-09-29 10:26 AM, Denny Schierz wrote:
# grep conn=1103 local4.log
Same for this...
Sorry, I do this for longer output because 79 chars are to short do display it in a readable way.
but, thanks for reading :-)
cu denny
On 2010-09-29 10:09 AM, Denny Schierz wrote:
My DoveCot Config:
Please don't do this (it makes it harder to help you) - just paste the output in the email body...
--
Best regards,
Charles
On Wed, 2010-09-29 at 16:09 +0200, Denny Schierz wrote:
Sep 29 15:33:43 auth(default): Error: LDAP: Connection lost to LDAP server, reconnecting Sep 29 15:34:15 auth(default): Error: LDAP: Connection lost to LDAP server, reconnecting
You've configured LDAP server to have a really small connection idle timeout?
hosts = ldap ldap2
ps. when does dovecot switches to ldap2?
Dovecot doesn't switch. OpenLDAP library switches. I don't know what its internal log is. My guess is it first always connects to ldap, and if that fails then it connects to ldap2 (and never switches back, until connection is lost).
hi,
Am Mittwoch, den 29.09.2010, 18:45 +0100 schrieb Timo Sirainen:
You've configured LDAP server to have a really small connection idle timeout?
maybe, i found the solution, by my self. I had the same idea, that the timeout from slapd was to short (30 seconds) and I configured slapd now up to 60 seconds. No messages any more :-)
Thanks for your help :-)
cu denny
participants (3)
-
Charles Marcus
-
Denny Schierz
-
Timo Sirainen