From Elrond@Wunder-Nett.org Thu Feb 24 08:11:57 2000
Date: Wed, 23 Feb 2000 19:28:08 +0100
From: Elrond <Elrond@Wunder-Nett.org>
To: Luke Kenneth Casson Leighton <lkcl@samba.org>
Subject: receiving multiple pdus
Hi Luke,
Someone ran rpcclients enumusers against a 2500 user domain
yesterday... and it crashed...
The code to receive multiple pdus is broken...
I fixed most of the things, I could find out myself, but in
rpc_client/cli_connect.c:rpc_api_rcv_pdu() in the
MSRPC_LOCAL-case, I don't know, what you wanted there.
(ret = ...; ret = ...;)
What I did:
- fixed receiving of multiple pdus
(now you should be able to run rpcclient against your
favorite 2500 user domain)
- fixed some possible problem in become_guest
(I realy should write something to samba-technical, this
one is possibly interesting for HEAD/2.0 too)
- fixed up some copyrights (I know, I modified those)
Elrond
[lkcl: the code that elrond fixed was to read a dce/rpc header of
0x18 bytes. i _thought_ i'd removed this code and replaced it
with read-an-entire-pdu. it _is_ ok to do this, because the last
pdu turns up short when using SMBs. you request 0x1630 bytes and
you only get... say.... 0x40, 0x18 of which is the header and the
rest is the last part of the last PDU]