mirror of
https://github.com/samba-team/samba.git
synced 2025-03-11 16:58:40 +03:00
winbind3: Fix pwent variable substitution
Commit 0ce46318 (winbind3: Simplify fillup_pw_field) broke variable substitution by copying from the wrong (unsubstituted) buffer. Fix it. Signed-off-by: Justin Maggard <jmaggard10@gmail.com> Reviewed-by: Jeremy Allison <jra@samba.org> Reviewed-by: Richard Sharpe <rsharpe@samba.org>
This commit is contained in:
parent
1c5ef289a8
commit
902086d0d4
@ -240,7 +240,7 @@ static bool fillup_pw_field(const char *lp_template,
|
||||
return False;
|
||||
}
|
||||
|
||||
fstrcpy(out, templ);
|
||||
fstrcpy(out, result);
|
||||
TALLOC_FREE(result);
|
||||
|
||||
return True;
|
||||
|
Loading…
x
Reference in New Issue
Block a user