Bug 578124

Summary: Get "unknow error" box when change password
Product: [Fedora] Fedora Reporter: Liam Li <lili>
Component: usermodeAssignee: Miloslav Trmač <mitr>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 13CC: mcepl, mcepl, mitr, tmraz
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: usermode-1.105-1.fc14 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 578624 (view as bug list) Environment:
Last Closed: 2010-04-08 17:31:27 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
local_SSSD
none
passwd
none
system-auth
none
nsswitch.conf
none
userpasswd_log
none
userpasswdlog2
none
userhelperlog1
none
userhelperlog2
none
userhelperlog3
none
userhelperlog4 none

Description Liam Li 2010-03-30 10:06:31 UTC
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

Comment 1 Tomas Mraz 2010-03-30 10:32:02 UTC
This is still handled by userpasswd in F13.

Comment 2 Miloslav Trmač 2010-03-30 19:34:37 UTC
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

Comment 3 Liam Li 2010-03-31 02:20:22 UTC
(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.

Comment 4 Liam Li 2010-03-31 02:22:16 UTC
Created attachment 403634 [details]
passwd

Comment 5 Liam Li 2010-03-31 02:24:56 UTC
Created attachment 403635 [details]
system-auth

Comment 6 Liam Li 2010-03-31 02:27:25 UTC
Created attachment 403637 [details]
nsswitch.conf

Comment 7 Liam Li 2010-03-31 02:40:26 UTC
Created attachment 403639 [details]
userpasswd_log

Comment 8 Liam Li 2010-03-31 02:41:15 UTC
Created attachment 403640 [details]
userpasswdlog2

Comment 9 Liam Li 2010-03-31 02:48:15 UTC
Created attachment 403642 [details]
userhelperlog1

Comment 10 Liam Li 2010-03-31 02:48:43 UTC
Created attachment 403643 [details]
userhelperlog2

Comment 11 Liam Li 2010-03-31 02:49:13 UTC
Created attachment 403644 [details]
userhelperlog3

Comment 12 Liam Li 2010-03-31 02:49:34 UTC
Created attachment 403645 [details]
userhelperlog4

Comment 13 Miloslav Trmač 2010-03-31 20:17:41 UTC
Thanks, I can see the problem now.

I'll make the final error message more clear (probably after F13).

Comment 14 Miloslav Trmač 2010-03-31 20:22:05 UTC
BTW, once you enter a weak password, each of the following dialogs does contain a "BAD PASSWORD: ..." message.

Comment 15 Miloslav Trmač 2010-03-31 20:36:25 UTC
Fixed in upstream changeset 1c9a4947e157 .

Comment 16 Miloslav Trmač 2010-04-08 17:31:27 UTC
... and in rawhide usermode-1.105-1.fc14.