Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2011-03-08 | s3-rpc_server: Free unused memory. | Andreas Schneider | 1 | -0/+2 | |
Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2011-03-08 | s3-rpc_server: Add server support for NCALRPC system user pipe. | Andreas Schneider | 1 | -0/+22 | |
Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2011-03-01 | s3-rpc_server Handle session key as a constant buffer | Andrew Bartlett | 1 | -28/+4 | |
This way, we don't have to check for memory allocation failures. Andrew Bartlett | |||||
2011-02-22 | s3-auth Rename auth_serversupplied_info varaiables: server_info -> session_info | Andrew Bartlett | 1 | -16/+16 | |
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> | |||||
2011-02-10 | s3-auth Rename cryptic 'ptok' to security_token | Andrew Bartlett | 1 | -2/+2 | |
This will allow the auth_serversupplied_info struct to be migrated to auth_session_info easier. Adnrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org> | |||||
2010-09-23 | s3-dcerps: check auth_type | Simo Sorce | 1 | -0/+15 | |
make sure the auth type used throught the auth operation is consistent. Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-09-23 | s3-dcerpc: remove auth_data_free_func | Simo Sorce | 1 | -11/+2 | |
Everything is using a talloc pointer now, no need to have an accessor function to free data anymore. Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-09-23 | s3-dcerpc: make auth context opaque | Simo Sorce | 1 | -53/+57 | |
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> | |||||
2010-09-23 | srv_pipe: reorganize code so that related functions are close to each other | Simo Sorce | 1 | -253/+252 | |
Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-09-23 | s3-dcerpc: finally remove the legaqcy spnego_type variable from pipe_auth_data | Simo Sorce | 1 | -4/+2 | |
Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-09-23 | s3-dcerpc: use new spnego server code | Simo Sorce | 1 | -200/+122 | |
Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-09-23 | s3-dcesrv: use gssapi helper in srv_pipe.c | Simo Sorce | 1 | -223/+46 | |
Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-09-23 | s3-dcesrv: use ntlmssp helper in srv_pipe.c | Simo Sorce | 1 | -204/+173 | |
Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-09-23 | gssapi: remove unused function argument | Simo Sorce | 1 | -4/+1 | |
Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-09-23 | gssapi: avoid explicit dependency on dcerpc specific structures | Simo Sorce | 1 | -2/+4 | |
Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-09-23 | s3-dcerpc: move crypto stuff in /librpc/crypto | Simo Sorce | 1 | -1/+1 | |
Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-08-30 | s3-dcerpc: Implement DCERPC_AUTH_TYPE_KRB5 server side | Simo Sorce | 1 | -29/+364 | |
Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-08-26 | s3-dcerpc: only include rpc_dce.h where needed. | Günther Deschner | 1 | -0/+1 | |
Guenther | |||||
2010-08-17 | s3-dcerpc: Remove unused function | Simo Sorce | 1 | -18/+0 | |
2010-08-17 | s3-dcerpc: make a few local functions as static | Simo Sorce | 1 | -4/+7 | |
2010-08-08 | s3:rpc_server: fix valgrind warning | Stefan Metzmacher | 1 | -0/+1 | |
metze | |||||
2010-08-03 | s3-dcerpc: fix some uninitialized variables build warnings. | Günther Deschner | 1 | -1/+1 | |
Guenther | |||||
2010-07-30 | s3-dcerpc: Use dcerpc_guess_sizes in the server code too. | Simo Sorce | 1 | -95/+38 | |
2010-07-30 | s3-dcerpc: rationalize packet creation in the server code | Simo Sorce | 1 | -86/+80 | |
Move all related functions into create_next_packet, but make it transport neutral (not pass in pipse_struct) | |||||
2010-07-28 | s3-dcerpc: Use dcerpc_AuthType in pipe_auth_data | Simo Sorce | 1 | -22/+25 | |
2010-07-28 | s3-dcerpc: Set flags directly instead of calling unimplemented functions. | Simo Sorce | 1 | -4/+19 | |
2010-07-28 | s3-dcerpc: Make dcerpc_check_auth() common code | Simo Sorce | 1 | -160/+0 | |
2010-07-28 | s3-dcerpc: Add the same paranoia checks we have in the client code | Simo Sorce | 1 | -0/+12 | |
2010-07-28 | s3-dcerpc: Split auth checking into a generic function. | Simo Sorce | 1 | -26/+55 | |
2010-07-28 | s3-dcerpc do not pass pipes_struct to dcesrv_auth_request() | Simo Sorce | 1 | -26/+28 | |
2010-07-28 | s3-dcerpc: Make dcesrv_auth_request() return NTSTATUS codes | Simo Sorce | 1 | -18/+24 | |
2010-07-28 | s3-dcerpc: Use the common dcerpc_add_auth_footer() in the server code | Simo Sorce | 1 | -192/+37 | |
2010-07-28 | s3-rpc_pipe: Use struct pipes_struct. | Andreas Schneider | 1 | -24/+25 | |
2010-07-21 | s3-rpc_server: Cleanup the way we free pipe auth data | Simo Sorce | 1 | -10/+13 | |
2010-07-21 | s3-dcerpc: Fix potential memleak | Simo Sorce | 1 | -1/+6 | |
Use a free function for schannel data too for now. | |||||
2010-07-21 | s3-dcerpc: Properly initialize output buffers on nak/fault | Simo Sorce | 1 | -2/+4 | |
2010-07-20 | Add approriate TALLOC_CTX's thoughout the spnego code. No more implicit NULL ↵ | Jeremy Allison | 1 | -10/+4 | |
contexts. Jeremy. | |||||
2010-07-20 | Add TALLOC_CTX argument to spnego_parse_negTokenInit, reduce | Jeremy Allison | 1 | -1/+2 | |
use of malloc, and data_blob(). Jeremy. | |||||
2010-07-20 | s3-auth: Move auth_ntlmssp wrappers in their own file | Simo Sorce | 1 | -0/+1 | |
Signed-off-by: Andrew Bartlett <abartlet@samba.org> | |||||
2010-07-20 | s3-auth: Refactor and rename auth_ntlmssp_server_info() | Simo Sorce | 1 | -1/+1 | |
Rename it to auth_ntlmssp_steal_server_info() to make it clear that the server_info struct is stolen from the auth_ntlmssp_state structure. Use talloc_move instead of manual steal&clear Add comments to explain what is going on. Signed-off-by: Andrew Bartlett <abartlet@samba.org> | |||||
2010-07-19 | Remove parse_negTokenTarg(), as it's actually incorrect. We're processing | Jeremy Allison | 1 | -1/+1 | |
negTokenInit's here. Use common code in spnego_parse_negTokenInit(). Jeremy. | |||||
2010-07-19 | s3-auth: Use talloc hierarchies to properly free auth_ntlmssp_state contexts | Simo Sorce | 1 | -6/+1 | |
Turn auth_ntlmssp_end into a destructor and attach it to auth_ntlmssp_state. Remote auth_ntlmssp_end and use TALLOC_FREE in the callers. Signed-off-by: Andrew Bartlett <abartlet@samba.org> | |||||
2010-07-17 | s3-dcerpc: Move mere processing functions from srv_pipe_hnd.c to srv_pipe.c | Simo Sorce | 1 | -0/+465 | |
2010-07-16 | s3-dcerpc: rename SCHANNEL_SIG_SIZE to NL_AUTH_SIGNATURE_SIZE and move to IDL. | Günther Deschner | 1 | -1/+1 | |
Guenther | |||||
2010-07-16 | s3-dcerpc: Fix ability to receive Big Endian PDUs | Simo Sorce | 1 | -3/+3 | |
2010-07-16 | s3-dcerpc: Use a local function to dump pdu regions | Simo Sorce | 1 | -5/+49 | |
Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-07-16 | s3-dcerpc: Use DATA_BLOB for pipes_struct input data | Simo Sorce | 1 | -12/+7 | |
Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-07-16 | s3-dceprc: Use IDL defined constants for length calculations | Simo Sorce | 1 | -9/+9 | |
Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-07-16 | s3-dcerpc: Padding is never done on a DCERPC_PKT_BIND_ACK packet. | Simo Sorce | 1 | -24/+2 | |
Empirically verified against Windows. It never pads the auth credentials on this packet type. Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-07-16 | s3-dcerpc: consolidate respones packet creation code | Simo Sorce | 1 | -448/+231 | |
Signed-off-by: Günther Deschner <gd@samba.org> |