s4-dreplsrv: Use working_schema when replicating from Schema NC
authorKamen Mazdrashki <kamenim@samba.org>
Mon, 29 Nov 2010 23:38:16 +0000 (01:38 +0200)
committerKamen Mazdrashki <kamenim@samba.org>
Wed, 1 Dec 2010 11:01:17 +0000 (13:01 +0200)
commitcf8ffc37b42b9b880ba1a0058bd5d0ab984f82b6
tree5bde4cc25d4b4ac806032b87807343de3e878f38
parenta42e267105544e63ae28a3c40d96c0ff36b2d070
s4-dreplsrv: Use working_schema when replicating from Schema NC

Schema is changed and it is quite possible we won't be able
to decode replicated objects using current Schema cache we have.

Thus, when replicating Schema, we will make a temporary Schema
cache, working_schema, so that we can fully decode objects
we recieve.
source4/dsdb/repl/drepl_out_helpers.c