schema: Set flag into @INDEXLIST to indicate we support feature flags
authorAndrew Bartlett <abartlet@samba.org>
Fri, 3 Feb 2017 03:13:43 +0000 (16:13 +1300)
committerDouglas Bagnall <dbagnall@samba.org>
Thu, 9 Feb 2017 02:17:16 +0000 (03:17 +0100)
commit48da42c85f2924f4526919825bb3dec0f2259d7e
treec862c3216e6f187d4ced6a2fe3b72919791115b0
parent8368e06ff65cc70e1cf13a0eb4349033e068fcc6
schema: Set flag into @INDEXLIST to indicate we support feature flags

Because @INDEXLIST is rewritten by all Samba versions, we can detect
that we have opened the database with an older version that does not
support the feature flags by the absense of this in @INDEXLIST

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
source4/dsdb/samdb/ldb_modules/samba_dsdb.c
source4/dsdb/samdb/samdb.h
source4/dsdb/schema/schema_set.c