Re: PAM authentication failing from SASL/smtpd

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> 'Allo,
>
> I'm having some troubles doing smtp authentication using PAM through cyrus-sasl.
>
> Trying 127.0.0.1...
> Connected to host.domain.
> Escape character is '^]'.
> 220 host.domain ESMTP Postfix
> EHLO host
> 250-host.domain
> 250-PIPELINING
> 250-SIZE 10240000
> 250-ETRN
> 250-AUTH PLAIN
> 250 8BITMIME
> AUTH PLAIN <base64 string>
> 535 Error: authentication failed
>
>
> Here's the relevant information in from the syslog:
>
> Mar  8 10:39:37 josephs1 PAM_unix[31999]: authentication failure; (uid=502) -> josephs for smtp service
> Mar  8 10:39:37 josephs1 PAM-warn[31999]: service: smtp [on terminal: <unknown>]
> Mar  8 10:39:37 josephs1 PAM-warn[31999]: user: (uid=502) -> josephs [remote: ?nobody@?nowhere]
>
> I'm encoding the username/password as indicated by the cyrus-sasl README:
> printf 'username\0username\0password' | mmencode
> , nor does authentication work with various mail clients.
>
> Is it easy to get some additional debugging information from PAM, such as what it's receiving, or is there another
> problem?


Hmmm.. I had the same knightmare from within Sendmail. I forgot to create
the SASL services file. (/usr/lib/sasl/Sendmail)

>
> I'm running the most recent stable postfix (20010228), cyrus-sasl (1.5.24), and PAM (0.72-37).
>
> Thanks!
>
> joseph sheedy
> josephs@oeone.com
> www.oeone.com


	Igmar





[Index of Archives]     [Fedora Users]     [Kernel]     [Red Hat Install]     [Linux for the blind]     [Gimp]

  Powered by Linux