group_audit: error handling in group change
authorGary Lockyer <gary@catalyst.net.nz>
Tue, 8 Jan 2019 01:24:06 +0000 (14:24 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Sat, 19 Jan 2019 21:32:05 +0000 (22:32 +0100)
commit60aa7b3634e3312e92955779f3c9d339456c4a95
tree8f4a26fe8413e6fa50fa3d775a105546af184b8e
parent942567afda8129425083228062c5d0f5b2a08eda
group_audit: error handling in group change

Generate an appropriate log message in the event of an error
log_group_membership_changes.  As the changes have not been applied to
the database, there is no easy way to determine the intended changes.
This information is available in the "dsdbChange" audit messages, to
avoid replicating this logic for what should be a very rare occurrence
we simply log it as a "Failure"

Signed-off-by: Gary Lockyer <gary@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Sat Jan 19 22:32:05 CET 2019 on sn-devel-144
selftest/knownfail.d/group_audit [deleted file]
source4/dsdb/samdb/ldb_modules/group_audit.c