mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
libcli:auth: Keep passwords from convert_string_talloc() secret
Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
(cherry picked from commit 6edf88f5c4
)
[jsutton@samba.org Removed change to decode_pwd_string_from_buffer514()
that is not present in 4.16]
This commit is contained in:
parent
a3aebea489
commit
3cab9f6a34
@ -937,6 +937,7 @@ bool decode_pw_buffer(TALLOC_CTX *ctx,
|
||||
DEBUG(0, ("decode_pw_buffer: failed to convert incoming password\n"));
|
||||
return false;
|
||||
}
|
||||
talloc_keep_secret(*pp_new_pwrd);
|
||||
|
||||
#ifdef DEBUG_PASSWORD
|
||||
DEBUG(100,("decode_pw_buffer: new_pwrd: "));
|
||||
|
Loading…
Reference in New Issue
Block a user