Hey folks, I run a high school computer lab with Ubuntu 16.04 and I'm trying to upgrade it to 20.04. Unfortunately my organization uses usernames that are 7 digit numbers, which is causing me problems.
We are using OpenLDAP for authentication, and on the client computers I am installed LDAP/NSS/PAM with the instructions provided by debian. I have tried both `libnss-ldap`, and `libnss-ldapd`
They both work...as long as a user's username does not start with a number (or in libnss-ldap case, usernames also can't have a period in them either). Unfortunately, all of the usernames in my organization are seven digit numbers!
Here is the error when trying to log in with username `9999999`:
Where as here are the same logs when trying to log in with the username `test`...gdm-password][5010]: pam_unix(gdm-password:session): session opened for user 9999999 by (uid=0)
...gdm-password][5010]: pam_systemd(gdm-password:session): Failed to get user record: Invalid argument
I am guessing that the problem is associated with this systemd bug report and it looks like the issue may have been fix there?...gdm-password][5242]: pam_unix(gdm-password:session): session opened for user test by (uid=0)
Can anyone advise me how to upgrade my systemd to use the version that includes the fix, if that is the problem?
Note that this only prevents me from logging in the the desktop environment, users can still log in from a TTY or via SSH no problem. So I'm not sure how this relates to GDM, but it wasn't a problem that occurs with LightDM on 16.04
Update: If I switch to LightDM, it all works, all my users can log in to the desktop environment. So the problem appears to be with GDM.
Bookmarks