ldb_tdb: Do not check for duplicate values during a rename
authorGarming Sam <garming@catalyst.net.nz>
Thu, 9 Mar 2017 02:56:12 +0000 (15:56 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Mon, 13 Mar 2017 04:10:10 +0000 (05:10 +0100)
commitb562a90646ab540cc63d054c8500792794984166
tree9b82c9c329d73d57a17f9582ea047e43a866d125
parent3b5aeaba957696f17a6aac7d748e578886050c2b
ldb_tdb: Do not check for duplicate values during a rename

This is not the time to be pretending to be dbcheck, and there are
exceptions to the single-value rules in Samba. This is needed for
the same reasons as the modify case.

(Note: this error was triggered with the demote of an RODC with links)

Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Pair-programmed-with: Andrew Bartlett <abartlet@samba.org>
lib/ldb/ldb_tdb/ldb_tdb.c