summaryrefslogtreecommitdiff
path: root/source3/librpc
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: add spnego server helpersSimo Sorce2-1/+110
squashed: add michlistMIC signature checks Signed-off-by: Günther Deschner <gd@samba.org>
2010-09-23spnego: make spnego_context publicSimo Sorce2-21/+19
Signed-off-by: Günther Deschner <gd@samba.org>
2010-09-23s3-dcerpc: move client spnego stuff in /librpc/cryptoSimo Sorce3-6/+5
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: remove unused function argumentSimo Sorce2-3/+0
Signed-off-by: Günther Deschner <gd@samba.org>
2010-09-23gssapi: avoid explicit dependency on dcerpc specific structuresSimo Sorce3-38/+15
Signed-off-by: Günther Deschner <gd@samba.org>
2010-09-23s3-dcerpc: move crypto stuff in /librpc/cryptoSimo Sorce6-14/+15
Signed-off-by: Günther Deschner <gd@samba.org>
2010-09-19libnetapi: deal with NULL data in I_NetLogonControl2().Günther Deschner1-1/+1
Guenther
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-15libnetapi: add DOMAIN_CONTROLLER_INFO_FLAGS.Günther Deschner1-1/+19
Guenther
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-16s3-waf: Added missing client option to pidl list for wbint.Andreas Schneider1-1/+1
2010-08-16s3-waf: Try to fix the idl build.Andreas Schneider1-0/+1
2010-08-14s3:winbind: remove the method REMOVE_MAPPING from winbind's APIMichael Adam1-12/+0
Michael
2010-08-14s3:winbind: remove the method SET_MAPPING from winbind's APIMichael Adam1-6/+0
Michael
2010-08-14s3:winbind: remove SET_HWM from winbind's API.Michael Adam1-5/+0
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-05s3-libnet_join: add ads.h as helper header to IDL.Günther Deschner1-1/+2
Guenther
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