summaryrefslogtreecommitdiffstats
path: root/src/responder/pac
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2013-04-04 13:03:23 +0200
committerJakub Hrozek <jhrozek@redhat.com>2013-04-10 13:38:44 +0200
commit6fc4702a3037d9bb5b27bcb58f70edf1802b7b19 (patch)
treee0470eba6e749d3b5d10dabf98d1acfdce89007c /src/responder/pac
parent591b0325f5d6f70ae71e61a8c563b437acfb1884 (diff)
downloadsssd-6fc4702a3037d9bb5b27bcb58f70edf1802b7b19.tar.gz
sssd-6fc4702a3037d9bb5b27bcb58f70edf1802b7b19.tar.xz
sssd-6fc4702a3037d9bb5b27bcb58f70edf1802b7b19.zip
Allow using flatname for subdomain home dir template
https://fedorahosted.org/sssd/ticket/1609
Diffstat (limited to 'src/responder/pac')
-rw-r--r--src/responder/pac/pacsrv_utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/responder/pac/pacsrv_utils.c b/src/responder/pac/pacsrv_utils.c
index 824daa625..c868b1078 100644
--- a/src/responder/pac/pacsrv_utils.c
+++ b/src/responder/pac/pacsrv_utils.c
@@ -796,7 +796,7 @@ errno_t get_pwd_from_pac(TALLOC_CTX *mem_ctx,
if (dom->subdomain_homedir) {
pwd->pw_dir = expand_homedir_template(pwd, dom->subdomain_homedir,
lname, pwd->pw_uid, NULL,
- dom->name);
+ dom->name, dom->flat_name);
if (pwd->pw_dir == NULL) {
ret = ENOMEM;
goto done;