summaryrefslogtreecommitdiffstats
path: root/source3/librpc/rpc
Commit message (Collapse)AuthorAgeFilesLines
* s3:rpc_client: rename pipe_auth_data->user_session_key to transport_session_keyStefan Metzmacher2012-08-011-1/+1
| | | | metze
* s3-rpcclient: add fsrvp commandsDavid Disseldorp2012-06-081-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | fss_create_expose connects to an FSRVP server and negotiates the creation and exposure of a share shadow-copy. shadow-copies of multiple shares can be requested with a single fss_create_expose request. ddiss@plati:~> bin/rpcclient -k -U 'LURCH\administrator%password' \ ncacn_np:lutze[sign] rpcclient $> fss_create_expose backup ro hyper 381884f2-b578-45ea-b8d2-cf82491f4011: shadow-copy set created ... share hyper@{B6137E21-9CBB-4547-A21D-E7AD40D0874B} exposed as a snapshot of \\lutze\hyper fss_delete removes the shadow-copy share: rpcclient $> fss_delete hyper 381884f2-b578-45ea-b8d2-cf82491f4011 \ b6137e21-9cbb-4547-a21d-e7ad40d0874 Shadow-copies can be created read-write or read-only. Experimenting with Windows Server "8" beta, a recovery complete call is required after creating a read-write (ATTR_AUTO_RECOVERY) shadow copy. Otherwise subsequent creation requests fail with FSRVP_E_SHADOW_COPY_SET_IN_PROGRESS.
* s3-librpc: Use gensec_spnego for DCE/RPC authenticationAndrew Bartlett2012-02-161-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>
* s3-librpc: Remove unused bool gensec_hookAndrew Bartlett2012-02-161-2/+0
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3-librpc Remove special case for spnego dcerpc sign/sealAndrew Bartlett2012-01-181-92/+18
| | | | | | | | SPNEGO is implemented only in terms of gensec mechanisms now. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3-librpc: Simplify SPNEGO code now that all mechs use a struct gensec_securityAndrew Bartlett2012-01-181-3/+1
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3-librpc Call SPENGO/GSSAPI via the auth_generic layer and gensecAndrew Bartlett2012-01-181-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>
* s3-librpc Call GSSAPI via the auth_generic layer and gensecAndrew Bartlett2012-01-181-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>
* s3-librpc: rename get_ntlmssp_auth_footer to be more genericAndrew Bartlett2012-01-111-5/+5
| | | | | | | | This can handle any gensec auth type now. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3-librpc remove unused headersAndrew Bartlett2012-01-051-2/+0
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3-librpc Use gensec_sig_size() instead of a fixed NTLMSSP_SIG_SIZEAndrew Bartlett2011-12-221-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
* s3-ntlmssp Remove references to auth_ntlmssp_context from the rpc codeAndrew Bartlett2011-10-211-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>
* s3-ntlmssp use gensec_{seal,unseal,sign,check}_packetAndrew Bartlett2011-10-211-28/+29
| | | | | | | | This avoids the indirection via the auth_ntlmsssp wrapper functions. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org>
* ntlmssp: Move ntlmssp code to auth/ntlmsspAndrew Bartlett2011-10-181-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>
* s3-rpc_server: Use rpc_epmapper_mode() in ep_register()Simo Sorce2011-08-211-6/+5
| | | | | Signed-off-by: Andreas Schneider <asn@samba.org> Signed-off-by: Simo Sorce <idra@samba.org>
* selftest: test plugin_s4_dc against all ncacn_np testsAndrew Bartlett2011-08-031-0/+2
| | | | | | | Changes to the s3 epmapper behaviour seem to have fixed the rest of these tests. Andrew Bartlett
* gensec: Remove mem_ctx from calls that do not return memoryAndrew Bartlett2011-08-031-2/+2
| | | | Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s3-librpc: Remove obsolete dcerpc_binding_vector_create().Andreas Schneider2011-08-012-111/+0
|
* s3-librpc: Add dcerpc_binding_vector_replace_iface().Andreas Schneider2011-08-012-0/+27
|
* s3-librpc: Add dcerpc_binding_vector_dup().Andreas Schneider2011-08-012-0/+45
|
* s3-librpc: Add dcerpc_binding_vector_add_unix().Andreas Schneider2011-08-012-0/+68
|
* s3-librpc: Add dcerpc_binding_vector_add_port().Andreas Schneider2011-08-012-0/+75
|
* s3-librpc: Add dcerpc_binding_vector_add_np_default().Andreas Schneider2011-08-012-0/+79
|
* s3-librpc: Add dcerpc_binding_vector_new().Andreas Schneider2011-08-012-2/+53
|
* s3-librpc: Pass messaging context to dcerpc register functions.Andreas Schneider2011-07-142-3/+13
|
* s3-rpc_server: Migrate rpc function to tsocket_address.Andreas Schneider2011-07-041-5/+13
| | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s3-param Remove special case for global_myname(), rename to lp_netbios_name()Andrew Bartlett2011-06-091-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
* s3-lib Replace StrCaseCmp() with strcasecmp_m()Andrew Bartlett2011-05-181-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
* s3: remove various references to server side dcerpc structs (which are not ↵Günther Deschner2011-05-021-1/+0
| | | | | | needed). Guenther
* s3: move pipe_auth_data to dcerpc.hGünther Deschner2011-05-021-1/+14
| | | | Guenther
* s3-proto: remove duplicate prototypes.Günther Deschner2011-04-291-0/+1
| | | | Guenther
* s3-proto: move more librpc prototypes to librpc/rpc/dcerpc.hGünther Deschner2011-04-292-0/+9
| | | | Guenther
* s3-build: remove some unused headers.Günther Deschner2011-04-291-1/+0
| | | | Guenther
* s3-librpc: let librpc/rpc/dcerpc.h include ndr and generated dcerpc headers.Günther Deschner2011-04-121-0/+2
| | | | Guenther
* s3-includes: only include ntdomain.h where needed.Günther Deschner2011-03-301-0/+1
| | | | Guenther
* s3-auth: rpc_server needs auth.hGünther Deschner2011-03-301-0/+1
| | | | Guenther
* librpc: bring more librpc prototypes in common.Günther Deschner2011-03-231-20/+0
| | | | Guenther
* s3-rpc_server: Implement an endpoint monitor loop.Andreas Schneider2011-03-231-1/+1
|
* s3-librpc: Leave the epm registration connection open.Andreas Schneider2011-03-232-13/+55
|
* librpc/rpc: move DCERPC_ flags to rpc_common.hStefan Metzmacher2011-03-131-54/+0
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Sun Mar 13 20:45:53 CET 2011 on sn-devel-104
* s3:librpc/rpc: add DCERPC_ANON_FALLBACK flagStefan Metzmacher2011-03-131-0/+2
| | | | | | With this they're in sync with source4. metze
* librpc/rpc: move struct dcerpc_binding to rpc_common.hStefan Metzmacher2011-03-131-15/+0
| | | | metze
* s3:librpc/rpc: add target_principal to struct dcerpc_bindingStefan Metzmacher2011-03-132-1/+2
| | | | | | | This brings the source3 copy in sync with the source4 copy of struct dcerpc_binding. metze
* librpc/rpc: move enum dcerpc_transport_t to rpc_common.hStefan Metzmacher2011-03-131-10/+5
| | | | metze
* librpc/rpc: move dcerpc_binding_handle stuff to rpc_common.hStefan Metzmacher2011-03-111-145/+1
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Fri Mar 11 12:28:08 CET 2011 on sn-devel-104
* s3:librpc/rpc: remove unused dcerpc_pipe define hackStefan Metzmacher2011-03-111-10/+0
| | | | metze
* s3-epmap: fix uninitialized variable in ep_register()Günther Deschner2011-03-081-0/+1
| | | | | | Guenther Signed-off-by: Günther Deschner <gd@samba.org>
* s3-librpc: Register NCALRPC pipes.Andreas Schneider2011-03-082-1/+16
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* s3-rpc_server: Introduce transport in pipe_struct.Andreas Schneider2011-03-081-0/+1
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* s3-librpc: Register endpoints using ncalrpc.Andreas Schneider2011-03-081-36/+56
| | | | Signed-off-by: Günther Deschner <gd@samba.org>