summaryrefslogtreecommitdiff
path: root/source4/librpc/rpc
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2005-06-16 23:47:06 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:18:18 -0500
commit3422499a857d51976e0c1d4875c8406ef36e654f (patch)
tree749b724803ae9d06d951b4bf9370fa6d1b81f7af /source4/librpc/rpc
parent07c395a40b320a28f85bb21db67781f8cdd28fcd (diff)
downloadsamba-3422499a857d51976e0c1d4875c8406ef36e654f.tar.gz
samba-3422499a857d51976e0c1d4875c8406ef36e654f.tar.bz2
samba-3422499a857d51976e0c1d4875c8406ef36e654f.zip
r7658: don't timeout at the smb level for rpc requests as otherwise some rpc
level sign/seal mechanisms can break (This used to be commit 9df569f023f9a1e0d8c35de8135a344933bc69bf)
Diffstat (limited to 'source4/librpc/rpc')
-rw-r--r--source4/librpc/rpc/dcerpc_smb.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source4/librpc/rpc/dcerpc_smb.c b/source4/librpc/rpc/dcerpc_smb.c
index 9096168b64..df421fb16d 100644
--- a/source4/librpc/rpc/dcerpc_smb.c
+++ b/source4/librpc/rpc/dcerpc_smb.c
@@ -294,6 +294,10 @@ static NTSTATUS smb_send_request(struct dcerpc_connection *c, DATA_BLOB *blob, B
io.writex.in.count = blob->length;
io.writex.in.data = blob->data;
+ /* we must not timeout at the smb level for rpc requests, as otherwise
+ signing/sealing can be messed up */
+ smb->tree->session->transport->options.request_timeout = 0;
+
req = smb_raw_write_send(smb->tree, &io);
if (req == NULL) {
return NT_STATUS_NO_MEMORY;