summaryrefslogtreecommitdiffstats
path: root/source3/rpc_server
Commit message (Collapse)AuthorAgeFilesLines
* s3-auth rename auth_ntlmssp_steal_session_info()Andrew Bartlett2011-08-031-1/+1
| | | | | | | | There is no longer any theft of memory as the underlying routines now produce a new auth_session_info for this caller, allocating it on the supplied memory context. Andrew Bartlett
* s3-auth set session_info->sanitized_username in create_local_token()Andrew Bartlett2011-08-031-1/+2
| | | | | | | | | | | Rather than passing this value around the callers, and eventually setting it in register_existing_vuid(), we simply pass it to create_local_token(). This also removes the need for auth_ntlmssp_get_username(). Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s3-ntlmssp Split auth_ntlmssp_start into two functionsAndrew Bartlett2011-08-031-2/+9
| | | | | | | | | This helps map on to the GENSEC semantics better, and ensures that the full set of desired features are set before the mechanism starts. Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s3-ntlmssp Remove calls to auth_ntlmssp_and_flags from the serverAndrew Bartlett2011-08-031-7/+2
| | | | | | | | | | | | This is changed so that the callers ask for the additional flags that they need, starting with no additional flags. This helps to create a proper abstraction layer in ntlmssp_wrap/auth_ntlmssp. Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s3-ntlmssp Add mem_ctx argument to auth_ntlmssp_updateAndrew Bartlett2011-08-031-7/+2
| | | | | | | | This clarifies the lifetime of the returned token. Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s3-rpc_server use session_info to print user detailsAndrew Bartlett2011-08-031-4/+3
| | | | | | | | | | | | | | | This is the authoritative source for what the user was actually authenticated as. The previous message printed only what they claimed, and the DC might map this. The workstation is no longer printed in the logs, as it allows auth_ntlmssp_get_client() to be removed. Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s3:spoolss: make use of cli_state_protocol()Stefan Metzmacher2011-08-021-1/+1
| | | | metze
* s3-rpc_server: Only setup tcpip ports if epmapper is enabled.Andreas Schneider2011-08-011-2/+4
| | | | | Autobuild-User: Andreas Schneider <asn@cryptomilk.org> Autobuild-Date: Mon Aug 1 12:31:59 CEST 2011 on sn-devel-104
* s3-rpc_server: Use rpc_spoolss_mode().Andreas Schneider2011-08-011-9/+9
|
* s3-rpc_server: Add rpc_spoolss_mode().Andreas Schneider2011-08-012-0/+30
|
* s3-rpc_server: Enable endpoint mapper as daemon by default.Andreas Schneider2011-08-011-1/+1
|
* s3-rpc_server: Use rpc_epmapper_mode().Andreas Schneider2011-08-011-129/+30
| | | | | Remove embedded mode cause this will not work. It was only there for testing.
* s3-rpc_server: Add rpc_epmapper_mode().Andreas Schneider2011-08-012-0/+35
|
* s3-rpc_server: Disable listening on tcpip ports by default.Andreas Schneider2011-08-011-8/+17
|
* s3-epmd: Use rpc_setup_tcpip_sockets().Andreas Schneider2011-08-011-73/+14
|
* s3-rpc_server: Use binding vector in rpc_ep_try_register().Andreas Schneider2011-08-014-517/+663
|
* s3-rpc_server: Add RPC socket helper functions.Andreas Schneider2011-08-012-0/+311
|
* s3-rpc_server: Rename to rpc service setup.Andreas Schneider2011-08-013-2/+2
|
* s3-rpc_server: Move the endpoint registration to own file.Andreas Schneider2011-08-014-324/+404
|
* s3-rpc_server: Added common function to create tcpip socket.Andreas Schneider2011-08-011-23/+36
|
* s3-lsa: Fix crypto prototypes.Günther Deschner2011-08-011-1/+1
| | | | | | | Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Mon Aug 1 00:18:34 CEST 2011 on sn-devel-104
* s3-build: remove some unused/duplicate headers.Günther Deschner2011-07-311-1/+0
| | | | Guenther
* s3-lsa: support secret objects in _lsa_QuerySecurity().Günther Deschner2011-07-311-0/+1
| | | | Guenther
* s3-lsa: support secret objects in _lsa_DeleteObject().Günther Deschner2011-07-311-0/+6
| | | | Guenther
* s3-lsa: implement _lsa_QuerySecret().Günther Deschner2011-07-311-6/+86
| | | | Guenther
* s3-lsa: implement _lsa_SetSecret().Günther Deschner2011-07-311-2/+66
| | | | Guenther
* s3-lsa: implement _lsa_CreateSecret().Günther Deschner2011-07-311-2/+78
| | | | Guenther
* s3-lsa: implement _lsa_OpenSecret().Günther Deschner2011-07-311-2/+58
| | | | Guenther
* s3-lsa: add LSA_HANDLE_SECRET_TYPE.Günther Deschner2011-07-311-1/+2
| | | | Guenther
* s3-lsa: Fix _lsa_DeleteObject to handle trusted domain objects.Günther Deschner2011-07-311-0/+6
| | | | Guenther
* s3:dbwrap: move all .c and .h files of dbwrap to lib/dbwrap/Michael Adam2011-07-291-1/+1
| | | | | Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Fri Jul 29 13:34:22 CEST 2011 on sn-devel-104
* s3-rpc_server: Use talloc for pipe_rpc_fnsSimo Sorce2011-07-283-22/+7
| | | | | | | | | Everything uses talloc in the rpc server nowadays, remove this ancient use of malloc. This also allows us to remove the free fucntion and let talloc handle it properly. Autobuild-User: Simo Sorce <idra@samba.org> Autobuild-Date: Thu Jul 28 17:41:08 CEST 2011 on sn-devel-104
* s3-rpc_server: remove useless codeSimo Sorce2011-07-281-3/+1
| | | | | We do not reuse pies_struct so there is no reason to SERO_STRUCT() it when we are freeing it as we are done using it anyways.
* s3-rpc_server: remove unnecessary talloc_freeSimo Sorce2011-07-281-2/+0
| | | | | | The auth_ctx is a child of pipes_struct, and this function is a used only as a destructor on pipes_struct. So it is not really necessary to free this struct in the destructor as it will be freed soon enough anyway.
* s3-rpc_server: Remove dead codeSimo Sorce2011-07-281-16/+0
| | | | srv_str and cli_str are not used anymore.
* s3-spoolss: Use existing handle in printer_driver_files_in_use().Andreas Schneider2011-07-281-4/+2
| | | | | Autobuild-User: Andreas Schneider <asn@cryptomilk.org> Autobuild-Date: Thu Jul 28 16:20:11 CEST 2011 on sn-devel-104
* s3-spoolss: Use existing handle in printer_driver_in_use().Andreas Schneider2011-07-281-4/+2
|
* s3-spoolss: Use get_session_info_system().Andreas Schneider2011-07-271-19/+2
| | | | | Autobuild-User: Andreas Schneider <asn@cryptomilk.org> Autobuild-Date: Wed Jul 27 10:38:34 CEST 2011 on sn-devel-104
* s3-spoolss: Free the info2 structure in _spoolss_GetPrinter.Andreas Schneider2011-07-271-0/+1
|
* s3-spoolss: Use tmp_ctx everywhere in _spoolss_DeletePrinterDriverEx.Andreas Schneider2011-07-271-6/+6
|
* s3-spoolss: Use tmp_ctx in winreg_enum_printer_key_internal.Andreas Schneider2011-07-271-7/+20
|
* s3-spoolss: Use tmp_ctx in winreg_printer_deleteform1_internal.Andreas Schneider2011-07-271-4/+17
|
* s3-spoolss: Use tmp_ctx in winreg_printer_setform1_internal.Andreas Schneider2011-07-271-5/+18
|
* s3-spoolss: Use tmp_ctx in winreg_printer_addform1_internal.Andreas Schneider2011-07-271-4/+17
|
* s3-spoolss: Use tmp_ctx in winreg_printer_getform1_internal.Andreas Schneider2011-07-271-5/+18
|
* s3-spoolss: Use tmp_ctx in winreg_printer_enumforms1_internal.Andreas Schneider2011-07-271-5/+18
|
* s3-spoolss: Use tmp_ctx in winreg_set_printer_secdesc_internal.Andreas Schneider2011-07-271-5/+18
|
* s3-spoolss: Use tmp_ctx in winreg_get_printer_secdesc_internal.Andreas Schneider2011-07-271-5/+18
|
* s3-spoolss: Use tmp_ctx in winreg_add_driver_internal.Andreas Schneider2011-07-271-6/+19
|
* s3-spoolss: Use tmp_ctx in winreg_del_driver_internal.Andreas Schneider2011-07-271-5/+18
|