Re: [exim] ldaps: different behaviour daemon vs -bt

Top Page
Delete this message
Reply to this message
Author: Tony Finch
Date:  
To: Heiko Schlittermann
CC: exim-users
Subject: Re: [exim] ldaps: different behaviour daemon vs -bt
On Wed, 27 Jul 2005, Heiko Schlittermann wrote:
>
>     ldap_default_servers = ldapmaster::636

>
> If I use exim in address test mode `exim -bt heiko@???' it
> works and proper LDAP queries are sent and processed.
>
> If exim runs as daemon and has to handle the same address it returns
> a `temporary problem'. According to the log: ldap_bind() returned -1.
>
> After a while I found a good hint here: http://www.billy.demon.nl/Eximldap.html,
> so I changed
>     ldap_default_servers = ldapmaster.domain.example::636


This is probably to do with your operating system's name service. Check
/etc/nsswitch.conf, /etc/hosts, your DNS, etc.

Tony.
--
<fanf@???> <dot@???> http://dotat.at/ ${sg{\N${sg{\
N\}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}\
\N}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}