From: Patrick Ben Koetter (p at state-of-mind dot de)
Date: Sun Aug 01 2004 - 05:12:51 EDT
* Eric N. Valor <> [040801 05:36]:
>
> Sorry to ask this again, but I'm ever-so-close now...
>
> I have recompiled SASL-2.1.19. "testsaslauthd" works fine. However,
> when trying to use SASL to authenticate an incoming STMP session against
> my LDAP server, I find (using strace) this:
>
> read(10, "AUTH PLAIN <password redacted>\r"..., 4096) = 33
> open("/etc/sasldb", O_RDONLY) = -1 ENOENT (No such file or
> directory)
> time([1091330254]) = 1091330254
> getpid() = 20179
>
> I compiled SASL to NOT use sasldb, specifically to use LDAP. I then
> recompiled postfix against the newly-compiled SASL.
>
> /etc/postfix/sasl/smtpd.conf is thus:
/etc/postfix/sasl != /etc/postfix/sasl2
>
> pwcheck_method: saslauthd
> saslauthd_uri: ldap://XXX.XXX.XXX.XXX
> saslauthd_mech: ldap
> saslauthd_path: /var/state/saslauthd/mux
> mech_list: PLAIN LOGIN
>
> Is it possible that the "make upgrade" didn't fully overwrite the
> previous installation (which, compiled against an older non-working SASL
> compile, probably did want to check /etc/sasldb)? Am I missing
> something else here?
>
> Thanks again for all the advice. This has been a real learning (if
> intensely frustrating) experience...
>
> --
>
> Eric N. Valor
>
> PGP Key 2048/1024 227B04CB
> Key Fingerprint = 766C CA15 0FFF E54B 2FEE C7D7 0F87 3AFB 227B 04CB
>
> : This Space Intentionally Left Blank :
-- I take the freedom to ignore offlist messages. Open Source software requires open access to information that tells all of us how to run it. Don't deprive the community of that! SMTP AUTH HOWTO: <http://postfix.state-of-mind.de/patrick.koetter/>
|
|
|