Comment 19 for bug 944041

Revision history for this message
perpetualrabbit (perpetualrabbit) wrote : Re: [Bug 944041] Re: lightdm not compatible with ldap based user accounts

On Tue, Jun 19, 2012 at 2:48 PM, Vincent Fortier
<email address hidden> wrote:
> Is there any way to make lightdm show the LDAP user list instead of local ones, perhaps even with a search (if you have too many)
> AND
> have a manual login box?
>
> I was hoping I could provide that sort of functionality with lightdm.
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/944041
>
> Title:
>  lightdm not compatible with ldap based user accounts
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/lightdm/+bug/944041/+subscriptions
In principle all that was needed is a `getent passwd´, and do some
filtering. But the lightdm makers did nothing of the sort, it looks
like.
Could it be that they simply read the /etc/passwd file? Getent will
give you all the users, local and network.

Users photos would be tricky: most places where you use ldap, you
would use nfs too, and that is mounted
with root_squash, and lightdm has to run as root, so you can't read
the photos out of the users homedirs.
I'm pretty sure that is where the login photo (or picture) is kept.