git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f0b85c1
)
dsdb: Add comment showing where the normal password rules are applied
author
Andrew Bartlett
<abartlet@samba.org>
Wed, 9 Aug 2017 22:13:24 +0000
(10:13 +1200)
committer
Andrew Bartlett
<abartlet@samba.org>
Wed, 30 Aug 2017 08:48:19 +0000
(10:48 +0200)
This looks like a footnote, but is actually where the default password rules are applied.
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
source4/dsdb/common/util.c
patch
|
blob
|
history
diff --git
a/source4/dsdb/common/util.c
b/source4/dsdb/common/util.c
index 7a12c71799bef0146c0906785d4e6d7a273146d7..d70419dc159be70b9cca8afc8760fa539a1d6a94 100644
(file)
--- a/
source4/dsdb/common/util.c
+++ b/
source4/dsdb/common/util.c
@@
-2111,6
+2111,11
@@
enum samr_ValidationStatus samdb_check_password(TALLOC_CTX *mem_ctx,
TALLOC_FREE(password_script);
+ /*
+ * Here are the standard AD password quality rules, which we
+ * run after the script.
+ */
+
if (!check_password_quality(utf8_pw)) {
return SAMR_VALIDATION_STATUS_NOT_COMPLEX_ENOUGH;
}