diff options
author | Volker Lendecke <vl@samba.org> | 2009-10-03 16:43:01 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2009-10-03 16:43:16 +0200 |
commit | 2bd3994ac3e53312fb0902d3d5dd61629b3e7510 (patch) | |
tree | dced98678b6014fd4aa1dff01abfdfc6787bff0f /source3/winbindd | |
parent | dc56d42aa364e463135ebf8e6e87c337147d396c (diff) | |
download | samba-2bd3994ac3e53312fb0902d3d5dd61629b3e7510.tar.gz samba-2bd3994ac3e53312fb0902d3d5dd61629b3e7510.tar.bz2 samba-2bd3994ac3e53312fb0902d3d5dd61629b3e7510.zip |
s3:winbind: use talloc_tos() instead of NULL in fillup_pw_field
Diffstat (limited to 'source3/winbindd')
-rw-r--r-- | source3/winbindd/winbindd_user.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/winbindd/winbindd_user.c b/source3/winbindd/winbindd_user.c index b23b7df608..7af2d6d202 100644 --- a/source3/winbindd/winbindd_user.c +++ b/source3/winbindd/winbindd_user.c @@ -47,11 +47,11 @@ bool fillup_pw_field(const char *lp_template, Otherwise use the template value passed in. */ if ( in && !strequal(in,"") && lp_security() == SEC_ADS ) { - templ = talloc_sub_specified(NULL, in, + templ = talloc_sub_specified(talloc_tos(), in, username, domname, uid, gid); } else { - templ = talloc_sub_specified(NULL, lp_template, + templ = talloc_sub_specified(talloc_tos(), lp_template, username, domname, uid, gid); } |