diff options
author | Günther Deschner <gd@samba.org> | 2009-11-10 12:48:52 +0100 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2009-11-10 13:08:28 +0100 |
commit | 46784b4d99c00d98811c1e6be43bda78eae77fe6 (patch) | |
tree | 9cdb961d95fc0b35b2c3b58f4cbc46110c967111 /source3/include | |
parent | 9599d142c0edd750e254c82ca96e75a8e1d200d5 (diff) | |
download | samba-46784b4d99c00d98811c1e6be43bda78eae77fe6.tar.gz samba-46784b4d99c00d98811c1e6be43bda78eae77fe6.tar.bz2 samba-46784b4d99c00d98811c1e6be43bda78eae77fe6.zip |
s3-chgpasswd: split out a check_password_complexity() function.
Guenther
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/proto.h | 3 |
1 files changed, 3 insertions, 0 deletions
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 */ |