dsdb group_audit: Test to replicate BUG 13664
commitfd43fd88a8df96f8ad31159bd2ee13ef96a1d070
authorGary Lockyer <gary@catalyst.net.nz>
Tue, 23 Oct 2018 04:14:34 +0000 (23 17:14 +1300)
committerKarolin Seeger <kseeger@samba.org>
Mon, 5 Nov 2018 11:44:32 +0000 (5 12:44 +0100)
tree7abd5b8c6a14940b745dd5d8f2c7a27a444d762f
parent9b7bd1cdc3cf78efc3478333ee8da6fe6ede8a66
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>
(cherry picked from commit eeb4089dafc45277d8af19073ef9348451c1836a)
selftest/knownfail.d/bug13664 [new file with mode: 0644]
source4/dsdb/samdb/ldb_modules/tests/test_group_audit.c