mirror of
https://github.com/samba-team/samba.git
synced 2025-01-13 13:18:06 +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 9df569f023
)
This commit is contained in:
parent
07c395a40b
commit
3422499a85
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user