summaryrefslogtreecommitdiffstats
path: root/source3/librpc/rpc
Commit message (Collapse)AuthorAgeFilesLines
* s3-rpc_client: Move client pipe functions to own header.Andreas Schneider2011-02-281-0/+1
|
* s3-auth Rename auth_serversupplied_info varaiables: server_info -> session_infoAndrew Bartlett2011-02-221-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>
* s3-librpc: Only register NCACN_NP.Andreas Schneider2011-02-211-9/+22
| | | | This is the only transport we support at the moment.
* s3-librpc: no need to globally include endpointmapper headers.Günther Deschner2011-02-141-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
* s3-librpc: remove duplicate prototypes.Günther Deschner2011-02-141-1/+14
| | | | Guenther
* Fix a couple of missing checks on talloc returns.Jeremy Allison2011-02-021-0/+5
| | | | | Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Wed Feb 2 22:23:46 CET 2011 on sn-devel-104
* s3-epmap: use correct dcerpc client header in dcerpc_ep.cGünther Deschner2011-02-021-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
* s3-librpc: Added dcerpc_binding_vector_create function.Andreas Schneider2011-02-022-16/+107
|
* s3-librpc: Added dcerpc register endpoint functions.Andreas Schneider2011-02-022-0/+231
|
* s3:librpc: remove prototype of dcerpc_binding_handle_set_ref_alloc()Stefan Metzmacher2011-01-211-3/+0
| | | | | | This function doesn't exist anymore. metze
* s3:librpc: use netsec_outgoing_sig_size() instead of a hardcoded signatureStefan Metzmacher2011-01-031-1/+4
| | | | | | size metze
* s3-dcerpc: Use spnego own sign/seal functionsSimo Sorce2010-09-231-64/+47
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* s3-dcerpc: make auth context opaqueSimo Sorce2010-09-231-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>
* s3-dcerpc: finally remove the legaqcy spnego_type variable from pipe_auth_dataSimo Sorce2010-09-231-26/+0
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* s3-dcerpc: move client spnego stuff in /librpc/cryptoSimo Sorce2010-09-233-432/+1
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* spnego: avoid explicit dependency on dcerpc specific structuresSimo Sorce2010-09-233-42/+58
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* gssapi: avoid explicit dependency on dcerpc specific structuresSimo Sorce2010-09-231-1/+3
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* s3-dcerpc: move crypto stuff in /librpc/cryptoSimo Sorce2010-09-236-1530/+2
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* s3-rpc_server: Added helper functions to read data from a ncacn socket.Simo Sorce2010-09-151-0/+4
| | | | Signed-off-by: Andreas Schneider <asn@cynapses.org>
* Add unique IP address binding for client connections (EPM and ncacn_ip_tcp ↵Julien Kerihuel2010-09-071-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>
* librpc/rpc: add dcerpc_binding_handle_set_timeout()Stefan Metzmacher2010-09-041-0/+3
| | | | metze
* librpc/rpc: add set_timeout() to dcerpc_binding_handle_opsStefan Metzmacher2010-09-041-0/+2
| | | | metze
* s3-kerberos: use krb5 compat macros in fill_keytab_from_password()Simo Sorce2010-09-021-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>
* Revert "s3-kerberos: use krb5 compat macros in fill_keytab_from_password()."Simo Sorce2010-09-021-1/+6
| | | | | | | | This reverts commit 9986d25ed195ee77bd73c96f057c527b4c3a8f03. This patch was causing us to free unallocated memory. Signed-off-by: Günther Deschner <gd@samba.org>
* s3-kerberos: use more krb5 compat macros in get_mem_keytab_from_secrets().Günther Deschner2010-08-311-16/+22
| | | | Guenther
* s3-kerberos: use smb_get_enctype_from_kt_entry() inGünther Deschner2010-08-311-1/+1
| | | | | | get_mem_keytab_from_secrets(). Guenther
* s3-kerberos: use get_kerberos_allowed_etypes in fill_keytab_from_password().Günther Deschner2010-08-311-1/+1
| | | | Guenther
* s3-kerberos: use krb5 compat macros in fill_keytab_from_password().Günther Deschner2010-08-311-6/+1
| | | | Guenther
* s3-kerberos: fix flush_keytab() compile with heimdal.Günther Deschner2010-08-311-1/+1
| | | | | | krb5_kt_cursor is not a pointer in heimdal but a struct. Guenther
* dcerpc-gssapi: include missing dcerpc_krb5.h header.Günther Deschner2010-08-301-0/+1
| | | | Guenther
* dcerpc-gssapi: fix "shadows a global declaration" warning when gssapi is ↵Günther Deschner2010-08-301-1/+1
| | | | | | unavailable. Guenther
* dcerpc-gssapi: add function to retrieve client nameSimo Sorce2010-08-302-0/+44
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* dcerpc-gssapi: add function to extract authtimeSimo Sorce2010-08-302-0/+54
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* dcerpc-gssapi: add function to extract authorization data (PAC) form gssapi ↵Simo Sorce2010-08-302-4/+63
| | | | | | context Signed-off-by: Günther Deschner <gd@samba.org>
* dcerpc-gssapi: add function to check flagsSimo Sorce2010-08-301-2/+30
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* dcerpc-gssapi: add initial server side codeSimo Sorce2010-08-302-12/+229
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* s3-dcerpc: add krb5 helpersSimo Sorce2010-08-302-0/+411
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* s3-build: only include rpc_misc.h where needed.Günther Deschner2010-08-261-0/+2
| | | | Guenther
* s3:librpc: make dcerpc_read_ncacn_packet_send/recv() availableStefan Metzmacher2010-08-201-0/+9
| | | | metze
* s3-dcerpc: try to fix the non gssapi build.Günther Deschner2010-08-171-1/+2
| | | | Guenther
* s3-dcerpc: fix c++ build warning.Günther Deschner2010-08-171-1/+1
| | | | Guenther
* s3-dcerpc: properly implement gse/spnego_get_session_keySimo Sorce2010-08-174-9/+59
|
* s3-dcerpc: Pull packet in the caller, before validationSimo Sorce2010-08-171-0/+1
|
* s3-dcerpc: fix build warning seen with -O3.Günther Deschner2010-08-131-3/+3
| | | | | | "warning: assuming signed overflow does not occur when assuming that (X + c) < X is always false" Guenther
* s3:rpc_client: add dcerpc_binding_handle backendStefan Metzmacher2010-08-121-0/+128
| | | | metze
* s3-dcerpc: fix some uninitialized variables build warnings.Günther Deschner2010-08-031-2/+2
| | | | Guenther
* s3-build: fix some c++ build warnings.Günther Deschner2010-08-021-2/+2
| | | | Guenther
* s3-dceprc: Improve dcerpc_guess_sizes() interfaceSimo Sorce2010-07-302-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.
* s3-dcerpc: rationalize packet creation in the server codeSimo Sorce2010-07-301-0/+6
| | | | | Move all related functions into create_next_packet, but make it transport neutral (not pass in pipse_struct)
* s3-dcerpc: Make function to guess pdu sizes common.Simo Sorce2010-07-302-0/+121
|