[Pkg-xfce-devel] Bug#778812: lightdm: Fails with large ladp user database

Massimo Barbieri massimo at fsfe.org
Fri Feb 20 08:05:44 UTC 2015


Package: lightdm
Version: 1.10.3-3
Severity: normal

Dear Maintainer,
I configured my Debian 8 to autenticate users over an openldap database server. The validation of the
credential has been done with libnss-ldapd libpam-ldapd ldap-utils nslcd. The ldap database contains 
many thousands of users. The problem is that lightdm hangs before loading the login screen with 99% of
CPU load and it seemes it try to download the complete list of the users.

Here are the log on the ldap server:

Feb 20 08:24:01 ldap5 slapd[6403]: conn=446978 fd=19 ACCEPT from
IP=192.168.1.1:60782 (IP=0.0.0.0:389)
Feb 20 08:24:01 ldap5 slapd[6403]: conn=446978 op=0 EXT
oid=1.3.6.1.4.1.1466.20037
Feb 20 08:24:01 ldap5 slapd[6403]: conn=446978 op=0 STARTTLS
Feb 20 08:24:01 ldap5 slapd[6403]: conn=446978 op=0 RESULT oid= err=0 text=
Feb 20 08:24:02 ldap5 slapd[6403]: conn=446978 fd=19 TLS established
tls_ssf=128 ssf=128
Feb 20 08:24:02 ldap5 slapd[6403]: conn=446978 op=1 BIND dn="" method=128
Feb 20 08:24:02 ldap5 slapd[6403]: conn=446978 op=1 RESULT tag=97 err=0
text=
Feb 20 08:24:02 ldap5 slapd[6403]: conn=446978 op=2 SRCH
base="dc=domain,dc=it" scope=2 deref=0 filter="(objectClass=posixAccount)"
Feb 20 08:24:02 ldap5 slapd[6403]: conn=446978 op=2 SRCH attr=uidNumber
cn gecos uid objectClass homeDirectory gidNumber loginShell

Many thanks for your work!
Massimo


-- System Information:
Debian Release: 8.0
  APT prefers testing-updates
  APT policy: (500, 'testing-updates'), (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-4-amd64 (SMP w/1 CPU core)
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages lightdm depends on:
ii  adduser                                3.113+nmu3
ii  dbus                                   1.8.12-3
ii  debconf [debconf-2.0]                  1.5.55
ii  libc6                                  2.19-13
ii  libgcrypt20                            1.6.2-4+b1
ii  libglib2.0-0                           2.42.1-1
ii  libpam-systemd                         215-11
ii  libpam0g                               1.1.8-3.1
ii  libxcb1                                1.10-3+b1
ii  libxdmcp6                              1:1.1.1-1+b1
ii  lightdm-gtk-greeter [lightdm-greeter]  1.8.5-2

Versions of packages lightdm recommends:
ii  xserver-xorg  1:7.7+7

Versions of packages lightdm suggests:
pn  accountsservice  <none>
ii  upower           0.99.1-3.1

-- debconf information:
* shared/default-x-display-manager: lightdm
  lightdm/daemon_name: /usr/sbin/lightdm



More information about the Pkg-xfce-devel mailing list