summaryrefslogtreecommitdiff
path: root/source4/dsdb/repl
diff options
context:
space:
mode:
authorGarming Sam <garming@catalyst.net.nz>2017-03-17 16:09:06 +1300
committerGarming Sam <garming@samba.org>2017-04-13 07:29:17 +0200
commita6f62a4c0b8fc8a94c78d9e7692c3d73408ecf37 (patch)
tree4e83d9996b90e7a9932d77aea170e1e78ba0a443 /source4/dsdb/repl
parent613d9e234e2227337bcdf0b1eedc7dbd21e54c25 (diff)
downloadsamba-a6f62a4c0b8fc8a94c78d9e7692c3d73408ecf37.tar.gz
drepl: Add partial attribute set in the case of repl secret
Against Windows, the call will always fail without it. Signed-off-by: Garming Sam <garming@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source4/dsdb/repl')
-rw-r--r--source4/dsdb/repl/drepl_out_helpers.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/dsdb/repl/drepl_out_helpers.c b/source4/dsdb/repl/drepl_out_helpers.c
index ac0b947aadb..d526f4558a5 100644
--- a/source4/dsdb/repl/drepl_out_helpers.c
+++ b/source4/dsdb/repl/drepl_out_helpers.c
@@ -498,7 +498,7 @@ static void dreplsrv_op_pull_source_get_changes_trigger(struct tevent_req *req)
return;
}
replica_flags &= ~DRSUAPI_DRS_WRIT_REP;
- } else if (partition->rodc_replica) {
+ } else if (partition->rodc_replica || state->op->extended_op == DRSUAPI_EXOP_REPL_SECRET) {
bool for_schema = false;
if (ldb_dn_compare_base(schema_dn, partition->dn) == 0) {
for_schema = true;