summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSumit Bose <sbose@redhat.com>2016-06-29 13:18:40 +0200
committerJakub Hrozek <jhrozek@redhat.com>2016-07-06 17:33:00 +0200
commitdf8c8c701a77bf574e96f91560cbfc57231c8dfa (patch)
tree2322bf190eef483183bdb8b187ff59d7c8a11508
parentc14387ce45d242aa52c9e89fb3ab3a0a08630325 (diff)
downloadsssd-df8c8c701a77bf574e96f91560cbfc57231c8dfa.tar.gz
sssd-df8c8c701a77bf574e96f91560cbfc57231c8dfa.tar.xz
sssd-df8c8c701a77bf574e96f91560cbfc57231c8dfa.zip
IPA: add missing user name to homedir_ctx
Reviewed-by: Jakub Hrozek <jhrozek@redhat.com>
-rw-r--r--src/providers/ipa/ipa_subdomains_id.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/providers/ipa/ipa_subdomains_id.c b/src/providers/ipa/ipa_subdomains_id.c
index 3f083d3cd..7367080e5 100644
--- a/src/providers/ipa/ipa_subdomains_id.c
+++ b/src/providers/ipa/ipa_subdomains_id.c
@@ -766,6 +766,7 @@ get_subdomain_homedir_of_user(TALLOC_CTX *mem_ctx, struct sss_domain_info *dom,
ZERO_STRUCT(homedir_ctx);
homedir_ctx.uid = uid;
+ homedir_ctx.username = fqname;
homedir_ctx.domain = dom->name;
homedir_ctx.flatname = dom->flat_name;
homedir_ctx.config_homedir_substr = dom->homedir_substr;