mirror of
https://github.com/samba-team/samba.git
synced 2025-12-19 12:23:49 +03:00
samba-tool drs replicate: Allow replication call to take as long as required
This matches the behaviour in the drsuapi server for DsReplicaSync Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Garming Sam <garming@catalyst.net.nz>
This commit is contained in:
committed by
Garming Sam
parent
2d3fdc0a45
commit
b9b64438d5
@@ -318,7 +318,8 @@ class cmd_drs_replicate(Command):
|
||||
return
|
||||
|
||||
if local_online:
|
||||
server_bind = drsuapi.drsuapi("irpc:dreplsrv", self.lp)
|
||||
server_bind = drsuapi.drsuapi("irpc:dreplsrv", lp_ctx=self.lp,
|
||||
timeout=IRPC_CALL_TIMEOUT_INF)
|
||||
server_bind_handle = misc.policy_handle()
|
||||
else:
|
||||
drsuapi_connect(self)
|
||||
|
||||
Reference in New Issue
Block a user