svn commit: samba r7658 - in branches/SAMBA_4_0/source/librpc/rpc: .
tridge at samba.org
tridge at samba.org
Thu Jun 16 23:47:06 GMT 2005
Author: tridge
Date: 2005-06-16 23:47:06 +0000 (Thu, 16 Jun 2005)
New Revision: 7658
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=7658
Log:
don't timeout at the smb level for rpc requests as otherwise some rpc
level sign/seal mechanisms can break
Modified:
branches/SAMBA_4_0/source/librpc/rpc/dcerpc_smb.c
Changeset:
Modified: branches/SAMBA_4_0/source/librpc/rpc/dcerpc_smb.c
===================================================================
--- branches/SAMBA_4_0/source/librpc/rpc/dcerpc_smb.c 2005-06-16 23:30:02 UTC (rev 7657)
+++ branches/SAMBA_4_0/source/librpc/rpc/dcerpc_smb.c 2005-06-16 23:47:06 UTC (rev 7658)
@@ -294,6 +294,10 @@
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;
More information about the samba-cvs
mailing list