[Pkg-xfce-devel] Bug#722317: Bug#722317: lightdm is not usable with ldap, tries to lookup the whole tree after typing in the username
On Tue, Sep 10, 2013 at 10:21 AM, Yves-Alexis Perez <corsac at debian.org>wrote:
> On mar., 2013-09-10 at 09:47 +0200, Alex Mestiashvili wrote:
> > Tried lightdm with lightdm-gtk-greeter and lightdm-kde-greeter,
> > the probem is very similar:
> > on the system I have configured ldap with 500+ users
> > after typing in the field the username, gtk-greeter freezes and in the
> > console I can see messages like that:
> > 2013 Sep 10 09:16:54 myhostname key "userX" not found in map
> > source(s)
> So you type 'user' for the login, and the message is about 'userX'?
Not exactly, when I type a username, it starts to search all possible names
existing in ldap.
that's why it takes so long.
If it would try to lookup only one name it would be totally ok I think.
> > after a while I can type in the password and login to the system
> Ok, so there's something like a timeout, but no failure?
Yes, after 3-5 minutes it "unfreezes" and I can type the password.
> > the same happens with kde-greeter - it takes some minutes to start the
> > Xscreen and than I have a line of usernames in alphabetical order
> > going to nowhere bihind the screen ( obviously 500+ users don't fit )
> Actually that looks like a bug in KDE greeter. Default setting in
> lightdm.conf is to hide the user lists.
Agree should have submitted against lightdm-kde-greeter.
> > After installing accountsservice package gtk-greeter works, but in
> > kde-greeter I get only one user and can't select others.
> > I think there is no need to generate user list when ldap or other
> > directory system is setup.
> I disagree, people might have like 5-10 users in ldap, even less, and
> might still want to enable user list.
True, that can be, but usually if there is a directory server than it has
in most cases the overhead of setting up a directory server just for a few
users is too high.
-------------- next part --------------
An HTML attachment was scrubbed...