|
|
2fc102 |
From 14bafb02c396396e04412a4981b98ae75534294a Mon Sep 17 00:00:00 2001
|
|
|
2fc102 |
From: Jakub Hrozek <jhrozek@redhat.com>
|
|
|
2fc102 |
Date: Tue, 14 Jan 2014 10:55:39 +0100
|
|
|
2fc102 |
Subject: [PATCH 49/53] UTIL: Inherit parent domain's default_shell
|
|
|
2fc102 |
|
|
|
2fc102 |
Some override parameters were not inherited when creating subdomains.
|
|
|
2fc102 |
Especially with AD trusts, this gave strange results.
|
|
|
2fc102 |
---
|
|
|
2fc102 |
src/util/domain_info_utils.c | 5 ++++-
|
|
|
2fc102 |
1 file changed, 4 insertions(+), 1 deletion(-)
|
|
|
2fc102 |
|
|
|
2fc102 |
diff --git a/src/util/domain_info_utils.c b/src/util/domain_info_utils.c
|
|
|
2fc102 |
index 61efc0b40dcd8969b635781549feab3eee79299e..98678f97b95d271a0d2e18daadae7f3f9a79f89e 100644
|
|
|
2fc102 |
--- a/src/util/domain_info_utils.c
|
|
|
2fc102 |
+++ b/src/util/domain_info_utils.c
|
|
|
2fc102 |
@@ -271,10 +271,13 @@ struct sss_domain_info *new_subdomain(TALLOC_CTX *mem_ctx,
|
|
|
2fc102 |
dom->group_timeout = parent->group_timeout;
|
|
|
2fc102 |
dom->netgroup_timeout = parent->netgroup_timeout;
|
|
|
2fc102 |
dom->service_timeout = parent->service_timeout;
|
|
|
2fc102 |
- dom->override_homedir = parent->override_homedir;
|
|
|
2fc102 |
dom->names = parent->names;
|
|
|
2fc102 |
|
|
|
2fc102 |
+ dom->override_homedir = parent->override_homedir;
|
|
|
2fc102 |
+ dom->fallback_homedir = parent->fallback_homedir;
|
|
|
2fc102 |
dom->subdomain_homedir = parent->subdomain_homedir;
|
|
|
2fc102 |
+ dom->override_shell = parent->override_shell;
|
|
|
2fc102 |
+ dom->default_shell = parent->default_shell;
|
|
|
2fc102 |
|
|
|
2fc102 |
if (parent->sysdb == NULL) {
|
|
|
2fc102 |
DEBUG(SSSDBG_OP_FAILURE, ("Missing sysdb context in parent domain.\n"));
|
|
|
2fc102 |
--
|
|
|
2fc102 |
1.8.4.2
|
|
|
2fc102 |
|