summaryrefslogtreecommitdiff
path: root/source3/utils
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2013-11-18 14:58:04 +0100
committerKarolin Seeger <kseeger@samba.org>2013-11-26 20:34:17 +0100
commit1788e6651c9c6e7b8eeec2e19499e3009ee2885a (patch)
tree2d7cfaa4016457124731fa5084f2c500df609ca9 /source3/utils
parente99d701806156b2343d3a96a6a320a625e8e8ec0 (diff)
downloadsamba-1788e6651c9c6e7b8eeec2e19499e3009ee2885a.tar.gz
s3-lib: Add grpname to talloc_sub_specified().
BUG: https://bugzilla.samba.org/show_bug.cgi?id=2191 Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> (cherry picked from commit 6366ebb79bb72d9dcb12f8fe8d6e35611fcff150)
Diffstat (limited to 'source3/utils')
-rw-r--r--source3/utils/net_sam.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/utils/net_sam.c b/source3/utils/net_sam.c
index 3a752ce619..b7b76e8093 100644
--- a/source3/utils/net_sam.c
+++ b/source3/utils/net_sam.c
@@ -1873,10 +1873,12 @@ doma_done:
gidstr = talloc_asprintf(tc, "%u", (unsigned int)domadmins_gid);
dir = talloc_sub_specified(tc, lp_template_homedir(),
"Administrator",
+ NULL,
get_global_sam_name(),
uid, domadmins_gid);
shell = talloc_sub_specified(tc, lp_template_shell(),
"Administrator",
+ NULL,
get_global_sam_name(),
uid, domadmins_gid);