Bug 578124 - Get "unknow error" box when change password
Summary: Get "unknow error" box when change password
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: usermode
Version: 13
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Miloslav Trmač
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-03-30 10:06 UTC by Liam Li
Modified: 2018-04-11 12:41 UTC (History)
4 users (show)

Fixed In Version: usermode-1.105-1.fc14
Clone Of:
: 578624 (view as bug list)
Environment:
Last Closed: 2010-04-08 17:31:27 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
local_SSSD (1.18 MB, image/png)
2010-03-30 10:06 UTC, Liam Li
no flags Details
passwd (146 bytes, application/octet-stream)
2010-03-31 02:22 UTC, Liam Li
no flags Details
system-auth (937 bytes, application/octet-stream)
2010-03-31 02:24 UTC, Liam Li
no flags Details
nsswitch.conf (1.66 KB, application/octet-stream)
2010-03-31 02:27 UTC, Liam Li
no flags Details
userpasswd_log (979.23 KB, application/octet-stream)
2010-03-31 02:40 UTC, Liam Li
no flags Details
userpasswdlog2 (152 bytes, application/octet-stream)
2010-03-31 02:41 UTC, Liam Li
no flags Details
userhelperlog1 (838.81 KB, application/octet-stream)
2010-03-31 02:48 UTC, Liam Li
no flags Details
userhelperlog2 (92.28 KB, application/octet-stream)
2010-03-31 02:48 UTC, Liam Li
no flags Details
userhelperlog3 (88.84 KB, application/octet-stream)
2010-03-31 02:49 UTC, Liam Li
no flags Details
userhelperlog4 (1.06 KB, application/octet-stream)
2010-03-31 02:49 UTC, Liam Li
no flags Details

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.


Note You need to log in before you can comment on or make changes to this bug.