dsdb acl: Copy dsdb_control_password_acl_validation into reply
authorGary Lockyer <gary@catalyst.net.nz>
Thu, 24 May 2018 21:53:29 +0000 (09:53 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 31 May 2018 07:54:18 +0000 (09:54 +0200)
commitd06ebf646c2a89d2b445f8d4ce85f9151886caa5
treea9810792d63fa7213d600d2e85a00fc4cbde6563
parentfcbb3f31fea14798d8b20ae4a3ec034eef3711ba
dsdb acl: Copy dsdb_control_password_acl_validation into reply

Copy the dsdb_control_password_acl_validation into the reply so that it
is available to the audit_logging module.  The audit logging module
uses it to differentiate between password change and reset operations.

We include it in the result for failed request to allow the logging of
failed attempts.

Signed-off-by: Gary Lockyer <gary@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source4/dsdb/samdb/ldb_modules/acl.c