summaryrefslogtreecommitdiff
path: root/selftest
diff options
context:
space:
mode:
authorGary Lockyer <gary@catalyst.net.nz>2018-04-04 11:59:41 +1200
committerAndrew Bartlett <abartlet@samba.org>2018-06-09 15:02:11 +0200
commit1c0f743c2d51c74b146d5ceea3252683450f639f (patch)
treeb54991f4dbc6e0fcbf3079e4736c70f15a85e6bb /selftest
parent7ddbf6035dfec6806536f99d0257245f70661363 (diff)
downloadsamba-1c0f743c2d51c74b146d5ceea3252683450f639f.tar.gz
dsdb: audit samdb and password changes
Add audit logging of DSDB operations and password changes, log messages are logged in human readable format and if samba is commpile with JANSSON support in JSON format. Log: * Details all DSDB add, modify and delete operations. Logs attributes, values, session details, transaction id. * Transaction roll backs. * Prepare commit and commit failures. * Summary details of replicated updates. Signed-off-by: Gary Lockyer <gary@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'selftest')
-rwxr-xr-xselftest/target/Samba4.pm4
1 files changed, 4 insertions, 0 deletions
diff --git a/selftest/target/Samba4.pm b/selftest/target/Samba4.pm
index 14e312f8586..3df226f80d2 100755
--- a/selftest/target/Samba4.pm
+++ b/selftest/target/Samba4.pm
@@ -1524,6 +1524,8 @@ sub provision_ad_dc_ntvfs($$)
lsa over netlogon = yes
rpc server port = 1027
auth event notification = true
+ dsdb event notification = true
+ dsdb password event notification = true
server schannel = auto
";
my $ret = $self->provision($prefix,
@@ -1896,6 +1898,8 @@ sub provision_ad_dc($$$$$$)
server schannel = auto
auth event notification = true
+ dsdb event notification = true
+ dsdb password event notification = true
$smbconf_args
";