From 46784b4d99c00d98811c1e6be43bda78eae77fe6 Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Tue, 10 Nov 2009 12:48:52 +0100 Subject: s3-chgpasswd: split out a check_password_complexity() function. Guenther --- source3/include/proto.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'source3/include') diff --git a/source3/include/proto.h b/source3/include/proto.h index e46fe3c1fd..6955593179 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -6107,6 +6107,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); +NTSTATUS check_password_complexity(const char *username, + const char *password, + enum samPwdChangeReason *samr_reject_reason); NTSTATUS change_oem_password(struct samu *hnd, char *old_passwd, char *new_passwd, bool as_root, enum samPwdChangeReason *samr_reject_reason); /* The following definitions come from smbd/close.c */ -- cgit