svn commit: samba r18716 - in branches/SAMBA_4_0/source/librpc/rpc:
.
tridge at samba.org
tridge at samba.org
Wed Sep 20 16:35:07 GMT 2006
Author: tridge
Date: 2006-09-20 16:35:05 +0000 (Wed, 20 Sep 2006)
New Revision: 18716
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=18716
Log:
put in a commented out useful hack for some RPC servers
Modified:
branches/SAMBA_4_0/source/librpc/rpc/dcerpc.c
Changeset:
Modified: branches/SAMBA_4_0/source/librpc/rpc/dcerpc.c
===================================================================
--- branches/SAMBA_4_0/source/librpc/rpc/dcerpc.c 2006-09-20 16:33:25 UTC (rev 18715)
+++ branches/SAMBA_4_0/source/librpc/rpc/dcerpc.c 2006-09-20 16:35:05 UTC (rev 18716)
@@ -819,6 +819,14 @@
if (pkt->call_id == req->call_id) break;
}
+#if 0
+ /* useful for testing certain vendors RPC servers */
+ if (req == NULL && c->pending && pkt->call_id == 0) {
+ DEBUG(0,("HACK FOR INCORRECT CALL ID\n"));
+ req = c->pending;
+ }
+#endif
+
if (req == NULL) {
DEBUG(2,("dcerpc_request: unmatched call_id %u in response packet\n", pkt->call_id));
data_blob_free(raw_packet);
More information about the samba-cvs
mailing list