Problem testsaslauthd

Paco Martinez Rodriguez pmartinez at heraldo.es
Mon May 22 04:22:56 EDT 2006


Messages in logs are

May 19 12:51:30 host pam_winbind[25434]: Verify user `USER'
May 19 12:51:30 host pam_winbind[25434]: user 'USER' granted access
May 19 12:51:30 host pam_winbind[25434]: user `USER' not found
May 19 12:51:30 host saslauthd[25434]: DEBUG: auth_pam: pam_acct_mgmt
failed: Permission denied
May 19 12:51:30 host saslauthd[25434]: do_auth         : auth failure:
[user=USER] [service=smtp] [realm=] [mech=pam] [reason=PAM acct error]

Is man/doc winbindd indicates "account required
/lib/security/pam_winbind.so" which is griten in /etc/pam.d/smtp

Thnks

> My Server has installed postfix+sasl+winbindd+samba with SuSE 10.0
>
> I have problems executing "testsaslauthd -u USER -p PASS -s smtp".
> Output is  0: NO "authentication failed"
>
> In sasl log files appears
>
> DEBUG: auth_pam: pam_acct_mgmt failed: Permission denied
> May 18 12:57:06 saslauthd[31381]: do_auth         : auth failure:
> [user=USER] [service=smtp] [realm=] [mech=pam] [reason=PAM acct error]
>
> However in winbind log appears:
> Verify  user `USER`
> User 'USER' granted access
>
> Wbinfo -u, wbinfo -g, wbinfo -t executes ok
>
> File /etc/pam.d/smtp is
>
> auth      sufficient     /lib/security/pam_winbind.so debug
> account   sufficient     /lib/security/pam_winbind.so debug

"PAM acct error" means the auth-Stage is ok. So the Password is verified
and 
ok.

Maybe the account-Stage is not implemented in your pam_winbind? What
says the 
doc/manpage?

Did you look in other Logs in /var/log/... maybe auth.* ?



-- 
	Andreas


More information about the Cyrus-sasl mailing list