summaryrefslogtreecommitdiff
path: root/source3/librpc/rpc
AgeCommit message (Collapse)AuthorFilesLines
2012-02-16s3-librpc: Use gensec_spnego for DCE/RPC authenticationAndrew Bartlett1-42/+0
This ensures that we use the same SPNEGO code on session setup and on DCE/RPC binds, and simplfies the calling code as spnego is no longer a special case in cli_pipe.c A special case wrapper function remains to avoid changing the application layer callers in this patch. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-02-16s3-librpc: Remove unused bool gensec_hookAndrew Bartlett1-2/+0
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-01-18s3-librpc Remove special case for spnego dcerpc sign/sealAndrew Bartlett1-92/+18
SPNEGO is implemented only in terms of gensec mechanisms now. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-01-18s3-librpc: Simplify SPNEGO code now that all mechs use a struct gensec_securityAndrew Bartlett1-3/+1
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-01-18s3-librpc Call SPENGO/GSSAPI via the auth_generic layer and gensecAndrew Bartlett1-25/+2
This simplifies a lot of code, as we know we are always dealing with a struct gensec_security, and allows the gensec module being used to implement GSSAPI to be swapped for AD-server operation. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-01-18s3-librpc Call GSSAPI via the auth_generic layer and gensecAndrew Bartlett1-108/+3
This simplifies a lot of code, as we know we are always dealing with a struct gensec_security, and allows the gensec module being used to implement GSSAPI to be swapped when required for AD-server operation. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-01-11s3-librpc: rename get_ntlmssp_auth_footer to be more genericAndrew Bartlett1-5/+5
This can handle any gensec auth type now. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-01-05s3-librpc remove unused headersAndrew Bartlett1-2/+0
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-12-22s3-librpc Use gensec_sig_size() instead of a fixed NTLMSSP_SIG_SIZEAndrew Bartlett1-2/+7
Signed-off-by: Stefan Metzmacher <metze@samba.org> Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Thu Dec 22 20:57:27 CET 2011 on sn-devel-104
2011-10-21s3-ntlmssp Remove references to auth_ntlmssp_context from the rpc codeAndrew Bartlett1-15/+15
We always dereferenced auth_ntlmssp_state->gensec_security, so now we do not bother passing around the whole auth_ntlmssp_state. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-10-21s3-ntlmssp use gensec_{seal,unseal,sign,check}_packetAndrew Bartlett1-28/+29
This avoids the indirection via the auth_ntlmsssp wrapper functions. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-10-18ntlmssp: Move ntlmssp code to auth/ntlmsspAndrew Bartlett1-1/+1
This brings in the code from both libcli/auth and source4/auth/ntlmssp. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-08-21s3-rpc_server: Use rpc_epmapper_mode() in ep_register()Simo Sorce1-6/+5
Signed-off-by: Andreas Schneider <asn@samba.org> Signed-off-by: Simo Sorce <idra@samba.org>
2011-08-03selftest: test plugin_s4_dc against all ncacn_np testsAndrew Bartlett1-0/+2
Changes to the s3 epmapper behaviour seem to have fixed the rest of these tests. Andrew Bartlett
2011-08-03gensec: Remove mem_ctx from calls that do not return memoryAndrew Bartlett1-2/+2
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-08-01s3-librpc: Remove obsolete dcerpc_binding_vector_create().Andreas Schneider2-111/+0
2011-08-01s3-librpc: Add dcerpc_binding_vector_replace_iface().Andreas Schneider2-0/+27
2011-08-01s3-librpc: Add dcerpc_binding_vector_dup().Andreas Schneider2-0/+45
2011-08-01s3-librpc: Add dcerpc_binding_vector_add_unix().Andreas Schneider2-0/+68
2011-08-01s3-librpc: Add dcerpc_binding_vector_add_port().Andreas Schneider2-0/+75
2011-08-01s3-librpc: Add dcerpc_binding_vector_add_np_default().Andreas Schneider2-0/+79
2011-08-01s3-librpc: Add dcerpc_binding_vector_new().Andreas Schneider2-2/+53
2011-07-14s3-librpc: Pass messaging context to dcerpc register functions.Andreas Schneider2-3/+13
2011-07-04s3-rpc_server: Migrate rpc function to tsocket_address.Andreas Schneider1-5/+13
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2011-06-09s3-param Remove special case for global_myname(), rename to lp_netbios_name()Andrew Bartlett1-1/+1
There is no reason this can't be a normal constant string in the loadparm system, now that we have lp_set_cmdline() to handle overrides correctly. Andrew Bartlett
2011-05-18s3-lib Replace StrCaseCmp() with strcasecmp_m()Andrew Bartlett1-2/+2
strcasecmp_m() never needs to call to talloc, and via next_codepoint() still has an ASCII fast-path bypassing iconv() calls. Andrew Bartlett
2011-05-02s3: remove various references to server side dcerpc structs (which are not ↵Günther Deschner1-1/+0
needed). Guenther
2011-05-02s3: move pipe_auth_data to dcerpc.hGünther Deschner1-1/+14
Guenther
2011-04-29s3-proto: remove duplicate prototypes.Günther Deschner1-0/+1
Guenther
2011-04-29s3-proto: move more librpc prototypes to librpc/rpc/dcerpc.hGünther Deschner2-0/+9
Guenther
2011-04-29s3-build: remove some unused headers.Günther Deschner1-1/+0
Guenther
2011-04-12s3-librpc: let librpc/rpc/dcerpc.h include ndr and generated dcerpc headers.Günther Deschner1-0/+2
Guenther
2011-03-30s3-includes: only include ntdomain.h where needed.Günther Deschner1-0/+1
Guenther
2011-03-30s3-auth: rpc_server needs auth.hGünther Deschner1-0/+1
Guenther
2011-03-23librpc: bring more librpc prototypes in common.Günther Deschner1-20/+0
Guenther
2011-03-23s3-rpc_server: Implement an endpoint monitor loop.Andreas Schneider1-1/+1
2011-03-23s3-librpc: Leave the epm registration connection open.Andreas Schneider2-13/+55
2011-03-13librpc/rpc: move DCERPC_ flags to rpc_common.hStefan Metzmacher1-54/+0
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Sun Mar 13 20:45:53 CET 2011 on sn-devel-104
2011-03-13s3:librpc/rpc: add DCERPC_ANON_FALLBACK flagStefan Metzmacher1-0/+2
With this they're in sync with source4. metze
2011-03-13librpc/rpc: move struct dcerpc_binding to rpc_common.hStefan Metzmacher1-15/+0
metze
2011-03-13s3:librpc/rpc: add target_principal to struct dcerpc_bindingStefan Metzmacher2-1/+2
This brings the source3 copy in sync with the source4 copy of struct dcerpc_binding. metze
2011-03-13librpc/rpc: move enum dcerpc_transport_t to rpc_common.hStefan Metzmacher1-10/+5
metze
2011-03-11librpc/rpc: move dcerpc_binding_handle stuff to rpc_common.hStefan Metzmacher1-145/+1
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Fri Mar 11 12:28:08 CET 2011 on sn-devel-104
2011-03-11s3:librpc/rpc: remove unused dcerpc_pipe define hackStefan Metzmacher1-10/+0
metze
2011-03-08s3-epmap: fix uninitialized variable in ep_register()Günther Deschner1-0/+1
Guenther Signed-off-by: Günther Deschner <gd@samba.org>
2011-03-08s3-librpc: Register NCALRPC pipes.Andreas Schneider2-1/+16
Signed-off-by: Günther Deschner <gd@samba.org>
2011-03-08s3-rpc_server: Introduce transport in pipe_struct.Andreas Schneider1-0/+1
Signed-off-by: Günther Deschner <gd@samba.org>
2011-03-08s3-librpc: Register endpoints using ncalrpc.Andreas Schneider1-36/+56
Signed-off-by: Günther Deschner <gd@samba.org>
2011-03-08s3-rpc_client: Added DCERPC_AUTH_TYPE_NCALRPC bind.Andreas Schneider1-1/+4
Signed-off-by: Günther Deschner <gd@samba.org>
2011-03-08s3-librpc: Free memory we don't need.Andreas Schneider1-0/+2
Signed-off-by: Günther Deschner <gd@samba.org>