On Mon, Aug 29, 2016 at 04:38:07PM -0000, Matthew Hanley wrote: > In sssd.conf I had set the following: > > ldap_user_home_directory = homeDirectory > > and this works - but the returned value is in the format of > "\\$hostname\$path" - is it possible to use just the path portion of the > response?
I'm afraid not. > > Taking it a step further, how do I get SSSD to automatically mount the AD > homeDirectory? SSSD does not mount the directory, automounter does. SSSD provides data, either all or a subset that automounter then uses to mount the directory. In your case, I assume SSSD provides the automounter maps and keys which the automounter deamon reads but also info about the user, like their name and homedir. If your users had the homedir set to a location that could already be used by automounter (so getent passwd $user returned $path only), you could have used the $HOME substitution autofs offers. But since you need to do some post-processing on the values, maybe the autofs executable maps could be used? See man 5 autofs, maybe you could feed the executable map the full attribute value and chop off the hostname? That's just a suggestion, though, I've never actually used executable maps.. _______________________________________________ sssd-users mailing list [email protected] https://lists.fedorahosted.org/admin/lists/[email protected]
