diff options
author | Jakub Hrozek <jhrozek@redhat.com> | 2014-01-14 10:55:39 +0100 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2014-01-15 17:15:44 +0100 |
commit | c373732505c9a73a9a8b17533dafc618c95ea331 (patch) | |
tree | 300e5a490b5101d822d7450afcf4dcc46c3e2f37 /src | |
parent | 1c585a6d25e5a0f4d1627b1bf6c4e5bc7c81835e (diff) | |
download | sssd-c373732505c9a73a9a8b17533dafc618c95ea331.tar.gz sssd-c373732505c9a73a9a8b17533dafc618c95ea331.tar.xz sssd-c373732505c9a73a9a8b17533dafc618c95ea331.zip |
UTIL: Inherit parent domain's default_shell
Some override parameters were not inherited when creating subdomains.
Especially with AD trusts, this gave strange results.
Diffstat (limited to 'src')
-rw-r--r-- | src/util/domain_info_utils.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/util/domain_info_utils.c b/src/util/domain_info_utils.c index 5e7b2f2b6..50b5f06f5 100644 --- a/src/util/domain_info_utils.c +++ b/src/util/domain_info_utils.c @@ -275,10 +275,13 @@ struct sss_domain_info *new_subdomain(TALLOC_CTX *mem_ctx, dom->group_timeout = parent->group_timeout; dom->netgroup_timeout = parent->netgroup_timeout; dom->service_timeout = parent->service_timeout; - dom->override_homedir = parent->override_homedir; dom->names = parent->names; + dom->override_homedir = parent->override_homedir; + dom->fallback_homedir = parent->fallback_homedir; dom->subdomain_homedir = parent->subdomain_homedir; + dom->override_shell = parent->override_shell; + dom->default_shell = parent->default_shell; if (parent->sysdb == NULL) { DEBUG(SSSDBG_OP_FAILURE, ("Missing sysdb context in parent domain.\n")); |