Serious (and I *mean* serious) attempt to fix little/bigendian RPC issues.
authorJeremy Allison <jra@samba.org>
Fri, 9 Mar 2001 23:48:58 +0000 (23:48 +0000)
committerJeremy Allison <jra@samba.org>
Fri, 9 Mar 2001 23:48:58 +0000 (23:48 +0000)
commit0cd37c831d79a12a10e479bf4fa89ffe64c1292a
tree24a22873ca012678363541218f9581836a2021a3
parent1d84da779a0fe3219d77686a493d2b2fa1f8072a
Serious (and I *mean* serious) attempt to fix little/bigendian RPC issues.
We were reading the endainness in the RPC header and then never propagating
it to the internal parse_structs used to parse the data.
Also removed the "align" argument to prs_init as it was *always* set to
4, and if needed can be set differently on a case by case basis.
Now ready for AS/U testing when Herb gets it set up :-).
Jeremy.
24 files changed:
source/client/smbmount.c
source/include/ntdomain.h
source/include/proto.h
source/lib/msrpc-client.c
source/libsmb/cli_lsarpc.c
source/libsmb/clisecdesc.c
source/printing/nt_printing.c
source/rpc_client/cli_lsarpc.c
source/rpc_client/cli_netlogon.c
source/rpc_client/cli_pipe.c
source/rpc_client/cli_reg.c
source/rpc_client/cli_samr.c
source/rpc_client/cli_spoolss.c
source/rpc_client/cli_spoolss_notify.c
source/rpc_client/cli_srvsvc.c
source/rpc_client/cli_wkssvc.c
source/rpc_client/msrpc_spoolss.c
source/rpc_parse/parse_creds.c
source/rpc_parse/parse_prs.c
source/rpc_parse/parse_rpc.c
source/rpc_parse/parse_spoolss.c
source/rpc_server/srv_pipe.c
source/rpc_server/srv_pipe_hnd.c
source/smbd/nttrans.c