From 3422499a857d51976e0c1d4875c8406ef36e654f Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Thu, 16 Jun 2005 23:47:06 +0000 Subject: 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) --- source4/librpc/rpc/dcerpc_smb.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'source4') 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; -- cgit