s4-drepl: Refactor dreplsrv_run_pull_ops() to
commitd7f47fb87cb06ab9642bd188de435beed539c437
authorKamen Mazdrashki <kamenim@samba.org>
Sat, 26 Feb 2011 19:00:46 +0000 (26 21:00 +0200)
committerKamen Mazdrashki <kamenim@samba.org>
Sat, 26 Feb 2011 22:23:17 +0000 (27 00:23 +0200)
treeb6d60f7290c2f551e3a90d5a49bc376e4509b5bc
parentf0bde828e0ca76752c23920cc0fd563866e5a90b
s4-drepl: Refactor dreplsrv_run_pull_ops() to

1. Take into account DSA options - we should not send replication
   requests in case OUTBOUND_REPLICATION is disabled
2. Use replication flags for the operation to determine if
   a forced replication is requested
3. In case outbound replication is disabled and we don't have
   DRSUAPI_DRS_SYNC_FORCED flag set, then we should record
   WERR_DS_DRA_SINK_DISABLED error as a last replication result
source4/dsdb/repl/drepl_out_pull.c