Enabled LDAP, cannot login if user not in /etc/passwd
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
lightdm (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
I installed nslcd, libnss-ldapd, migration-tools, slapd, ldapscripts. Using the migration-scripts I copied the users to LDAP. getent shadow (as root) shows encrypted passwords and everything works as it should. Lightdm however, doesn't. I'm unable to logon using Xephyr (XDMCP) or locally.
As a workaround I can copy the line for the user back into /etc/passwd and then login works. I don't need a line in /etc/shadow, this info comes from LDAP.
Is lightdm using some funky stuff to deduce if a user is viable for login that isn't transferred to LDAP?
ProblemType: Bug
DistroRelease: Ubuntu 20.10
Package: lightdm 1.30.0-0ubuntu3.1
ProcVersionSign
Uname: Linux 5.8.0-40-generic x86_64
ApportVersion: 2.20.11-0ubuntu50.3
Architecture: amd64
CasperMD5CheckR
CurrentDesktop: MATE
Date: Fri Jan 29 10:52:44 2021
InstallationDate: Installed on 2010-11-05 (3737 days ago)
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101007)
RebootRequiredPkgs:
linux-
linux-base
SourcePackage: lightdm
UpgradeStatus: Upgraded to groovy on 2021-01-09 (19 days ago)
mtime.conffile.
mtime.conffile.