git.samba.org
/
obnox
/
samba
/
samba-obnox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2d3fdc0
)
samba-tool drs replicate: Allow replication call to take as long as required
author
Andrew Bartlett
<abartlet@samba.org>
Sat, 9 Jul 2016 04:38:14 +0000
(16:38 +1200)
committer
Garming Sam
<garming@samba.org>
Tue, 12 Jul 2016 21:24:13 +0000
(23:24 +0200)
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>
python/samba/netcmd/drs.py
patch
|
blob
|
history
diff --git
a/python/samba/netcmd/drs.py
b/python/samba/netcmd/drs.py
index 35a5bfd93357ab58ed2bbf2ed6b4185a544ffdd0..40981314d9ccab6b2c5c2191afee4ebe485580ab 100644
(file)
--- 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)