[Dovecot] dovecot-ldap and ldap_result() failed.
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.
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@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.
On 5/1/2007 funkypunky drunky (funkypunkydrunky@gmail.com) wrote:
I am using postfix with dovecot 1.31
I assume you mean 1.0rc31?
Of course, it is recommended to now be using the release version, 1.0.0
Not sure if that will fix this particular problem though, but it makes it easier for those who use LDAP to help...
--
Best regards,
Charles
Yes, there were some LDAP-related fixes in RC32 (http://www.dovecot.org/list/dovecot-news/2007-April/000042.html) I think it would worth a shoot.
Láďa
-----Original Message----- From: dovecot-bounces@dovecot.org [mailto:dovecot-bounces@dovecot.org] On Behalf Of Charles Marcus Sent: Tuesday, May 01, 2007 12:07 PM To: dovecot@dovecot.org Subject: Re: [Dovecot] dovecot-ldap and ldap_result() failed.
On 5/1/2007 funkypunky drunky (funkypunkydrunky@gmail.com) wrote:
I am using postfix with dovecot 1.31
I assume you mean 1.0rc31?
Of course, it is recommended to now be using the release version, 1.0.0
Not sure if that will fix this particular problem though, but it makes it easier for those who use LDAP to help...
--
Best regards,
Charles
Thanks for your comments. i will upgrade dovecot to 1.0.0 .It may solve the problem. If it is solved, i will inform you. Thanx everybody.
2007/5/1, Láďa durchanek@gmail.com:
Yes, there were some LDAP-related fixes in RC32 (http://www.dovecot.org/list/dovecot-news/2007-April/000042.html) I think it would worth a shoot.
Láďa
-----Original Message----- From: dovecot-bounces@dovecot.org [mailto:dovecot-bounces@dovecot.org] On Behalf Of Charles Marcus Sent: Tuesday, May 01, 2007 12:07 PM To: dovecot@dovecot.org Subject: Re: [Dovecot] dovecot-ldap and ldap_result() failed.
On 5/1/2007 funkypunky drunky (funkypunkydrunky@gmail.com) wrote:
I am using postfix with dovecot 1.31
I assume you mean 1.0rc31?
Of course, it is recommended to now be using the release version, 1.0.0
Not sure if that will fix this particular problem though, but it makes it easier for those who use LDAP to help...
--
Best regards,
Charles
Hi,
Sorry, I forgot to mention I am on 1.0.0 on a Solaris 10 box connecting to a OpenLDAP server on localhost. :)
Just cannot figure out why it is printing these messages though everything seems to be working fine; users are connecting to download e-mails. And when I logged slapd connections, slapd does pick up those connections on localhost.
Cheers.
On Tue, 1 May 2007, funkypunky drunky wrote:
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@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.
participants (4)
-
Charles Marcus
-
funkypunky drunky
-
Láďa
-
Tan Shao Yi