|
|
2fc102 |
From e7987aced2a2052d3cbff185f6e53708b552995b Mon Sep 17 00:00:00 2001
|
|
|
2fc102 |
From: Pavel Reichl <preichl@redhat.com>
|
|
|
2fc102 |
Date: Tue, 21 Jan 2014 15:06:37 +0000
|
|
|
2fc102 |
Subject: [PATCH 77/80] Revert "NSS: add support for subdomain_homedir"
|
|
|
2fc102 |
|
|
|
2fc102 |
This reverts commit 1dc7694a1cbc62b0d7e23cc1369579e5ce0071e8.
|
|
|
2fc102 |
|
|
|
2fc102 |
Reviewed-by: Jakub Hrozek <jhrozek@redhat.com>
|
|
|
2fc102 |
---
|
|
|
2fc102 |
src/responder/nss/nsssrv_cmd.c | 8 --------
|
|
|
2fc102 |
1 file changed, 8 deletions(-)
|
|
|
2fc102 |
|
|
|
2fc102 |
diff --git a/src/responder/nss/nsssrv_cmd.c b/src/responder/nss/nsssrv_cmd.c
|
|
|
2fc102 |
index 9ac3680de4d6ff12fe0c77a3963f84934e385276..c59078b545842561a7e5f62e9a99da6057b23660 100644
|
|
|
2fc102 |
--- a/src/responder/nss/nsssrv_cmd.c
|
|
|
2fc102 |
+++ b/src/responder/nss/nsssrv_cmd.c
|
|
|
2fc102 |
@@ -201,14 +201,6 @@ static const char *get_homedir_override(TALLOC_CTX *mem_ctx,
|
|
|
2fc102 |
name, uid, homedir, dom->name, NULL);
|
|
|
2fc102 |
}
|
|
|
2fc102 |
|
|
|
2fc102 |
- /* Override home directory location for subdomains.
|
|
|
2fc102 |
- * This option can be overriden by override_homedir.
|
|
|
2fc102 |
- */
|
|
|
2fc102 |
- if (IS_SUBDOMAIN(dom) && dom->subdomain_homedir) {
|
|
|
2fc102 |
- return expand_homedir_template(mem_ctx, dom->subdomain_homedir,
|
|
|
2fc102 |
- name, uid, homedir, dom->name, NULL);
|
|
|
2fc102 |
- }
|
|
|
2fc102 |
-
|
|
|
2fc102 |
if (!homedir || *homedir == '\0') {
|
|
|
2fc102 |
/* In the case of a NULL or empty homedir, check to see if
|
|
|
2fc102 |
* we have a fallback homedir to use.
|
|
|
2fc102 |
--
|
|
|
2fc102 |
1.8.5.3
|
|
|
2fc102 |
|