Enabled LDAP, cannot login if user not in /etc/passwd

Bug #1913698 reported by Harald Hannelius
6
This bug affects 1 person
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
ProcVersionSignature: Ubuntu 5.8.0-40.45-generic 5.8.18
Uname: Linux 5.8.0-40-generic x86_64
ApportVersion: 2.20.11-0ubuntu50.3
Architecture: amd64
CasperMD5CheckResult: skip
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-image-5.8.0-41-generic
 linux-base
SourcePackage: lightdm
UpgradeStatus: Upgraded to groovy on 2021-01-09 (19 days ago)
mtime.conffile..etc.pam.d.lightdm: 2021-01-27T18:42:58.039516
mtime.conffile..etc.pam.d.lightdm-greeter: 2021-01-27T18:37:32.863856

Revision history for this message
Harald Hannelius (harald-arcada) wrote :
Norbert (nrbrtx)
tags: removed: groovy
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.