[Bug 861009] New: pam_sss: Entering empty password yields "Authentication system failed"
https://bugzilla.novell.com/show_bug.cgi?id=861009 https://bugzilla.novell.com/show_bug.cgi?id=861009#c0 Summary: pam_sss: Entering empty password yields "Authentication system failed" Classification: openSUSE Product: openSUSE 13.1 Version: Final Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: joschibrauchle@gmx.de QAContact: qa-bugs@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/29.0.1547.65 Safari/537.36 On the same lines as bnc #779246 and from https://git.fedorahosted.org/cgit/sssd.git/commit/?id=383fa7e69136ce27031d7d... we see that pam_sss returns "PAM_CRED_UNAVAIL" if an empty password is given (KRB5_LIBOS_CANTREADPWD). For the user, this results in a "authentication system failed" message, rather than something telling him about an invalid password. My suggestion is to change the return code from "PAM_CRED_UNAVAIL" to "PAM_CRED_ERR", which is the simplest fix. Reproducible: Always Steps to Reproduce: 1. Enable SSSD with Kerberos 2. Enter empty password Actual Results: Authentication System failed Expected Results: Invalid Password -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=861009 https://bugzilla.novell.com/show_bug.cgi?id=861009#c Joschi Brauchle <joschibrauchle@gmx.de> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team-screening@forge.pr |jengelh@inai.de |ovo.novell.com | -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=861009 https://bugzilla.novell.com/show_bug.cgi?id=861009#c1 --- Comment #1 from Joschi Brauchle <joschibrauchle@gmx.de> 2014-01-29 09:14:27 UTC --- This is the line to be fixed: https://git.fedorahosted.org/cgit/sssd.git/tree/src/providers/krb5/krb5_chil... -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=861009 https://bugzilla.novell.com/show_bug.cgi?id=861009#c2 Jan Engelhardt <jengelh@inai.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |UPSTREAM --- Comment #2 from Jan Engelhardt <jengelh@inai.de> 2014-02-04 16:24:11 CET --- Hypothesis: Suppose the user indeed has a password of length zero, then Invalid Password would not be accurate either because it's the KRB system that would reject zero-length passwords, rather than the entered password being wrong. Feel free to propose such a change to upstream. I unfortunately do not run KRB myself to form a standpoint. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com