1
0
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:
Andrew Bartlett
2016-07-09 16:38:14 +12:00
committed by Garming Sam
parent 2d3fdc0a45
commit b9b64438d5

View File

@@ -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)