OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
From: Alex Pita (newmail_at_softhome.net)
Date: Thu Oct 24 2002 - 10:05:59 CDT

  • Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

    Hi Douglas,

    1. Yes a have pam_mysql.so compilled by me
    2. yes i have pam-0.75-32 compilled by redhat (i use rh-7.3)

    So more the 3 days i loose to setaup smtp-auth! Im exosted....

    Yes, yes, yes......
    But i can't understand is not working

    What dow it mean:

    warning: SASL authentication
    problem: unknown password verifier

    Regards,

    Alex

    Douglas Blood wrote:

    >Sorry one more thing .. do you have pam_mysql.so on your system?
    >----- Original Message -----
    >From: "Alex Pita" <newmailsofthome.net>
    >To: "Douglas Blood" <dbloodmatraex.com>
    >Cc: <postfix-userspostfix.org>
    >Sent: Thursday, October 24, 2002 8:49 AM
    >Subject: Re: Mysql+Cyrus-sasl2 sample for smtp-auth!
    >
    >
    >>Hi Douglas,
    >>
    >>Many thanks for your reply but is not working. I do exact as you suggest
    >>and see below the logs:
    >>
    >>All the time i can read: SASL authentication problem: unknown password
    >>verifier!!!!!!!
    >>
    >>Oct 24 17:37:58 dinu postfix/postfix-script: starting the Postfix mail
    >>system
    >>Oct 24 17:37:58 dinu postfix/master[5275]: daemon started -- version
    >>1.1.11-20021015
    >>Oct 24 17:38:07 dinu postfix/smtpd[5329]: connect from
    >>ns1.test.ro[192.168.0.2]
    >>Oct 24 17:38:07 dinu postfix/smtpd[5329]: warning: SASL authentication
    >>problem: unknown password verifier
    >>Oct 24 17:38:07 dinu postfix/smtpd[5329]: warning: SASL authentication
    >>failure: Password verification failed
    >>Oct 24 17:38:07 dinu postfix/smtpd[5329]: warning:
    >>ns1.test.ro[192.168.0.2]: SASL PLAIN authentication failed
    >>Oct 24 17:38:08 dinu postfix/smtpd[5329]: disconnect from
    >>ns1.test.ro[192.168.0.2]
    >>
    >>
    >>Douglas Blood wrote:
    >>
    >>>I had this problem last week and finally got it solved.
    >>>in your smtpd.conf file have the line: "pwcheck_method: pam"
    >>>then in your /etc/pam.conf or /etc/pam.d/smtp have the following lines
    >>>pam.conf:
    >>>smtp auth optional pam_mysql.so user=testuser
    >>>passwd=password db=mail host=localhost table=users usercolumn=username
    >>>passwdcolumn=password
    >>>smtp account required pam_mysql.so user=testuser
    >>>
    >passwd=password
    >
    >>>db=mail host=localhost table=users usercolumn=username
    >>>
    >passwdcolumn=password
    >
    >>>pam.d/smtp:
    >>>auth optional pam_mysql.so user=testuser passwd=password
    >>>db=mail host=localhost table=users usercolumn=username
    >>>
    >passwdcolumn=password
    >
    >>>account required pam_mysql.so user=testuser passwd=password
    >>>db=mail host=localhost table=users usercolumn=username
    >>>
    >passwdcolumn=password
    >
    >>>The entries in pam are for plain text password fields. You can change
    >>>
    >what
    >
    >>>type of encryption you use with
    >>>crypt(0) -- Used to decide to use MySQL's PASSWORD() function or crypt()
    >>>0 = No encryption. Passwords in database in plaintext. NOT recommended!
    >>>1 = Use crypt
    >>>2 = Use MySQL PASSWORD() function
    >>>
    >>>Hope this helps
    >>>
    >>>----- Original Message -----
    >>>From: "Jussi Silvennoinen" <jussi_postfixsilvennoinen.net>
    >>>To: <postfix-userspostfix.org>
    >>>Sent: Thursday, October 24, 2002 7:11 AM
    >>>Subject: Re: Mysql+Cyrus-sasl2 sample for smtp-auth!
    >>>
    >>>
    >>>>On Thu, 24 Oct 2002, Alex Pita wrote:
    >>>>
    >>>>>Hello Jussi,
    >>>>>
    >>>>>Thanks for your reply.
    >>>>>Acording to cyrus-sasl doc, in my /usr/lib/sasl2/smtpd.conf must be
    >>>>>
    >>>writted
    >>>
    >>>>>pwcheck_method: auxprop
    >>>>>
    >>>>>But auxprop is not supported by default. So is needed some aditiona
    >>>>>patch ( i found one on freshmeat but for 2.1.2 version of cyrus-sasl2,
    >>>>>named mysql_ldapauxprop.patch)
    >>>>>
    >>>>>Can anybody tell me where i can download the new one?
    >>>>>
    >>>>>Regards,
    >>>>>Alex
    >>>>>
    >>>>>
    >>>>>Jussi Silvennoinen wrote:
    >>>>>
    >>>>>>On Thu, 24 Oct 2002, Alex Pita wrote:
    >>>>>>
    >>>>>>>Hello postfix experts,
    >>>>>>>
    >>>>>>>Can anybody gime me a little help to setup smtp-auth using
    >>>>>>>cyrus-sasl2+mysql?
    >>>>>>>I saw in cyrus docs that this job is done using auxprop method
    >>>>>>>(saslauthd -a auxprop) and also small description about how to setup
    >>>>>>>user, pass to connect to mysql database!
    >>>>>>>The problem is that i can't undetstand where must me specified this
    >>>>>>>
    >>>options!
    >>>
    >>>>>>/usr/lib/sasl2/smtpd.conf
    >>>>>>
    >>>>>>Or where ever you installed the auth-mechs.
    >>>>>>
    >>>>You might wanna try searching for 'cyrus sasl download' on google?
    >>>>First link is the right one.
    >>>>v2.1.7 onwards there is native support for mysql.
    >>>>
    >>>>--
    >>>>
    >>>> Jussi
    >>>>
    >>>>-
    >>>>To unsubscribe, send mail to majordomopostfix.org with content
    >>>>(not subject): unsubscribe postfix-users
    >>>>
    >>>-
    >>>To unsubscribe, send mail to majordomopostfix.org with content
    >>>(not subject): unsubscribe postfix-users
    >>>
    >>
    >>
    >>-
    >>To unsubscribe, send mail to majordomopostfix.org with content
    >>(not subject): unsubscribe postfix-users
    >>
    >
    >

    -
    To unsubscribe, send mail to majordomopostfix.org with content
    (not subject): unsubscribe postfix-users