Sasl2 modules problem,not working with postfix
Jorge Bastos
jorge at decimal.pt
Sat Aug 25 19:38:17 UTC 2007
Hi guys,
I've updated to last package on debian sid, but my auth mechnisam stoped
working.
I have in postfix now this:
Aug 25 20:27:40 lira postfix/smtpd[30890]: SASL authentication debug:
could not find auxprop plugin, was searching for 'sql'
Aug 25 20:27:40 lira last message repeated 3 times
Aug 25 20:27:40 lira postfix/smtpd[30890]: warning: unknown[1.1.1.1]: SASL
LOGIN authentication failed: authentication failure
Aug 25 20:27:40 lira postfix/smtpd[30890]: > unknown[1.1.1.1]: 535 5.7.0
Error: authentication failed: authentication failure
I have in /etc/postfix/sasl/smtpd.conf:
pwcheck_method: auxprop
auxprop_plugin: sql
mech_list: plain login cram-md5 digest-md5
sql_engine: mysql
sql_hostnames: 127.0.0.1
sql_user: user
sql_passwd: pwd
sql_database: postfix
sql_select: select password from smtp_auth_users where username='%u' and
status='true'
but after i changed smtpd.conf to:
pwcheck_method: auxprop
auxprop_plugin: sasldb
mech_list: plain login cram-md5 digest-md5
and tested with testsaslauthd:
lira:/etc/postfix/sasl# testsaslauthd -u 123 -p lll
0: OK "Success."
but postfix gives me:
Aug 25 20:34:35 lira postfix/smtpd[31307]: < unknown[84.91.34.156]: AUTH
LOGIN
Aug 25 20:34:35 lira postfix/smtpd[31307]: xsasl_cyrus_server_first:
sasl_method LOGIN
Aug 25 20:34:35 lira postfix/smtpd[31307]:
xsasl_cyrus_server_auth_response: uncoded server challenge: Username:
Aug 25 20:34:35 lira postfix/smtpd[31307]: > unknown[84.91.34.156]: 334
VXNlcm5hbWU6
Aug 25 20:34:35 lira postfix/smtpd[31307]: < unknown[84.91.34.156]: MTIz
Aug 25 20:34:35 lira postfix/smtpd[31307]: xsasl_cyrus_server_next:
decoded response: 123
Aug 25 20:34:35 lira postfix/smtpd[31307]:
xsasl_cyrus_server_auth_response: uncoded server challenge: Password:
Aug 25 20:34:35 lira postfix/smtpd[31307]: > unknown[84.91.34.156]: 334
UGFzc3dvcmQ6
Aug 25 20:34:35 lira postfix/smtpd[31307]: < unknown[84.91.34.156]: bGxs
Aug 25 20:34:35 lira postfix/smtpd[31307]: xsasl_cyrus_server_next:
decoded response: lll
Aug 25 20:34:35 lira postfix/smtpd[31307]: warning: unknown[84.91.34.156]:
SASL LOGIN authentication failed: authentication failure
Aug 25 20:34:35 lira postfix/smtpd[31307]: > unknown[84.91.34.156]: 535
5.7.0 Error: authentication failed: authentication failure
Between each change, i restarted saslauthd and postfix.
I this just stoped working when i updated postfix from 2.4.5-1 to 2.4.5-3,
and to the latest sasl on sid also.
Can you help me, or there's any bug in one of the sides?
Thanks Guys,
Jorge
More information about the Pkg-cyrus-sasl2-debian-devel
mailing list