I know you'r pretty sure it's not ldap, but I'm still thinking ldap 
permissions.  By default the lookups from localhost will be granted access 
while you have to specifically enable lookups from other hosts.  Basically 
the server needs permisions to do lookups and authenticate.  Something like 
this in slapd.conf should work.

access to *
        by * read
        by anonymous auth

Hopefully my hunch is right and it fixes the problem.  Let us know.

-ray.

On Tuesday 19 November 2002 04:04 am, Sebastien Guilbaud wrote:
> I've a small cluster of two machines with qmail-ldap-20021101 + jason
> patch (qmail-ldap-1.03-20021001-control-20021014b-authsmtp-by-Jason).
>
> Everything was working fine, I tried authenticated smtp, it works
> fine on the first member of the cluster, but not on the second. It's
> quite strange since the second it almost a copy of the first. Both
> machines use the same ldap server, and everything else (deliveries, qmqp,
> imap session forwarding) works ok.
>
> Log excerpt from the first machine :
>
> qmail-smtpd 6230: connection from 80.74.64.33 ( unknown ) to
> qc01.pulsation.fr qmail-smtpd 6230: remote ehlo = smellycat.oceanet.fr
> qmail-smtpd 6230: max msg size = 0
> qmail-smtpd 6230: inf: SMTP AUTH: user  [EMAIL PROTECTED]  logged in
> successfull qmail-smtpd 6230: remote sent 'mail from' = FROM:
> <[EMAIL PROTECTED]> qmail-smtpd 6230: mail from = [EMAIL PROTECTED]
> qmail-smtpd 6230: remote sent 'rcpt to' = TO: <[EMAIL PROTECTED]>
> qmail-smtpd 6230: rcpt to = [EMAIL PROTECTED]
> qmail-smtpd 6230: smtp data
> qmail-smtpd 6230: go ahead
> qmail-smtpd 6230: data bytes received = 406
> qmail-smtpd 6230: message queued = 1037699530 qp 6232
> qmail-smtpd 6230: quit, closing connection
>
> Log excerpt from the first machine :
>
> qmail-smtpd 24082: connection from 80.74.64.33 ( unknown ) to
> qc02.pulsation.fr qmail-smtpd 24082: remote ehlo = smellycat.oceanet.fr
> qmail-smtpd 24082: max msg size = 0
> warning: auth_error: authorization failed (connection refused)
> qmail-smtpd 24082: inf: SMTP AUTH: failed login for  [EMAIL PROTECTED]
> qmail-smtpd 24082: quit, closing connection
>
> The "autorization failed (connection refused)" is not caused by the
> ldap server, I can see the request and its answer (slapd log + tcpdump
> capture)
>
> any ideas ??
>
> have a nice day !

-- 
In less than a century, computers will be making substantial progress on
... the overriding problem of war and peace.
                -- James Slagle

Reply via email to