CVE-2018-1057: s4:dsdb: use DSDB_CONTROL_PASSWORD_ACL_VALIDATION_OID
commit5c957af090354f678a75cb59861a3a61ef24333e
authorRalph Boehme <slow@samba.org>
Fri, 16 Feb 2018 14:38:19 +0000 (16 15:38 +0100)
committerStefan Metzmacher <metze@samba.org>
Tue, 13 Mar 2018 09:23:10 +0000 (13 10:23 +0100)
tree86d38bdfc190dc0bb0e01178f846da8f3d94d95e
parent6335660ea218fe59f461658db0be364b8b58b4ca
CVE-2018-1057: s4:dsdb: use DSDB_CONTROL_PASSWORD_ACL_VALIDATION_OID

This is used to pass information about which password change operation (change
or reset) the acl module validated, down to the password_hash module.

It's very important that both modules treat the request identical.

Bug: https://bugzilla.samba.org/show_bug.cgi?id=13272

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
source4/dsdb/samdb/ldb_modules/acl.c
source4/dsdb/samdb/ldb_modules/password_hash.c