dsdb:samdb: schemainfo update with relax control
authorAaron Haslett <aaronhaslett@catalyst.net.nz>
Wed, 3 Apr 2019 03:34:42 +0000 (16:34 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 11 Apr 2019 04:17:10 +0000 (04:17 +0000)
commitb7c1752754da1e8a83a53670cf4a410ec6e9d7b7
tree3b3a94f78c1ee64b97e54dcaa5a4440d056fc928
parent7652439fa1aab92945f5540a43fc49568d446917
dsdb:samdb: schemainfo update with relax control

Currently schema info's revision field isn't incremented if relax
control is present.  This is so that no increment is done during
provision, but we need the relax control in other situations where
the increment is desired, so we should use the provision control instead
to disable schema info update.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=13799

Signed-off-by: Aaron Haslett <aaronhaslett@catalyst.net.nz>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
selftest/knownfail.d/samdb [deleted file]
source4/dsdb/samdb/ldb_modules/samldb.c