On Mon, Feb 01, 2016 at 10:46:14AM +0100, Magnus Therning wrote:
I've just come across SSSD and have managed to set it up for use against
our LDAP server. Yay!
We have LDAP set up for user and group management, and all users' homes
live on an NFS share. This is fine for me most of the time, except for
on the machine where I do development; I really don't like to run the
compiler against files on NFS!
I see three options
1. Use a local user, with a local $HOME, for development.
2. Create a local dir on the dev machine and use it for all development.
3. Give the LDAP user a local $HOME on the dev machine.
I looked into 3 a bit and found `override_homedir`. It works fine, but
then *all* users on the dev machine get a local $HOME. Is it possible to
override $HOME for a specific user only?
/M
PS I'd also be most interested in hearing if there are any other
solutions to this problem.
Yes, in recent versions, you can use the sss_override tool:
https://jhrozek.fedorapeople.org/sssd/1.13.3/man/sss_override.8.html
With a colleague of mine we are working on a blog post so that more
users know about that tool. We started here:
http://piratepad.net/FssgCbKcHm
but the content is not ready yet, hopefully in a couple of days it will
be.