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