Created attachment 403455 [details] local_SSSD Description of problem: Get "unknow error" box when change password Version-Release number of selected component (if applicable): authconfig-6.1.2-1.fc13.i686 How reproducible: always Steps to Reproduce: 1.https://fedoraproject.org/wiki/QA:Testcase_SSSD_Local_Identity_and_local_Authentication 2. After input the old unix password,input new password with low level,will get the "unknow error" box pops up. Expected results: The error messages should be more specific and clear, such as "It's based on a dictionary word" etc.. the pic,please see attachment
This is still handled by userpasswd in F13.
Thanks for your report. I'm afraid I was not able to reproduce the problem so far. * What is your locale? Run (locale) as the relevant user. * Please attach your /etc/pam.d/passwd, /etc/pam.d/system-auth, and /etc/nsswitch.conf * Please open the "About me" dialog, then: * click on "change password" * Switch to a text console (e.g. Ctrl+Alt+F2) * Log in as root * Using (ps), find two processes named "userpasswd" and "userhelper". Start strace of each, e.g. (strace -ff -o log -s 512 -p your_pid_of_userpasswd &) and likewise for the "userhelper" process * Then attach all generated log.* files
(In reply to comment #2) > Thanks for your report. I'm afraid I was not able to reproduce the problem so > far. you can input password "1qaz@WSX" for a test when change password, this will reproduce the issue.
Created attachment 403634 [details] passwd
Created attachment 403635 [details] system-auth
Created attachment 403637 [details] nsswitch.conf
Created attachment 403639 [details] userpasswd_log
Created attachment 403640 [details] userpasswdlog2
Created attachment 403642 [details] userhelperlog1
Created attachment 403643 [details] userhelperlog2
Created attachment 403644 [details] userhelperlog3
Created attachment 403645 [details] userhelperlog4
Thanks, I can see the problem now. I'll make the final error message more clear (probably after F13).
BTW, once you enter a weak password, each of the following dialogs does contain a "BAD PASSWORD: ..." message.
Fixed in upstream changeset 1c9a4947e157 .
... and in rawhide usermode-1.105-1.fc14.