summaryrefslogtreecommitdiff
path: root/source3/librpc/rpc
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 Sorce3-432/+1
Signed-off-by: Günther Deschner <gd@samba.org>
2010-09-23spnego: avoid explicit dependency on dcerpc specific structuresSimo Sorce3-42/+58
Signed-off-by: Günther Deschner <gd@samba.org>
2010-09-23gssapi: avoid explicit dependency on dcerpc specific structuresSimo Sorce1-1/+3
Signed-off-by: Günther Deschner <gd@samba.org>
2010-09-23s3-dcerpc: move crypto stuff in /librpc/cryptoSimo Sorce6-1530/+2
Signed-off-by: Günther Deschner <gd@samba.org>
2010-09-15s3-rpc_server: Added helper functions to read data from a ncacn socket.Simo Sorce1-0/+4
Signed-off-by: Andreas Schneider <asn@cynapses.org>
2010-09-07Add unique IP address binding for client connections (EPM and ncacn_ip_tcp ↵Julien Kerihuel1-0/+4
levels) This allows for binding strings like this: ncacn_ip_tcp:host[localaddress=192.168.2.1,seal] which will force the connection to be locally bound to the specified IP address Signed-off-by: Andrew Tridgell <tridge@samba.org>
2010-09-04librpc/rpc: add dcerpc_binding_handle_set_timeout()Stefan Metzmacher1-0/+3
metze
2010-09-04librpc/rpc: add set_timeout() to dcerpc_binding_handle_opsStefan Metzmacher1-0/+2
metze
2010-09-02s3-kerberos: use krb5 compat macros in fill_keytab_from_password()Simo Sorce1-1/+1
This one uses the compat macro in the right way, without actually breaking the code. Signed-off-by: Günther Deschner <gd@samba.org>
2010-09-02Revert "s3-kerberos: use krb5 compat macros in fill_keytab_from_password()."Simo Sorce1-1/+6
This reverts commit 9986d25ed195ee77bd73c96f057c527b4c3a8f03. This patch was causing us to free unallocated memory. Signed-off-by: Günther Deschner <gd@samba.org>
2010-08-31s3-kerberos: use more krb5 compat macros in get_mem_keytab_from_secrets().Günther Deschner1-16/+22
Guenther
2010-08-31s3-kerberos: use smb_get_enctype_from_kt_entry() inGünther Deschner1-1/+1
get_mem_keytab_from_secrets(). Guenther
2010-08-31s3-kerberos: use get_kerberos_allowed_etypes in fill_keytab_from_password().Günther Deschner1-1/+1
Guenther
2010-08-31s3-kerberos: use krb5 compat macros in fill_keytab_from_password().Günther Deschner1-6/+1
Guenther
2010-08-31s3-kerberos: fix flush_keytab() compile with heimdal.Günther Deschner1-1/+1
krb5_kt_cursor is not a pointer in heimdal but a struct. Guenther
2010-08-30dcerpc-gssapi: include missing dcerpc_krb5.h header.Günther Deschner1-0/+1
Guenther
2010-08-30dcerpc-gssapi: fix "shadows a global declaration" warning when gssapi is ↵Günther Deschner1-1/+1
unavailable. Guenther
2010-08-30dcerpc-gssapi: add function to retrieve client nameSimo Sorce2-0/+44
Signed-off-by: Günther Deschner <gd@samba.org>
2010-08-30dcerpc-gssapi: add function to extract authtimeSimo Sorce2-0/+54
Signed-off-by: Günther Deschner <gd@samba.org>
2010-08-30dcerpc-gssapi: add function to extract authorization data (PAC) form gssapi ↵Simo Sorce2-4/+63
context Signed-off-by: Günther Deschner <gd@samba.org>
2010-08-30dcerpc-gssapi: add function to check flagsSimo Sorce1-2/+30
Signed-off-by: Günther Deschner <gd@samba.org>
2010-08-30dcerpc-gssapi: add initial server side codeSimo Sorce2-12/+229
Signed-off-by: Günther Deschner <gd@samba.org>
2010-08-30s3-dcerpc: add krb5 helpersSimo Sorce2-0/+411
Signed-off-by: Günther Deschner <gd@samba.org>
2010-08-26s3-build: only include rpc_misc.h where needed.Günther Deschner1-0/+2
Guenther
2010-08-20s3:librpc: make dcerpc_read_ncacn_packet_send/recv() availableStefan Metzmacher1-0/+9
metze
2010-08-17s3-dcerpc: try to fix the non gssapi build.Günther Deschner1-1/+2
Guenther
2010-08-17s3-dcerpc: fix c++ build warning.Günther Deschner1-1/+1
Guenther
2010-08-17s3-dcerpc: properly implement gse/spnego_get_session_keySimo Sorce4-9/+59
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-08-12s3:rpc_client: add dcerpc_binding_handle backendStefan Metzmacher1-0/+128
metze
2010-08-03s3-dcerpc: fix some uninitialized variables build warnings.Günther Deschner1-2/+2
Guenther
2010-08-02s3-build: fix some c++ build warnings.Günther Deschner1-2/+2
Guenther
2010-07-30s3-dceprc: Improve dcerpc_guess_sizes() interfaceSimo Sorce2-19/+27
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 Sorce2-0/+121
2010-07-30s3-dcerpc: use common spengo wrapper code for client SPNEGO/NTLMSSPSimo Sorce3-31/+194
2010-07-30s3-dcerpc: add sign/seal support when using SPNEGO/KRB5Simo Sorce3-86/+215
2010-07-30s3-dcerpc: Add SPNEGO incapsulation for KRB5 authSimo Sorce2-0/+277
2010-07-28s3-dcerpc: Try to fix build when gssapi_ext.h is not availableSimo Sorce1-43/+39
2010-07-28Do not refernece pipe_auth_data directly in dcerpc_gssapi.cSimo Sorce2-39/+11
2010-07-28s3-dcerpc: Add sign/seal with gssapiSimo Sorce3-0/+318
2010-07-28s3-dcerpc: Add next authentication step with gssapiSimo Sorce2-2/+14
2010-07-28s3-decrpc: Introduce gssapi support for dcerpc krb5 authSimo Sorce2-0/+451
2010-07-28s3-dcerpc: Use dcerpc_AuthType in pipe_auth_dataSimo Sorce2-46/+20
2010-07-28s3-dcerpc: Make dcerpc_check_auth() common codeSimo Sorce2-0/+178
2010-07-28s3-dcerpc: Move dcerpc_add_auth_footer() to the common helpers fileSimo Sorce2-0/+218