summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2009-12-14 20:54:33 +0100
committerMichael Adam <obnox@samba.org>2010-01-07 11:07:55 +0100
commit53a1ed9b6caa7b8ea2c5b4f1cae6faba19e09708 (patch)
tree8deda54bd89b03759015d5bcf3364bdebaa39e9f /source3/include
parentbe05d71b9e3fe3c73ada46f7bb7745bf19633716 (diff)
downloadsamba-53a1ed9b6caa7b8ea2c5b4f1cae6faba19e09708.tar.gz
samba-53a1ed9b6caa7b8ea2c5b4f1cae6faba19e09708.tar.bz2
samba-53a1ed9b6caa7b8ea2c5b4f1cae6faba19e09708.zip
s3: Factor password_in_history() out of check_passwd_history()
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/proto.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h
index 5b16120294..c0ca96bb92 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -6116,6 +6116,9 @@ NTSTATUS pass_oem_change(char *user,
uchar password_encrypted_with_nt_hash[516],
const uchar old_nt_hash_encrypted[16],
enum samPwdChangeReason *reject_reason);
+bool password_in_history(uint8_t nt_pw[NT_HASH_LEN],
+ uint32_t pw_history_len,
+ const uint8_t *pw_history);
NTSTATUS check_password_complexity(const char *username,
const char *password,
enum samPwdChangeReason *samr_reject_reason);