summaryrefslogtreecommitdiffstats
path: root/source3/winbindd
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2013-11-18 14:58:04 +0100
committerJeremy Allison <jra@samba.org>2013-11-21 15:00:44 -0800
commit6366ebb79bb72d9dcb12f8fe8d6e35611fcff150 (patch)
treead74b0c98947a3b233d12e7612d22d0673df231a /source3/winbindd
parent4ea92841b72a7b701a7c0fadf63430a7d0a3fac8 (diff)
downloadsamba-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/winbindd')
-rw-r--r--source3/winbindd/wb_fill_pwent.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/winbindd/wb_fill_pwent.c b/source3/winbindd/wb_fill_pwent.c
index 688afc6271..3b711bd7e1 100644
--- a/source3/winbindd/wb_fill_pwent.c
+++ b/source3/winbindd/wb_fill_pwent.c
@@ -214,11 +214,11 @@ static bool fillup_pw_field(const char *lp_template,
if ((in != NULL) && (in[0] != '\0') && (lp_security() == SEC_ADS)) {
templ = talloc_sub_specified(talloc_tos(), in,
- username, domname,
+ username, NULL, domname,
uid, gid);
} else {
templ = talloc_sub_specified(talloc_tos(), lp_template,
- username, domname,
+ username, NULL, domname,
uid, gid);
}