From: Andrew Bartlett Date: Sat, 9 Jul 2016 04:38:14 +0000 (+1200) Subject: samba-tool drs replicate: Allow replication call to take as long as required X-Git-Tag: tdb-1.3.10~414 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b9b64438d5198b564f5c3dc5699a8cd7d4f04f5f;p=thirdparty%2Fsamba.git 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 Reviewed-by: Garming Sam --- diff --git a/python/samba/netcmd/drs.py b/python/samba/netcmd/drs.py index 35a5bfd9335..40981314d9c 100644 --- a/python/samba/netcmd/drs.py +++ b/python/samba/netcmd/drs.py @@ -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)