mirror of
https://github.com/samba-team/samba.git
synced 2025-02-02 09:47:23 +03:00
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>
This commit is contained in:
parent
613d9e234e
commit
a6f62a4c0b
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user