← Back to team overview

aims team mailing list archive

[Bug 1283957] [NEW] Lightdm changes case of username unless only certain users allowed

 

You have been subscribed to a public bug by Jan Groenewald (jan-aims):

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@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@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.

** Affects: lightdm (Ubuntu)
     Importance: Undecided
         Status: New

-- 
Lightdm changes case of username unless only certain users allowed
https://bugs.launchpad.net/bugs/1283957
You received this bug notification because you are a member of AIMS, which is subscribed to the bug report.