Public bug reported:

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

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


** Tags: amd64 apport-bug groovy

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to lightdm in Ubuntu.
https://bugs.launchpad.net/bugs/1913698

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

Status in lightdm package in Ubuntu:
  New

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lightdm/+bug/1913698/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to