dsdb: Do not run dsdb_replace() on the calculated difference between old and new...
authorAndrew Bartlett <abartlet@samba.org>
Tue, 6 Jun 2017 22:44:50 +0000 (10:44 +1200)
committerStefan Metzmacher <metze@samba.org>
Fri, 16 Jun 2017 17:34:17 +0000 (19:34 +0200)
commitec9b1e881c3eef503d6b4b311594113acf7d47d8
treeb5e6e007ee4dfffaf432933054a843ad7b25e029
parent5067bceaa21fe86fa77a1aeb88a4bce3ba07e479
dsdb: Do not run dsdb_replace() on the calculated difference between old and new schema

We can set the database @INDEXLIST and @ATTRIBUTES to the full calculated
values, not the difference, and let the ldb layer work it out under the
transaction lock.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
source4/dsdb/schema/schema_set.c