mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
auth: Add cli_credentials_is_password_nt_hash()
Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
parent
97c0982bad
commit
61424dd221
@ -224,6 +224,7 @@ bool cli_credentials_set_old_utf16_password(struct cli_credentials *cred,
|
||||
const DATA_BLOB *password_utf16);
|
||||
void cli_credentials_set_password_will_be_nt_hash(struct cli_credentials *cred,
|
||||
bool val);
|
||||
bool cli_credentials_is_password_nt_hash(struct cli_credentials *cred);
|
||||
bool cli_credentials_set_nt_hash(struct cli_credentials *cred,
|
||||
const struct samr_Password *nt_hash,
|
||||
enum credentials_obtained obtained);
|
||||
|
@ -458,6 +458,11 @@ _PUBLIC_ void cli_credentials_set_password_will_be_nt_hash(struct cli_credential
|
||||
cred->password_will_be_nt_hash = val;
|
||||
}
|
||||
|
||||
_PUBLIC_ bool cli_credentials_is_password_nt_hash(struct cli_credentials *cred)
|
||||
{
|
||||
return cred->password_will_be_nt_hash;
|
||||
}
|
||||
|
||||
_PUBLIC_ bool cli_credentials_set_nt_hash(struct cli_credentials *cred,
|
||||
const struct samr_Password *nt_hash,
|
||||
enum credentials_obtained obtained)
|
||||
|
Loading…
Reference in New Issue
Block a user