[Postfixbuch-users] Authentifizierung gegen Systembenutzer (shadow)

Sandy Drobic postfixbuch-users at japantest.homelinux.com
Mo Nov 13 14:19:52 CET 2006


Mario Lipinski wrote:
> Am Sonntag, den 12.11.2006, 23:30 +0100 schrieb Patrick Ben Koetter:
>> Du wirst wohl saslauthd debuggen müssen. Gibt es Fehlermeldungen?
> 
> Hier mal ein debug log einer session mit der ich den Fehler reproduziert habe:
> 
> Nov 13 10:29:47 fritz postfix/smtpd[8121]: connect from localhost[127.0.0.1]
> Nov 13 10:29:47 fritz postfix/smtpd[8121]: match_hostname: localhost ~? 127.0.0.0/8
> Nov 13 10:29:47 fritz postfix/smtpd[8121]: match_hostaddr: 127.0.0.1 ~? 127.0.0.0/8
> Nov 13 10:29:47 fritz postfix/smtpd[8121]: > localhost[127.0.0.1]: 220 XXX ESMTP Postfix (Debian/GNU)
> Nov 13 10:29:47 fritz postfix/smtpd[8121]: watchdog_pat: 0x60bc70
> Nov 13 10:29:51 fritz postfix/smtpd[8121]: < localhost[127.0.0.1]: ehlo l4w.info
> Nov 13 10:29:51 fritz postfix/smtpd[8121]: > localhost[127.0.0.1]: 250-XXX
> Nov 13 10:29:51 fritz postfix/smtpd[8121]: > localhost[127.0.0.1]: 250-PIPELINING
> Nov 13 10:29:51 fritz postfix/smtpd[8121]: > localhost[127.0.0.1]: 250-SIZE 52428800
> Nov 13 10:29:51 fritz postfix/smtpd[8121]: > localhost[127.0.0.1]: 250-VRFY
> Nov 13 10:29:51 fritz postfix/smtpd[8121]: > localhost[127.0.0.1]: 250-ETRN
> Nov 13 10:29:51 fritz postfix/smtpd[8121]: > localhost[127.0.0.1]: 250-STARTTLS
> Nov 13 10:29:51 fritz postfix/smtpd[8121]: > localhost[127.0.0.1]: 250-AUTH LOGIN PLAIN
> Nov 13 10:29:51 fritz postfix/smtpd[8121]: match_list_match: localhost: no match
> Nov 13 10:29:51 fritz postfix/smtpd[8121]: match_list_match: 127.0.0.1: no match
> Nov 13 10:29:51 fritz postfix/smtpd[8121]: > localhost[127.0.0.1]: 250-AUTH=LOGIN PLAIN
> Nov 13 10:29:51 fritz postfix/smtpd[8121]: > localhost[127.0.0.1]: 250-ENHANCEDSTATUSCODES
> Nov 13 10:29:51 fritz postfix/smtpd[8121]: > localhost[127.0.0.1]: 250-8BITMIME
> Nov 13 10:29:51 fritz postfix/smtpd[8121]: > localhost[127.0.0.1]: 250 DSN
> Nov 13 10:29:51 fritz postfix/smtpd[8121]: watchdog_pat: 0x60bc70
> Nov 13 10:29:56 fritz postfix/smtpd[8121]: < localhost[127.0.0.1]: auth login
> Nov 13 10:29:56 fritz postfix/smtpd[8121]: xsasl_cyrus_server_first: sasl_method login
> Nov 13 10:29:56 fritz postfix/smtpd[8121]: xsasl_cyrus_server_auth_response: uncoded server challenge: Username:
> Nov 13 10:29:56 fritz postfix/smtpd[8121]: > localhost[127.0.0.1]: 334 VXNlcm5hbWU6
> Nov 13 10:30:00 fritz postfix/smtpd[8121]: < localhost[127.0.0.1]: bWFpbEBmb29iYXJiYXouZm9v
> Nov 13 10:30:00 fritz postfix/smtpd[8121]: xsasl_cyrus_server_next: decoded response: mail at foobarbaz.foo

Ist saslauthd mit dem Parameter -r gestartet? Sonst erwartet er nur den 
Usernamen ohne domain (domain = realm).

> Nov 13 10:30:00 fritz postfix/smtpd[8121]: xsasl_cyrus_server_auth_response: uncoded server challenge: Password:
> Nov 13 10:30:00 fritz postfix/smtpd[8121]: > localhost[127.0.0.1]: 334 UGFzc3dvcmQ6
> Nov 13 10:30:10 fritz postfix/smtpd[8121]: < localhost[127.0.0.1]: Zm9v
> Nov 13 10:30:10 fritz postfix/smtpd[8121]: xsasl_cyrus_server_next: decoded response: foo
> Nov 13 10:30:10 fritz postfix/smtpd[8121]: warning: SASL authentication failure: size read failed
> Nov 13 10:30:10 fritz postfix/smtpd[8121]: warning: localhost[127.0.0.1]: SASL login authentication failed: generic failure
> Nov 13 10:30:10 fritz postfix/smtpd[8121]: > localhost[127.0.0.1]: 535 5.7.0 Error: authentication failed: generic failure
> Nov 13 10:30:10 fritz postfix/smtpd[8121]: watchdog_pat: 0x60bc70
> Nov 13 10:30:14 fritz postfix/smtpd[8121]: < localhost[127.0.0.1]: quit
> Nov 13 10:30:14 fritz postfix/smtpd[8121]: > localhost[127.0.0.1]: 221 2.0.0 Bye
> Nov 13 10:30:14 fritz postfix/smtpd[8121]: match_hostname: localhost ~? 127.0.0.0/8
> Nov 13 10:30:14 fritz postfix/smtpd[8121]: match_hostaddr: 127.0.0.1 ~? 127.0.0.0/8
> Nov 13 10:30:14 fritz postfix/smtpd[8121]: disconnect from localhost[127.0.0.1]

Aber ich sehe hier keinen Segfault, nur eine nicht erfolgreiche 
Authentifizierung.

Sandy
-- 
Antworten bitte nur in die Mailingliste!
PMs bitte an: news-reply2 (@) japantest (.) homelinux (.) com




Mehr Informationen über die Mailingliste Postfixbuch-users