Re: saslauthd problem with pam

From: Simon Matter (simon dot matter at ch dot sauter-bc dot com)
Date: Wed Nov 12 2003 - 18:27:57 EST

  • Next message: Jeremy Rumpf: "Re: saslauthd problem with pam"

    > Hi all,
    >
    > I have a problem with postfix authenticating with saslauthd -> pam.
    > I have started saslauthd like this,
    >
    > saslauthd -d -m /var/run/saslauthd -a pam

    Is your postfix compiled to use SASL v2? If your postfix has LDAP support,
    then it's very likely that it is built with SASL v1 support. You can not
    use saslauthd with SASL v1 support in postfix.

    HTH
    Simon

    >
    > When I use a mail client or do it via telnet it won't authenticate.
    > I have pam ( /etc/pam.d/smtp ) setup like this for now,
    >
    > auth required pam_unix.so
    >
    > Here is the telnet session, maillog and also output from debug
    > saslauthd,
    >
    > 250-PIPELINING
    > 250-SIZE 10240000
    > 250-VRFY
    > 250-ETRN
    > 250-AUTH PLAIN PLAIN PLAIN
    > 250-AUTH=PLAIN PLAIN PLAIN
    > 250 8BITMIME
    > auth plain AGlhbnIAcG93ZXJwYzUzMDA=
    > 535 Error: authentication failed
    >
    > saslauthd[6196] :rel_accept_lock : released accept lock
    > saslauthd[6197] :get_accept_lock : acquired accept lock
    > saslauthd[6196] :do_auth : auth failure: [user=ianr]
    > [service=smtp] [realm=] [mech=pam]
    >
    > Nov 12 22:25:12 xserve postfix/smtpd[6270]: match_list_match:
    > host213-122-7-190.in-addr.btopenworld.com: no match
    > Nov 12 22:25:12 xserve postfix/smtpd[6270]: match_list_match:
    > 213.122.7.190: no match
    > Nov 12 22:25:12 xserve postfix/smtpd[6270]: >
    > host213-122-7-190.in-addr.btopenworld.com[213.122.7.190]: 250 8BITMIME
    > Nov 12 22:25:12 xserve postfix/smtpd[6270]: watchdog_pat: 0x238828
    > Nov 12 22:25:12 xserve postfix/smtpd[6270]: <
    > host213-122-7-190.in-addr.btopenworld.com[213.122.7.190]: AUTH PLAIN
    > AGlhbnIAcG93ZXJwYzUzMDA=
    > Nov 12 22:25:12 xserve postfix/smtpd[6270]: smtpd_sasl_authenticate:
    > sasl_method PLAIN, init_response AGlhbnIAcG93ZXJwYzUzMDA=
    > Nov 12 22:25:12 xserve postfix/smtpd[6270]: smtpd_sasl_authenticate:
    > decoded initial response
    > Nov 12 22:25:12 xserve postfix/smtpd[6270]: warning: SASL
    > authentication failure: Password verification failed
    > Nov 12 22:25:12 xserve postfix/smtpd[6270]: warning:
    > host213-122-7-190.in-addr.btopenworld.com[213.122.7.190]: SASL PLAIN
    > authentication failed
    > Nov 12 22:25:12 xserve postfix/smtpd[6270]: >
    > host213-122-7-190.in-addr.btopenworld.com[213.122.7.190]: 535 Error:
    > authentication failed
    > Nov 12 22:25:13 xserve postfix/smtpd[6270]: watchdog_pat: 0x238828
    > Nov 12 22:25:13 xserve postfix/smtpd[6270]: smtp_get: EOF
    > Nov 12 22:25:13 xserve postfix/smtpd[6270]: lost connection after AUTH
    > from host213-122-7-190.in-addr.btopenworld.com[213.122.7.190]
    > Nov 12 22:25:13 xserve postfix/smtpd[6270]: disconnect from
    > host213-122-7-190.in-addr.btopenworld.com[213.122.7.190]
    >
    > Hope that someone can help because I've been stuck with smtp_auth for
    > ages now!!!!
    > Thanks,
    > Ian
    >
    >


  • Next message: Jeremy Rumpf: "Re: saslauthd problem with pam"





    Hosted Email Solutions

    Invaluement Anti-Spam DNSBLs



    Powered By FreeBSD   Powered By FreeBSD