CVE-2018-1057: s4:dsdb: use DSDB_CONTROL_PASSWORD_ACL_VALIDATION_OID
authorRalph Boehme <slow@samba.org>
Fri, 16 Feb 2018 14:38:19 +0000 (15:38 +0100)
committerKarolin Seeger <kseeger@samba.org>
Tue, 13 Mar 2018 09:28:56 +0000 (10:28 +0100)
commit03b15137112f15132da15d1a18f6afa708da35e0
treeffd0bd5b67341f54bd65e5c3cb755d90cf0df0ea
parent96261a040e8ce60748abd5e9e124e96a0935f120
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