[Dovecot] dovecot-ldap and ldap_result() failed.

funkypunky drunky funkypunkydrunky at gmail.com
Tue May 1 09:43:22 EEST 2007


Hi guys,
I see this notifications in my logs too. But everything is working fine.
Yesterday in my logs
May  1 00:56:57 email4 dovecot: auth(default): LDAP: ldap_result() failed:
Can't contact LDAP server
May  1 01:57:05 email4 dovecot: auth(default): LDAP: ldap_result() failed:
Can't contact LDAP server
May  1 02:57:14 email4 dovecot: auth(default): LDAP: ldap_result() failed:
Can't contact LDAP server
May  1 04:01:22 email4 dovecot: auth(default): LDAP: ldap_result() failed:
Can't contact LDAP server
May  1 05:01:30 email4 dovecot: auth(default): LDAP: ldap_result() failed:
Can't contact LDAP server
May  1 06:01:38 email4 dovecot: auth(default): LDAP: ldap_result() failed:
Can't contact LDAP server
May  1 07:01:47 email4 dovecot: auth(default): LDAP: ldap_result() failed:
Can't contact LDAP server
May  1 08:01:55 email4 dovecot: auth(default): LDAP: ldap_result() failed:
Can't contact LDAP server
I have seen these lines. I hope everything is ok.
I am using postfix with dovecot 1.31. I am using dovecot lda and quota
plugins.
IS there any command about it?
Thanx and best regards


2007/4/30, Tan Shao Yi <tansy at pacific.net.sg>:
>
> Hi,
>
> I have configured dovecot for auth_bind against an LDAP server on the
> localhost and I'm seeing the following error in my dovecot logs:
>
> dovecot: Apr 30 09:03:18 Error: auth(default): LDAP: ldap_result() failed:
> Can't contact LDAP server
> dovecot: Apr 30 09:03:27 Error: auth(default): LDAP: ldap_result() failed:
> Can't contact LDAP server
> ... and so on ...
>
> When I turned on LDAP logging, this was what slapd logged.
>
> Apr 30 09:05:00 recess3 slapd[14387]: [ID 848112 local4.debug] conn=3555
> fd=11 ACCEPT from IP=127.0.0.1:47299 (IP=0.0.0.0:389)
> Apr 30 09:05:00 recess3 slapd[14387]: [ID 215403 local4.debug] conn=3555
> op=0 BIND dn="cn=root,o=home" method=128
> Apr 30 09:05:00 recess3 slapd[14387]: [ID 600343 local4.debug] conn=3555
> op=0 BIND dn="cn=root,o=home" mech=SIMPLE ssf=0
> Apr 30 09:05:00 recess3 slapd[14387]: [ID 588225 local4.debug] conn=3555
> op=0 RESULT tag=97 err=0 text=
>
> May I know what is causing Dovecot to log that it Can't contact the LDAP
> server when slapd does see the incoming connection.
>
> Strangely, everything is working fine, my users are able to authenticate
> against LDAP; the UIDs, home directories, quotas etc are all picked up
> correctly. It's just the annoying auth(default) errors that keep popping
> up every 20 seconds or so.
>
> Thanking in advance if anyone has any ideas.
>
> Cheers.
>


More information about the dovecot mailing list