CVS update: samba/source/rpc_server
Luke Leighton
lkcl at samba.anu.edu.au
Thu Feb 24 08:25:59 EST 2000
Date: Thursday February 24, 2000 @ 8:25
Author: lkcl
Update of /data/cvs/samba/source/rpc_server
In directory samba:/tmp/cvs-serv12800/rpc_server
Modified Files:
Tag: SAMBA_TNG
srv_srvsvc.c
Log Message:
>From Elrond at Wunder-Nett.org Thu Feb 24 08:11:57 2000
Date: Wed, 23 Feb 2000 19:28:08 +0100
From: Elrond <Elrond at Wunder-Nett.org>
To: Luke Kenneth Casson Leighton <lkcl at 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]
<a href=" mailto:lkcl at samba.org" > Luke Kenneth Casson Leighton </a>
<a href=" http://cb1.com/~lkcl" > Samba and Network Development </a>
<a href=" http://samba.org" > Samba Web site </a>
<a href=" http://www.iss.net" > Internet Security Systems, Inc. </a>
<a href=" http://mcp.com" > Macmillan Technical Publishing </a>
ISBN1578701503 DCE/RPC over SMB: Samba and Windows NT Domain Internals
More information about the samba-cvs
mailing list