This line basicly states that any folder under server:/home/ will be mounted when accessed. Lightdm looks up home directories for a fancy user icon and by doing it mounting the users home directory - all of them. I want to disable this. There are settings like minimum-uid in /etc/lightdm/users.conf and others which could prevent this. But apparently they are read after the fact that all directories are already looked up.
Here is a two year old issue with the same problem https://github.com/canonical/lightdm/issues/254. They are using AccounsService to prevent this and that is actually working! However, I don't think this is a good solution because I don't understand the purpose of this service [edit:] and it's a potential security risk.
I want to automount my network based home directories on login. I'm using autofs rolled out by FreeIPA.
This line basicly states that any folder under
server:/home/
will be mounted when accessed. Lightdm looks up home directories for a fancy user icon and by doing it mounting the users home directory - all of them. I want to disable this. There are settings likeminimum-uid
in/etc/lightdm/users.conf
and others which could prevent this. But apparently they are read after the fact that all directories are already looked up.Here is a two year old issue with the same problem https://github.com/canonical/lightdm/issues/254. They are using AccounsService to prevent this and that is actually working! However, I don't think this is a good solution because I don't understand the purpose of this service [edit:] and it's a potential security risk.