[Bug 281802] New: KCheckpass doesn't work correctly with samba accounts
cn001 at gmx.de
cn001 at gmx.de
Sun Sep 11 14:27:37 BST 2011
https://bugs.kde.org/show_bug.cgi?id=281802
Summary: KCheckpass doesn't work correctly with samba accounts
Product: kde
Version: 4.6
Platform: openSUSE RPMs
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: general
AssignedTo: unassigned-bugs at kde.org
ReportedBy: cn001 at gmx.de
Version: 4.6
OS: Linux
I can log into a session with a samba user account using kdm, but when I lock
the screen, I can't unlock it anymore.
I tried to execute kcheckpass in a terminal and monitor the syslog files.
When I enter an incorrect password, kcheckpass will tell me
Error: Wrong Password
Authentication failure
The log tells me that the password is wrong, too:
Sep 11 15:15:12 pccn01 kcheckpass[8059]: pam_winbind(xdm:auth): request
wbcLogonUser failed: WBC_ERR_AUTH_ERROR, PAM error: PAM_AUTH_ERR (7), NTSTATUS:
NT_STATUS_WRONG_PASSWORD, Error message was: Wrong Password
So far this works as expected, but now here comes the problem:
When I try to enter the correct password, kcheckpass tells me "Authentication
failure" and returns a value of 1 which means "incorrect password".
But the log now tells me
Sep 11 15:21:50 pccn01 kcheckpass[8269]: pam_winbind(xdm:auth): user
'NITSCHKOWSKI\christian' granted access
Sep 11 15:21:50 pccn01 kcheckpass[8269]: Authentication failure for
christian at NITSCHKOWSKI (invoked by uid 0)
I can log on using kdm and the plain shell login, just kcheckpass doesn't work.
The permissions on kcheckpass are 4755 root shadow.
Reproducible: Always
Steps to Reproduce:
1. Call kcheckpass -U user at domain
2. Enter correct Password of the provided user.
Actual Results:
The syslog contains a line stating the login was successfull and another line
stating the authentication failed.
The kcheckpass utility returns a value of 1, stating the password was
incorrect.
Expected Results:
The syslog should contain a line stating the login was successfull and the
kcheckpass utility should return the value 0.
--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the Unassigned-bugs
mailing list