summaryrefslogtreecommitdiff
path: root/source3/librpc/rpc/dcerpc_helpers.c
AgeCommit message (Collapse)AuthorFilesLines
2010-09-23s3-dcerpc: Use spnego own sign/seal functionsSimo Sorce1-64/+47
Signed-off-by: Günther Deschner <gd@samba.org>
2010-09-23s3-dcerpc: make auth context opaqueSimo Sorce1-16/+41
This way we always double check in advance that the context is of the right type with talloc_get_type_abort instead of potentially accessing random memory by addressing the wrong structure in the union. Signed-off-by: Günther Deschner <gd@samba.org>
2010-09-23s3-dcerpc: finally remove the legaqcy spnego_type variable from pipe_auth_dataSimo Sorce1-26/+0
Signed-off-by: Günther Deschner <gd@samba.org>
2010-09-23s3-dcerpc: move client spnego stuff in /librpc/cryptoSimo Sorce1-1/+1
Signed-off-by: Günther Deschner <gd@samba.org>
2010-09-23spnego: avoid explicit dependency on dcerpc specific structuresSimo Sorce1-9/+9
Signed-off-by: Günther Deschner <gd@samba.org>
2010-09-23s3-dcerpc: move crypto stuff in /librpc/cryptoSimo Sorce1-1/+1
Signed-off-by: Günther Deschner <gd@samba.org>
2010-08-17s3-dcerpc: Pull packet in the caller, before validationSimo Sorce1-0/+1
2010-08-13s3-dcerpc: fix build warning seen with -O3.Günther Deschner1-3/+3
"warning: assuming signed overflow does not occur when assuming that (X + c) < X is always false" Guenther
2010-07-30s3-dceprc: Improve dcerpc_guess_sizes() interfaceSimo Sorce1-18/+25
Make it possible to pass in the NDR padding size so that theoretically client and server code can decide to use a different alignment. Pass in the header length as a parameter so that this function can be used for different type of packets. Make sure padding size will not make the fragment exceed the maximum length. Calculate padding taking in account the header length.
2010-07-30s3-dcerpc: rationalize packet creation in the server codeSimo Sorce1-0/+6
Move all related functions into create_next_packet, but make it transport neutral (not pass in pipse_struct)
2010-07-30s3-dcerpc: Make function to guess pdu sizes common.Simo Sorce1-0/+117
2010-07-30s3-dcerpc: use common spengo wrapper code for client SPNEGO/NTLMSSPSimo Sorce1-27/+83
2010-07-30s3-dcerpc: add sign/seal support when using SPNEGO/KRB5Simo Sorce1-86/+192
2010-07-28s3-dcerpc: Add sign/seal with gssapiSimo Sorce1-0/+86
2010-07-28s3-dcerpc: Use dcerpc_AuthType in pipe_auth_dataSimo Sorce1-13/+20
2010-07-28s3-dcerpc: Make dcerpc_check_auth() common codeSimo Sorce1-0/+172
2010-07-28s3-dcerpc: Move dcerpc_add_auth_footer() to the common helpers fileSimo Sorce1-0/+216
2010-07-16s3-dcerpc: Fix ability to receive Big Endian PDUsSimo Sorce1-6/+30
2010-07-16s3-dcerpc: Move common helpers into a common fileSimo Sorce1-0/+212
Signed-off-by: Günther Deschner <gd@samba.org>