s3-chgpasswd: split out a check_password_complexity() function.
[ira/wip.git] / source3 / include / proto.h
index e46fe3c1fd79e64206dce8f94eae5afefef7ca4f..69555931796f2baee71b79cd454825cb68a4ca69 100644 (file)
@@ -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  */