s4-drepl: We won't need a working schema for empty replicas sent.
authorKamen Mazdrashki <kamenim@samba.org>
Fri, 10 Dec 2010 02:17:09 +0000 (04:17 +0200)
committerKamen Mazdrashki <kamenim@samba.org>
Tue, 14 Dec 2010 23:51:19 +0000 (00:51 +0100)
commit0a9f780d26d8d193081915f4f3aff7b7f8335a28
tree1cc66daa524fda034ea591efd6d4e7eb0027b4ce
parent2b74838c14f4ee77236634c7b10b8ac26eff40fa
s4-drepl: We won't need a working schema for empty replicas sent.

Without this check, receiving empty replica leads to a situation
where we left with a working_schema attached to the ldb.

The problem here is that working_schema is not fully functional
schema cache and keeping it attached to the ldb may lead
to modules failing to accomplish their jobs
source4/dsdb/repl/drepl_out_helpers.c