[Bug 1283957] Re: Lightdm changes case of username unless only certain users allowed
Robert Ancell
robert.ancell at canonical.com
Tue Apr 5 02:34:48 UTC 2016
** Package changed: lightdm (Ubuntu) => pam (Ubuntu)
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to pam in Ubuntu.
https://bugs.launchpad.net/bugs/1283957
Title:
Lightdm changes case of username unless only certain users allowed
Status in pam package in Ubuntu:
New
Bug description:
Ubuntu 12.04
On a desktop where are our users are allowed to log in:
Feb 24 08:04:24 southafrica lightdm: pam_ldap(lightdm:auth): username changed from Gerhard to gerhard
and the user can successfully log in even though the username was typed with an upper case.
On a desktop where we have a restricted list of users, the list is FIRST checked, before the case is changed, so the user cannot log in (admittedly when typing the username "incorrectly"), even though they are in the list of allowed users.
Feb 24 08:04:18 southafrica lightdm: pam_listfile(lightdm:auth): Refused user Gerhard for service lightdm
Feb 24 08:04:24 southafrica lightdm: pam_unix(lightdm:auth): check pass; user unknown
Feb 24 08:04:24 southafrica lightdm: pam_unix(lightdm:auth): authentication failure; logname= uid=0 euid=0 tty=:0 ruser= rhost=
Feb 24 08:04:24 southafrica lightdm: pam_winbind(lightdm:auth): getting password (0x00000388)
Feb 24 08:04:24 southafrica lightdm: pam_winbind(lightdm:auth): pam_get_item returned a password
Feb 24 08:04:24 southafrica lightdm: pam_ldap(lightdm:auth): username changed from Gerhard to gerhard
0 root at southafrica:/etc/pam.d#grep allow lightdm
auth required pam_listfile.so onerr=fail item=user sense=allow file=/etc/login.user.allowed
0 root at southafrica:/etc/pam.d#grep -i gerhard /etc/login.user.allowed
gerhard
A local override is to add gerhard AND Gerhard to /etc/login.user.allowed, but perhaps the upstream intention is to fix this typo for users.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pam/+bug/1283957/+subscriptions
More information about the foundations-bugs
mailing list