#778815 lightdm: Fails load login screen with large ldap users database

Package:
lightdm
Source:
lightdm
Description:
simple display manager
Submitter:
Massimo BARBIERI
Date:
2015-02-23 14:39:04 UTC
Severity:
normal
#778815#5
Date:
2015-02-20 08:31:39 UTC
From:
To:
Dear Maintainer,

I have a Debian 8 client that authenticate users over an open-ldap database. This has been done with libnss-ldapd libpam-ldapd nslcd. The users database is huge and includes thousands of users. The problem is that lightdm seems to try to download the complete lists of the users and it fails to load the login screen.

Here are the logs of 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

#778815#10
Date:
2015-02-20 21:28:10 UTC
From:
To:
Do you use the userlist (greeter-hide-users=false in lightdm.conf)?

That looks like #722317 anyway.

Regards,

#778815#17
Date:
2015-02-23 14:36:17 UTC
From:
To:
Il 20/02/2015 22:28, Yves-Alexis Perez ha scritto:

Hi!
I do not use the users lists, and the option greeter-hide-users is
commented.
Thanks for your answer.
Massimo