downgradedatabase: adding special case for MDB
commit0942a65b63cc99f36d3eba99e9c9551e10c5782e
authorAaron Haslett <aaronhaslett@catalyst.net.nz>
Thu, 23 May 2019 08:06:56 +0000 (23 20:06 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 29 May 2019 04:41:25 +0000 (29 04:41 +0000)
treeaac5c417ecd90f45ce43069c609239e864dd978e
parent4eee09a2c17d1276b1d0be9f26b23743eec485c2
downgradedatabase: adding special case for MDB

Though this script was initially written for undoing GUID indexing on
TDB databases, we're repurposing it to do a full downgrade of any
database. MDB databases can't be DN indexed, but they can have pack
format version 2 and ORDERED_INTEGER data types, which must be removed
during a downgrade.

Signed-off-by: Aaron Haslett <aaronhaslett@catalyst.net.nz>
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
source4/scripting/bin/sambadowngradedatabase