CVS update: samba/source/rpc_pipes

Luke Leighton lkcl at samba.anu.edu.au
Tue Dec 30 04:52:36 EST 1997


Date:	Tuesday December 30, 1997 @ 4:52
Author:	lkcl

Update of /data/cvs/samba/source/rpc_pipes
In directory samba:/tmp/cvs-serv14060

Modified Files:
      Tag: BRANCH_NTDOM
	lsaparse.c netparse.c ntclientlsa.c ntclientnet.c 
	ntclientpipe.c ntclientsamr.c ntclientsrvsvc.c pipe_hnd.c 
	pipenetlog.c pipentlsa.c pipereg.c pipesamr.c pipesrvsvc.c 
	pipeutil.c pipewkssvc.c regparse.c rpc_dce.h rpc_misc.h 
	samrparse.c smbparse.c srvparse.c wksparse.c 
Added Files:
      Tag: BRANCH_NTDOM
	prsparse.c 
Log Message:

got fed up of constantly changing the arguments of the parsing routines:
this generates huge cvs diffs.  put _all_ the parameters into a single
structure, prs_struct.

oh, i missed out a stage of the development, because i haven't done a
commit for so long.  i added a "*next" parameter to mem_buffer, and
started using it :-)

etc etc...

this version now copes with long dce/rpc responses (not requests: those
still have to be one packet.  larger packets will presumably have to
use SMBwriteX, but i've never yet seen this.  i know how to coax an
nt machine to use one: set the dce/rpc max_tsize field to a small value).

the long responses code isn't very efficient: it does an SMBreadX of
24 bytes, to get the dce/rpc header, and then does another SMBreadX of
frag_len bytes.  it notices if the FRAG_FIRST and/or FRAG_LAST fields
are set in the dce/rpc header, too...



More information about the samba-cvs mailing list