[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: ldapdb and postfix

On Thu, 24 Jun 2004, Paul Jacobson wrote:

> I should clarify that I have postfix setup using ldap to retrieve
> virtual mappings, accepted domains etc and maildrop 1.5.3 using ldap
> to retrieve maildir path. This all works correctly under openldap
> 2.2.13, although as an aside maildrop 1.6.3 refused to talk to slapd.
> I'm attempting to implement ldapdb as a means of implementing
> SASLavoiding having to run saslauthd - one less daemon is a good
> thing.
> I've used
> <http://www.billy.demon.nl/Postfix-SASL-authentication.html> as a
> guide to implementing this part of the setup and have configured the
> SASL proxy user to respond correctly to ldapsearch and ldapwhoami
> queries. When I configure postfix stmpd to use ldapdb I get SASL auth
> failure messages in maillog and no indication of any kind of query in
> the slapd log.

There should be some messages in authlog.

> I'm trying to work out if this is an inherent problem with 2.2.x and
> I should shift to 2.1.30 or whether I have simply bungled the setup.
> It is possible that running on OpenBSD 3.5 introduces some additional
> problems!

ldapdb works well with both 2.1.30 and 2.2.x.

As already suggested, run openldap in debug mode and see what is
going on.  You can also share you ldapdb config file.  What version of
ldapdb plugin are you using?

> At 9:06 PM -0500 23/6/04, Luis Daniel Lucio Quiroz wrote:
> >Postfix uses ldapv2 and OPenldap 2.1.x uses Ldapv3,   you have to use an
> >option on slapd.conf to acctivate ldapv2 protocol.  I dont remember exactly
> >what to put but look for how to enable ldapv2.