1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-14 19:24:43 +03:00

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)
This commit is contained in:
Andrew Tridgell 2005-06-16 23:47:06 +00:00 committed by Gerald (Jerry) Carter
parent 07c395a40b
commit 3422499a85

View File

@ -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.count = blob->length;
io.writex.in.data = blob->data; 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); req = smb_raw_write_send(smb->tree, &io);
if (req == NULL) { if (req == NULL) {
return NT_STATUS_NO_MEMORY; return NT_STATUS_NO_MEMORY;