mirror of
https://github.com/samba-team/samba.git
synced 2024-12-29 11:21:54 +03:00
24c22aef90
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.
(This used to be commit
|
||
---|---|---|
.. | ||
.cvsignore | ||
atsvc.idl | ||
browser.idl | ||
dcerpc.idl | ||
dcom.idl | ||
dfs.idl | ||
echo.idl | ||
epmapper.idl | ||
eventlog.idl | ||
idl_types.h | ||
keysvc.idl | ||
lsa.idl | ||
mgmt.idl | ||
misc.idl | ||
netlogon.idl | ||
ntsvcs.idl | ||
protected_storage.idl | ||
samr.idl | ||
scerpc.idl | ||
spoolss.idl | ||
srvsvc.idl | ||
trkwks.idl | ||
w32time.idl | ||
winreg.idl | ||
wkssvc.idl | ||
wzcsvc.idl |