s4-drepl: Block GetNCChanges during a DsReplicaSync
authorAndrew Bartlett <abartlet@samba.org>
Sat, 22 Jul 2017 10:00:59 +0000 (22:00 +1200)
committerStefan Metzmacher <metze@samba.org>
Sun, 23 Jul 2017 10:32:49 +0000 (12:32 +0200)
commitf1e4ae9971e61f7c4a43ae0049a1162cc2e3dafb
tree277ec52a7e3b4ada6b5f50d2a75b72a0b8783d88
parent890137cffedcaf88a9ff808c01335ee14fcfd8da
s4-drepl: Block GetNCChanges during a DsReplicaSync

If we do not block these, we can get RPC faults
(DCERPC_NCA_S_PROTO_ERROR) which gives WERR_WRITE_FAULT back to the
DsReplicaSync call as there are two outstanding requests on the wire
at the one time.

We will get to the next operation as soon as this is finished
when we call run_pending_ops().

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

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Sun Jul 23 12:32:49 CEST 2017 on sn-devel-144
source4/dsdb/repl/drepl_out_pull.c