Commit 798893ee authored by Mathieu Parent's avatar Mathieu Parent

Revert "CVE-2018-16857 dsdb/util: Fix lockOutObservationWindow for PSOs"

This reverts commit e0213feb.
parent bed833b4
samba4.ldap.password_lockout.python\(ad_dc_ntvfs\).__main__.PasswordTestsWithDefaults.test_pso_login_lockout_krb5\(ad_dc_ntvfs\)
samba4.ldap.password_lockout.python\(ad_dc_ntvfs\).__main__.PasswordTestsWithDefaults.test_pso_login_lockout_ntlm\(ad_dc_ntvfs\)
......@@ -5361,9 +5361,9 @@ int samdb_result_effective_badPwdCount(struct ldb_context *sam_ldb,
if (res != NULL) {
lockOutObservationWindow =
ldb_msg_find_attr_as_int64(res->msgs[0],
"msDS-LockoutObservationWindow",
0);
ldb_msg_find_attr_as_int(res->msgs[0],
"msDS-LockoutObservationWindow",
0);
talloc_free(res);
} else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment