Date: Tue Dec 16 09:01:43 2003 Author: tridge Update of /home/cvs/samba4/source/include In directory dp.samba.org:/tmp/cvs-serv30558
Modified Files: includes.h rpc_secdes.h smb.h smb_interfaces.h 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: includes.h 1.14 => 1.15 http://www.samba.org/cgi-bin/cvsweb/samba4/source/include/includes.h.diff?r1=1.14&r2=1.15 rpc_secdes.h 1.1.1.1 => 1.2 http://www.samba.org/cgi-bin/cvsweb/samba4/source/include/rpc_secdes.h.diff?r1=1.1.1.1&r2=1.2 smb.h 1.12 => 1.13 http://www.samba.org/cgi-bin/cvsweb/samba4/source/include/smb.h.diff?r1=1.12&r2=1.13 smb_interfaces.h 1.13 => 1.14 http://www.samba.org/cgi-bin/cvsweb/samba4/source/include/smb_interfaces.h.diff?r1=1.13&r2=1.14