mirror of
https://github.com/samba-team/samba.git
synced 2025-02-26 21:57:41 +03:00
repl: Use DSDB_REPL_FLAG_PRIORITISE_INCOMING in samba-tool drs replicate --local
Previously this would only be set when we did server-to-server replication Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Garming Sam <garming@catalyst.net.nz>
This commit is contained in:
parent
d1d5ec311a
commit
04512d1a9d
@ -680,6 +680,10 @@ NTSTATUS libnet_vampire_cb_store_chunk(void *private_data,
|
|||||||
return NT_STATUS_INTERNAL_ERROR;
|
return NT_STATUS_INTERNAL_ERROR;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (req_replica_flags & DRSUAPI_DRS_FULL_SYNC_IN_PROGRESS) {
|
||||||
|
dsdb_repl_flags |= DSDB_REPL_FLAG_PRIORITISE_INCOMING;
|
||||||
|
}
|
||||||
|
|
||||||
if (req_replica_flags & DRSUAPI_DRS_SPECIAL_SECRET_PROCESSING) {
|
if (req_replica_flags & DRSUAPI_DRS_SPECIAL_SECRET_PROCESSING) {
|
||||||
dsdb_repl_flags |= DSDB_REPL_FLAG_EXPECT_NO_SECRETS;
|
dsdb_repl_flags |= DSDB_REPL_FLAG_EXPECT_NO_SECRETS;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user