On Mon, Jan 6, 2020 at 6:02 PM Manuel Sopena Ballesteros
<manuel...@garvan.org.au> wrote:

> Our intention is to mount user home directory from out centralized
> storage using autofs but for some reason the mount point goes to
> /home/<domain>/<userlogin> instead of /home/<userlogin>
>
> This is out sssd configuration
>
> [domain/<domain>]
> …
>
> [nss]
> fallback_homedir = /home/%u

You need to move the fallback_homedir setting from the [nss] section
to the domain section.

While it is possible to set fallback_homedir in the [nss] section, it
is more properly a configuration option of the domain’s data provider,
and should therefore be set in the domain sections, not in the [nss]
section.

Also, and more importantly, starting with sssd 2.0.0 (on RHEL8), the
AD provider now implicitly sets "fallback_homedir = /home/%d/%u".
Even though that is an implicit setting, it still (and perhaps
non-intuitively?) overrides even an *explicit* fallback_homedir in the
[nss] section.

The only way to override the implicit default fallback_homedir setting
of the AD provider is to set fallback_homedir in each domain section
that uses the AD provider.
_______________________________________________
sssd-users mailing list -- sssd-users@lists.fedorahosted.org
To unsubscribe send an email to sssd-users-le...@lists.fedorahosted.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedorahosted.org/archives/list/sssd-users@lists.fedorahosted.org

Reply via email to