Re: saslauthd: pam_authenticate error.

From: Andreas Winkelmann (ml at awinkelmann dot de)
Date: Sun Jun 20 2004 - 11:33:40 EDT

  • Next message: Sam: "Re: saslauthd: pam_authenticate error."

    Am Sonntag, 20. Juni 2004 16:00 schrieb Sam:

    > I just upgraded Openexchange wiith latest patches then I can't use
    > Mozilla mail client to logon the mail server (Imap) any more.
    > The error is about the user (the mozilla mail client) is using an
    > unknown authtentication module.
    > Here is the error:
    > Jun 20 19:04:50 slox imapd[23152]: open: user samwun opened INBOX
    > Jun 20 19:05:23 slox imapd[23131]: accepted connection
    > Jun 20 19:05:27 slox saslauthd[729]: DEBUG: auth_pam: pam_authenticate
    > failed: User not known to the underlying authentication module
    > Jun 20 19:05:27 slox saslauthd[729]: AUTHFAIL: user=samwun at xyz dot com
    > service=imap realm= [PAM auth error]
    > Jun 20 19:05:27 slox imapd[23131]: Password verification failed
    > Jun 20 19:05:27 slox imapd[23131]: badlogin: slox.xyz.com[192.168.4.3]
    > plain [SASL(-13): authentication failure: Password verification failed]
    > Jun 20 19:05:30 slox saslauthd[730]: DEBUG: auth_pam: pam_authenticate
    > failed: User not known to the underlying authentication module
    > Jun 20 19:05:30 slox saslauthd[730]: AUTHFAIL: user=samwun at xyz dot com
    > service=imap realm= [PAM auth error]
    > Jun 20 19:05:30 slox imapd[23131]: badlogin: slox.xyz.com[192.168.4.3]
    > plaintext samwun at xyz dot com SASL(-13): authentication failure: checkpass
    > failed
    >
    > The /etc/pam.d/smtp file contains:

    Fine, but you show Logs of an Imap-Server. I don't think it shows interest for
    a smtp-configuration. Make a copy and rename this to "imap".

    > #%PAM-1.0
    > auth sufficient pam_ldap.so
    > #auth required pam_unix.so
    > auth sufficient pam_unix.so
    > account sufficient pam_ldap.so
    > account required pam_unix.so
    >
    > password required pam_ldap.so use_authtok
    > session required pam_ldap.so
    >
    > and Ihave just rename the /usr/lib/sasl2 to sasl2.bk
    > and make a symbolic link so that sasl2 is pointing to /usr/lib/sasl
    > which is the more updated sasl library.

    Where for heavens sake did you see such a Pointer?

    > There is a smtp.conf file in the sasl/ directory, its content :
    > lib/sasl# cat smtpd.conf
    > pwcheck_method: pam

    Please find out which sasl-version is used by your Applications. Maybe with
    ldd. Then change the Configuration fitting to your sasl-version. This example
    is valid for sasl1, for sasl2 you have to use saslauthd and start this with
    "-a pam" as it should already be, like it is shown in your Log above.

    -- 
    	Andreas
    

  • Next message: Sam: "Re: saslauthd: pam_authenticate error."





    Hosted Email Solutions

    Invaluement Anti-Spam DNSBLs



    Powered By FreeBSD   Powered By FreeBSD