diff options
author | Andreas Schneider <asn@samba.org> | 2013-11-18 14:58:04 +0100 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2013-11-21 15:00:44 -0800 |
commit | 6366ebb79bb72d9dcb12f8fe8d6e35611fcff150 (patch) | |
tree | ad74b0c98947a3b233d12e7612d22d0673df231a /source3/utils/net_sam.c | |
parent | 4ea92841b72a7b701a7c0fadf63430a7d0a3fac8 (diff) | |
download | samba-6366ebb79bb72d9dcb12f8fe8d6e35611fcff150.tar.gz samba-6366ebb79bb72d9dcb12f8fe8d6e35611fcff150.tar.xz samba-6366ebb79bb72d9dcb12f8fe8d6e35611fcff150.zip |
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>
Diffstat (limited to 'source3/utils/net_sam.c')
-rw-r--r-- | source3/utils/net_sam.c | 2 |
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); |