dbcheck: Check for and remove duplicate values in attributes
authorAndrew Bartlett <abartlet@samba.org>
Tue, 23 Feb 2016 01:57:04 +0000 (14:57 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Tue, 8 Mar 2016 00:58:30 +0000 (01:58 +0100)
commitc79c1e405d52c5dc54b8f03cd891e47f7ea04497
treec0702d7c920258ae407c3e91218f382ae9c0a752
parent13e62b2e350a21beefe871de64900fb78c5385f7
dbcheck: Check for and remove duplicate values in attributes

This can happen with three DCs and custom schema, but we test
it by just forcing the values directly into the backing tdb.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
python/samba/dbchecker.py
source4/selftest/provisions/release-4-1-0rc3/expected-otherphone-after-dbcheck.ldif [new file with mode: 0644]
source4/selftest/provisions/release-4-1-0rc3/forced-duplicate-value-for-dbcheck.ldif [new file with mode: 0644]
testprogs/blackbox/dbcheck-oldrelease.sh