summaryrefslogtreecommitdiff
path: root/auth/credentials/credentials.h
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2016-12-14 10:02:10 +0100
committerAndrew Bartlett <abartlet@samba.org>2016-12-20 01:11:23 +0100
commit1565469bf22cb8aee7467ab76ba64fb5c54b59fe (patch)
tree5afa482723643d78ed139b534dd025506094046a /auth/credentials/credentials.h
parenta3f03df706f3dc8d7875226aa162154a0194f331 (diff)
downloadsamba-1565469bf22cb8aee7467ab76ba64fb5c54b59fe.tar.gz
auth/credentials: add cli_credentials_set_password_will_be_nt_hash() and the related logic
Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'auth/credentials/credentials.h')
-rw-r--r--auth/credentials/credentials.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/auth/credentials/credentials.h b/auth/credentials/credentials.h
index 523793f090d..6b0d83bb5d4 100644
--- a/auth/credentials/credentials.h
+++ b/auth/credentials/credentials.h
@@ -201,6 +201,8 @@ bool cli_credentials_set_utf16_password(struct cli_credentials *cred,
enum credentials_obtained obtained);
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_set_nt_hash(struct cli_credentials *cred,
const struct samr_Password *nt_hash,
enum credentials_obtained obtained);