dsdb: Honour @SAMBA_FEATURES_SUPPORTED flag in @IDXATTR
authorAndrew Bartlett <abartlet@samba.org>
Thu, 2 Feb 2017 22:47:41 +0000 (11:47 +1300)
committerDouglas Bagnall <dbagnall@samba.org>
Thu, 9 Feb 2017 02:17:16 +0000 (03:17 +0100)
commitfea92e5f1d57909df392e237129dfd2091f63555
treee5ab6e4506894571fb033b743e3ff3a7c8c823c6
parent48da42c85f2924f4526919825bb3dec0f2259d7e
dsdb: Honour @SAMBA_FEATURES_SUPPORTED flag in @IDXATTR

This allows us to detect modification by a Samba version prior to
the introduction of the compatibleFeatures logic as this flag will
be stripped by the schema load code of older Samba versions.
Therefore if it is not present, then remove all
compatibleFeatures.

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