summaryrefslogtreecommitdiff
path: root/source3/librpc/rpc
AgeCommit message (Collapse)AuthorFilesLines
2011-02-28s3-rpc_client: Move client pipe functions to own header.Andreas Schneider1-0/+1
2011-02-22s3-auth Rename auth_serversupplied_info varaiables: server_info -> session_infoAndrew Bartlett1-1/+1
These variables, of type struct auth_serversupplied_info were poorly named when added into 2001, and in good consistant practice, this has extended all over the codebase in the years since. The structure is also not ideal for it's current purpose. Originally intended to convey the results of the authentication modules, it really describes all the essential attributes of a session. This rename will reduce the volume of a future patch to replaced these with a struct auth_session_info, with auth_serversupplied_info confined to the lower levels of the auth subsystem, and then eliminated. (The new structure will be the output of create_local_token(), and the change in struct definition will ensure that this is always run, populating local groups and privileges). Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-02-21s3-librpc: Only register NCACN_NP.Andreas Schneider1-9/+22
This is the only transport we support at the moment.
2011-02-14s3-librpc: no need to globally include endpointmapper headers.Günther Deschner1-0/+2
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Mon Feb 14 12:31:56 CET 2011 on sn-devel-104
2011-02-14s3-librpc: remove duplicate prototypes.Günther Deschner1-1/+14
Guenther
2011-02-02Fix a couple of missing checks on talloc returns.Jeremy Allison1-0/+5
Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Wed Feb 2 22:23:46 CET 2011 on sn-devel-104
2011-02-02s3-epmap: use correct dcerpc client header in dcerpc_ep.cGünther Deschner1-1/+1
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Wed Feb 2 19:50:02 CET 2011 on sn-devel-104
2011-02-02s3-librpc: Added dcerpc_binding_vector_create function.Andreas Schneider2-16/+107
2011-02-02s3-librpc: Added dcerpc register endpoint functions.Andreas Schneider2-0/+231
2011-01-21s3:librpc: remove prototype of dcerpc_binding_handle_set_ref_alloc()Stefan Metzmacher1-3/+0
This function doesn't exist anymore. metze
2011-01-03s3:librpc: use netsec_outgoing_sig_size() instead of a hardcoded signatureStefan Metzmacher1-1/+4
size metze
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