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

[suse-security] SuSE 9.0: postfix sasl authentikation fails



Hello List,
has anybody got postfix working with cyrus-sasl under suse 9.0?
I only got replies like "authenticaton failed"

my /usr/lib/sasl2/smtp.conf is:

pwcheck_method: auxprop
mech_list: plain login
auxprop_plugin: sasldb2

(the path to /usr/lib/sasl2 was added by ldconfig )

A user for sasldb was added:
Mail-server:/usr/lib/sasl2 # saslpasswd2 -c user
Password: user
Again (for verification): user
Mail-server:/usr/lib/sasl2 #

And to  /etc/postfix/main.cf I added:

smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
broken_sasl_auth_clients = yes
smtpd_recipients_restrictions = permit_sasl_authenticated

OK,
rcsaslauthd start, rcpostfix restart and test with telnet or a 
mailclient. I am told SASL with PLAIN or LOGIN should work.

But if I try to send a message, I get the following in /var/log/mail:

Jan  9 13:39:38 Mail-server postfix/smtpd[4540]: < 
Mail-sender[192.168.0.150]: AUTH LOGIN
Jan  9 13:39:38 Mail-server postfix/smtpd[4540]: 
smtpd_sasl_authenticate: sasl_method LOGIN
Jan  9 13:39:38 Mail-server postfix/smtpd[4540]: 
smtpd_sasl_authenticate: uncoded challenge: Username:
Jan  9 13:39:38 Mail-server postfix/smtpd[4540]: > 
Mail-sender[192.168.0.150]: 334 VXNlcm5hbWU6
Jan  9 13:39:38 Mail-server postfix/smtpd[4540]: < 
Mail-sender[192.168.0.150]: dXNlcg==
Jan  9 13:39:38 Mail-server postfix/smtpd[4540]: 
smtpd_sasl_authenticate: decoded response: user
Jan  9 13:39:38 Mail-server postfix/smtpd[4540]: 
smtpd_sasl_authenticate: uncoded challenge: Password:
Jan  9 13:39:38 Mail-server postfix/smtpd[4540]: > 
Mail-sender[192.168.0.150]: 334 UGFzc3dvcmQ6
Jan  9 13:39:38 Mail-server postfix/smtpd[4540]: < 
Mail-sender[192.168.0.150]: dXNlcg==
Jan  9 13:39:38 Mail-server postfix/smtpd[4540]: 
smtpd_sasl_authenticate: decoded response: user
Jan  9 13:39:38 Mail-server postfix/smtpd[4540]: warning: 
Mail-sender[192.168.0.150]: SASL LOGIN authentication failed
Jan  9 13:39:38 Mail-server postfix/smtpd[4540]: > 
Mail-sender[192.168.0.150]: 535 Error: authentication failed
Communication works, Username and Password are decrypted correctly, but 
it seems like access to database is not possible.
Why is authentication failing?

Thanks for every hint!
-- 
Mit freundlichen Grüßen
Markus Feilner
--
Linux Solutions, Training, Seminare und Workshops - auch Inhouse
Feilner IT Linux & GIS Erlangerstr. 2 93059 Regensburg
fon: +49 941 70 65 23  - mobil: +49 170 302 709 2 
web: http://feilner-it.net mail: mfeilner@xxxxxxxxxxxxxx


--
Check the headers for your unsubscription address
For additional commands, e-mail: suse-security-help@xxxxxxxx
Security-related bug reports go to security@xxxxxxx, not here