diff options
author | Andrew Tridgell <tridge@samba.org> | 2006-09-20 16:35:05 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:19:04 -0500 |
commit | f4c49e8ef2c22a89fec8b79840fddfb018b2c6f8 (patch) | |
tree | 805231d628b799f9b53dcc7e099866917101e1a1 /source4/librpc/rpc | |
parent | 19f9b91d288c781e71539804467c9c9726e1060d (diff) | |
download | samba-f4c49e8ef2c22a89fec8b79840fddfb018b2c6f8.tar.gz samba-f4c49e8ef2c22a89fec8b79840fddfb018b2c6f8.tar.bz2 samba-f4c49e8ef2c22a89fec8b79840fddfb018b2c6f8.zip |
r18716: put in a commented out useful hack for some RPC servers
(This used to be commit fcf6d827199eac83fa424f2eb87a72ed8463e150)
Diffstat (limited to 'source4/librpc/rpc')
-rw-r--r-- | source4/librpc/rpc/dcerpc.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/source4/librpc/rpc/dcerpc.c b/source4/librpc/rpc/dcerpc.c index 6ae84a5f22..bfdf93a0f3 100644 --- a/source4/librpc/rpc/dcerpc.c +++ b/source4/librpc/rpc/dcerpc.c @@ -819,6 +819,14 @@ static void dcerpc_request_recv_data(struct dcerpc_connection *c, 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); |