Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | s3:rpc_client: rename pipe_auth_data->user_session_key to transport_session_key | Stefan Metzmacher | 2012-08-01 | 1 | -1/+1 |
| | | | | metze | ||||
* | s3-rpcclient: add fsrvp commands | David Disseldorp | 2012-06-08 | 1 | -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 authentication | Andrew Bartlett | 2012-02-16 | 1 | -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_hook | Andrew Bartlett | 2012-02-16 | 1 | -2/+0 |
| | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> | ||||
* | s3-librpc Remove special case for spnego dcerpc sign/seal | Andrew Bartlett | 2012-01-18 | 1 | -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_security | Andrew Bartlett | 2012-01-18 | 1 | -3/+1 |
| | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> | ||||
* | s3-librpc Call SPENGO/GSSAPI via the auth_generic layer and gensec | Andrew Bartlett | 2012-01-18 | 1 | -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 gensec | Andrew Bartlett | 2012-01-18 | 1 | -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 generic | Andrew Bartlett | 2012-01-11 | 1 | -5/+5 |
| | | | | | | | | This can handle any gensec auth type now. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org> | ||||
* | s3-librpc remove unused headers | Andrew Bartlett | 2012-01-05 | 1 | -2/+0 |
| | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> | ||||
* | s3-librpc Use gensec_sig_size() instead of a fixed NTLMSSP_SIG_SIZE | Andrew Bartlett | 2011-12-22 | 1 | -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 code | Andrew Bartlett | 2011-10-21 | 1 | -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}_packet | Andrew Bartlett | 2011-10-21 | 1 | -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/ntlmssp | Andrew Bartlett | 2011-10-18 | 1 | -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 Sorce | 2011-08-21 | 1 | -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 tests | Andrew Bartlett | 2011-08-03 | 1 | -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 memory | Andrew Bartlett | 2011-08-03 | 1 | -2/+2 |
| | | | | Signed-off-by: Andrew Tridgell <tridge@samba.org> | ||||
* | s3-librpc: Remove obsolete dcerpc_binding_vector_create(). | Andreas Schneider | 2011-08-01 | 2 | -111/+0 |
| | |||||
* | s3-librpc: Add dcerpc_binding_vector_replace_iface(). | Andreas Schneider | 2011-08-01 | 2 | -0/+27 |
| | |||||
* | s3-librpc: Add dcerpc_binding_vector_dup(). | Andreas Schneider | 2011-08-01 | 2 | -0/+45 |
| | |||||
* | s3-librpc: Add dcerpc_binding_vector_add_unix(). | Andreas Schneider | 2011-08-01 | 2 | -0/+68 |
| | |||||
* | s3-librpc: Add dcerpc_binding_vector_add_port(). | Andreas Schneider | 2011-08-01 | 2 | -0/+75 |
| | |||||
* | s3-librpc: Add dcerpc_binding_vector_add_np_default(). | Andreas Schneider | 2011-08-01 | 2 | -0/+79 |
| | |||||
* | s3-librpc: Add dcerpc_binding_vector_new(). | Andreas Schneider | 2011-08-01 | 2 | -2/+53 |
| | |||||
* | s3-librpc: Pass messaging context to dcerpc register functions. | Andreas Schneider | 2011-07-14 | 2 | -3/+13 |
| | |||||
* | s3-rpc_server: Migrate rpc function to tsocket_address. | Andreas Schneider | 2011-07-04 | 1 | -5/+13 |
| | | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org> | ||||
* | s3-param Remove special case for global_myname(), rename to lp_netbios_name() | Andrew Bartlett | 2011-06-09 | 1 | -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 Bartlett | 2011-05-18 | 1 | -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 Deschner | 2011-05-02 | 1 | -1/+0 |
| | | | | | | needed). Guenther | ||||
* | s3: move pipe_auth_data to dcerpc.h | Günther Deschner | 2011-05-02 | 1 | -1/+14 |
| | | | | Guenther | ||||
* | s3-proto: remove duplicate prototypes. | Günther Deschner | 2011-04-29 | 1 | -0/+1 |
| | | | | Guenther | ||||
* | s3-proto: move more librpc prototypes to librpc/rpc/dcerpc.h | Günther Deschner | 2011-04-29 | 2 | -0/+9 |
| | | | | Guenther | ||||
* | s3-build: remove some unused headers. | Günther Deschner | 2011-04-29 | 1 | -1/+0 |
| | | | | Guenther | ||||
* | s3-librpc: let librpc/rpc/dcerpc.h include ndr and generated dcerpc headers. | Günther Deschner | 2011-04-12 | 1 | -0/+2 |
| | | | | Guenther | ||||
* | s3-includes: only include ntdomain.h where needed. | Günther Deschner | 2011-03-30 | 1 | -0/+1 |
| | | | | Guenther | ||||
* | s3-auth: rpc_server needs auth.h | Günther Deschner | 2011-03-30 | 1 | -0/+1 |
| | | | | Guenther | ||||
* | librpc: bring more librpc prototypes in common. | Günther Deschner | 2011-03-23 | 1 | -20/+0 |
| | | | | Guenther | ||||
* | s3-rpc_server: Implement an endpoint monitor loop. | Andreas Schneider | 2011-03-23 | 1 | -1/+1 |
| | |||||
* | s3-librpc: Leave the epm registration connection open. | Andreas Schneider | 2011-03-23 | 2 | -13/+55 |
| | |||||
* | librpc/rpc: move DCERPC_ flags to rpc_common.h | Stefan Metzmacher | 2011-03-13 | 1 | -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 flag | Stefan Metzmacher | 2011-03-13 | 1 | -0/+2 |
| | | | | | | With this they're in sync with source4. metze | ||||
* | librpc/rpc: move struct dcerpc_binding to rpc_common.h | Stefan Metzmacher | 2011-03-13 | 1 | -15/+0 |
| | | | | metze | ||||
* | s3:librpc/rpc: add target_principal to struct dcerpc_binding | Stefan Metzmacher | 2011-03-13 | 2 | -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.h | Stefan Metzmacher | 2011-03-13 | 1 | -10/+5 |
| | | | | metze | ||||
* | librpc/rpc: move dcerpc_binding_handle stuff to rpc_common.h | Stefan Metzmacher | 2011-03-11 | 1 | -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 hack | Stefan Metzmacher | 2011-03-11 | 1 | -10/+0 |
| | | | | metze | ||||
* | s3-epmap: fix uninitialized variable in ep_register() | Günther Deschner | 2011-03-08 | 1 | -0/+1 |
| | | | | | | Guenther Signed-off-by: Günther Deschner <gd@samba.org> | ||||
* | s3-librpc: Register NCALRPC pipes. | Andreas Schneider | 2011-03-08 | 2 | -1/+16 |
| | | | | Signed-off-by: Günther Deschner <gd@samba.org> | ||||
* | s3-rpc_server: Introduce transport in pipe_struct. | Andreas Schneider | 2011-03-08 | 1 | -0/+1 |
| | | | | Signed-off-by: Günther Deschner <gd@samba.org> | ||||
* | s3-librpc: Register endpoints using ncalrpc. | Andreas Schneider | 2011-03-08 | 1 | -36/+56 |
| | | | | Signed-off-by: Günther Deschner <gd@samba.org> |