CVS update: samba4/source/rpc_server

tridge at samba.org tridge at samba.org
Tue Dec 16 09:02:39 GMT 2003


Date:	Tue Dec 16 09:02:39 2003
Author:	tridge

Update of /home/cvs/samba4/source/rpc_server
In directory dp.samba.org:/tmp/cvs-serv30904

Modified Files:
	dcerpc_server.c dcesrv_auth.c 
Log Message:
a fairly large commit!

This adds support for bigendian rpc in the client. I have installed
SUN pcnetlink locally and am using it to test the samba4 rpc
code. This allows us to easily find places where we have stuffed up
the types (such as 2 uint16 versus a uint32), as testing both
big-endian and little-endian easily shows which is correct. I have now
used this to fix several bugs like that in the samba4 IDL.

In order to make this work I also had to redefine a GUID as a true
structure, not a blob. From the pcnetlink wire it is clear that it is
indeed defined as a structure (the byte order changes). This required
changing lots of Samba code to use a GUID as a structure.

I also had to fix the if_version code in dcerpc syntax IDs, as it
turns out they are a single uint32 not two uint16s.

The big-endian support is a bit ugly at the moment, and breaks the
layering in some places. More work is needed, especially on the server
side.


Revisions:
dcerpc_server.c		1.18 => 1.19
	http://www.samba.org/cgi-bin/cvsweb/samba4/source/rpc_server/dcerpc_server.c.diff?r1=1.18&r2=1.19
dcesrv_auth.c		1.2 => 1.3
	http://www.samba.org/cgi-bin/cvsweb/samba4/source/rpc_server/dcesrv_auth.c.diff?r1=1.2&r2=1.3


More information about the samba-cvs mailing list