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:
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.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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user