dsdb group_audit: Test to replicate BUG 13664
authorGary Lockyer <gary@catalyst.net.nz>
Tue, 23 Oct 2018 04:14:34 +0000 (17:14 +1300)
committerStefan Metzmacher <metze@samba.org>
Tue, 30 Oct 2018 15:40:13 +0000 (16:40 +0100)
commiteeb4089dafc45277d8af19073ef9348451c1836a
treef9d546aa30072379feda60902ba274bcbc8291b9
parent852e1db12b0afa04a738c03bb2609c084fe96a7f
dsdb group_audit: Test to replicate BUG 13664

The group audit code incorrectly logs member additions and deletions.

Thanks to metze for the debugging that isolated the issue, and for
suggesting the fix to dn_compare.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=13664

Signed-off-by: Gary Lockyer <gary@catalyst.net.nz>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
selftest/knownfail.d/bug13664 [new file with mode: 0644]
source4/dsdb/samdb/ldb_modules/tests/test_group_audit.c