Re: [exim] LDAP for SMTP auth not working

Top Page
Delete this message
Reply to this message
Author: Paul Muster
Date:  
To: exim-users
Subject: Re: [exim] LDAP for SMTP auth not working
On 06.03.2013 19:04, Paul Muster wrote:

> *When delivering to Exim with SMTP auth* I get this in Exim's logs:
>
> 2013-03-02 20:52:49 plain_server authenticator failed for <client>:
> 435 Unable to authenticate at present (set_id=paul): failed to bind the
> LDAP connection to server ldap:389 - ldap_bind() returned -1 inside
> "and{...}" condition
>
> *The LDAP server does not see any incoming connection from mailserver.*


Now... After replacing server name "ldap" by it's IP address 192.168.1.8
it works!!

But why? DNS is ok:

# su Debian-exim
\h:\w$ nslookup ldap
Server:         192.168.1.1
Address:        192.168.1.1#53


Name: ldap.domain.tld
Address: 192.168.1.8

\h:\w$ host ldap
ldap.domain.tld has address 192.168.1.8
\h:\w$


Thanks & greetings,

Paul