1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-10 01:18:15 +03:00
samba-mirror/source4/dsdb
Aaron Haslett 4eee09a2c1 dsdb: disable ORDERED_INTEGER with MDB pack format v1
For TDB databases, the new ORDERED_INTEGER type is disabled along with
repacking at format version 1 if GUID indexing is disabled, so all the new
database features are toggled together. This scheme doesn't work with
MDB because GUID indexing is mandatory when using MDB. However, a
downgrade path is still required so in a previous commit we added
a pack_format_override option which allows a downgrade script to force
the database to use an earlier packing format. But, the new
ORDERED_INTEGER type would still be present in MDB databases so this
patch reads the pack_format_override opaque and converts ORDERED_INTEGER
types in @ATTRIBUTES to INTEGER and doesn't write any indexes of that
type to @INDEXLIST. The @INDEXLIST will be refreshed later, on the first
transaction.

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>
2019-05-29 04:41:25 +00:00
..
common dsdb/util: spell "equivalence"! 2019-05-10 01:15:17 +00:00
dns dns_update: samba_dnsupdate's exit code is not an errno 2019-01-15 07:53:21 +01:00
kcc kcc: Give a better error message when samdb_ntds_objectGUID fails 2019-03-07 03:50:20 +00:00
repl dsdb/repl: we need to replicate the whole schema before we can apply it 2019-04-11 04:17:10 +00:00
samdb dsdb:audit_log: avoid printing "... remote host [Unknown] SID [(NULL SID)] ..." 2019-05-28 07:16:25 +00:00
schema dsdb: disable ORDERED_INTEGER with MDB pack format v1 2019-05-29 04:41:25 +00:00
tests/python selftest: Remove gensec.FEATURE_SEAL from samba4.ldap.notification 2019-05-20 04:01:11 +00:00
pydsdb.c Clean up reference used with PyDict_Setxxx 2019-02-07 17:17:46 +01:00
samdb.pc.in s4-pkgconfig: add @LIB_RPATH@ to our link flags 2010-12-08 12:46:00 +01:00
wscript_build build: Remove bld.gen_python_environments() 2019-03-21 04:06:14 +00:00