From a6f62a4c0b8fc8a94c78d9e7692c3d73408ecf37 Mon Sep 17 00:00:00 2001 From: Garming Sam Date: Fri, 17 Mar 2017 16:09:06 +1300 Subject: [PATCH] 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 Reviewed-by: Andrew Bartlett --- source4/dsdb/repl/drepl_out_helpers.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;