git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dc56d42
)
s3:winbind: use talloc_tos() instead of NULL in fillup_pw_field
author
Volker Lendecke
<vl@samba.org>
Sat, 3 Oct 2009 14:43:01 +0000
(16:43 +0200)
committer
Volker Lendecke
<vl@samba.org>
Sat, 3 Oct 2009 14:43:16 +0000
(16:43 +0200)
source3/winbindd/winbindd_user.c
patch
|
blob
|
history
diff --git
a/source3/winbindd/winbindd_user.c
b/source3/winbindd/winbindd_user.c
index b23b7df608c81c5d7d40e0223f5701dac947b787..7af2d6d20246dc85b5278d6994fd0c518fcf52e5 100644
(file)
--- 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);
}