Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
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-rpc_server: Added callbacks for init and shutdown of a rpc service. | Andreas Schneider | 1 | -1/+44 | |
This adds two callback function for each rpc service. One is for initialisation and the other for shutdown. rpc_<service>_unregister() needs to be called to execute the shutdown function. | |||||
2010-07-19 | s3-rpc_server: Don't register the same rpc commands twice. | Andreas Schneider | 1 | -6/+4 | |
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-19 | s3-auth: Simplify how we free the auth_context | Simo Sorce | 1 | -1/+1 | |
Turn the freeing function into a destructor and attach it to the auth_context. Make all callers TALLOC_FREE() the auth_context instead of calling the free function. Signed-off-by: Andrew Bartlett <abartlet@samba.org> | |||||
2010-07-17 | s3-dcerpc: Fix build and remove unneeded headers | Simo Sorce | 1 | -3/+0 | |
Sorry, botched a rebase. | |||||
2010-07-17 | s3-dcerpc: Move mere processing functions from srv_pipe_hnd.c to srv_pipe.c | Simo Sorce | 3 | -463/+492 | |
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 | 2 | -14/+16 | |
2010-07-16 | Move the remnants of rpc_parse code under registry/ | Simo Sorce | 1 | -0/+1 | |
The registry code is the only last user of this code. Move everything under registry/ and hope someone will get rid od it completely from there in the future. Signed-off-by: Günther Deschner <gd@samba.org> | |||||
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 | 3 | -82/+25 | |
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> | |||||
2010-07-16 | s3-dcerpc: Convert frag from prs_struct to a simple DATA_BLOB | Simo Sorce | 2 | -209/+133 | |
Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-07-16 | s3-dcerpc: Convert rdata from prs_struct to a simple DATA_BLOB | Simo Sorce | 3 | -51/+28 | |
Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-07-16 | s3-dcerpc: Stop using hand marshalling in create_next_pdu_noauth() | Simo Sorce | 1 | -24/+14 | |
Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-07-16 | s3-dcerpc: Stop using hand marshalling in create_next_pdu_schannel() | Simo Sorce | 1 | -87/+81 | |
Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-07-16 | s3-dcerpc: Stop using hand marshalling in create_next_pdu_ntlmssp() | Simo Sorce | 1 | -38/+38 | |
Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-07-14 | s3-dcerpc: Break memory hierarchy for shared structure | Simo Sorce | 1 | -1/+1 | |
Handles are shared among multiple pipes_struct. We cannot allocate them on any specific pipes_struct or it will vanish for all others as soon as that pipes_struct is freed, leaving back dangling pointers. Signed-off-by: Andreas Schneider <asn@samba.org> | |||||
2010-07-14 | s3-dcerpc: fix crash bug in error path of process_complete_pdu(). | Günther Deschner | 1 | -1/+1 | |
Guenther | |||||
2010-07-14 | s3:auth Change auth_ntlmssp_server_info API to return NTSTATUS | Andrew Bartlett | 1 | -3/+4 | |
This fixes a bug where register_existing_vuid() could be called with a NULL server_info if the alloction failed. Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org> | |||||
2010-07-13 | s3-libnet: better separate headers. | Günther Deschner | 1 | -1/+2 | |
Guenther | |||||
2010-07-13 | s3-dcerpc: Use dcerpc_push_ncacn_packet() in api_pipe_alter_context() | Simo Sorce | 1 | -104/+76 | |
Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-07-13 | s3-dcerpc: Use dcerpc_push_dcerpc_auth() for spnego auth continuations. | Simo Sorce | 1 | -41/+32 | |
Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-07-13 | s3-dceprc: Use dcerpc_push_ncacn_packet() in api_pipe_bind_req() | Simo Sorce | 1 | -111/+89 | |
Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-07-13 | s3-dcerpc: Use a DATA_BLOB in bind processing and avoid one mem copy | Simo Sorce | 1 | -105/+52 | |
Also move dcerpc_push_dcerpc_auth() invocation in api_pipe_bind_req() to simplify the workflow. Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-07-13 | s3-dcerpc: Rearrange api_pipe_bind_req() to do checks before allocating memory | Simo Sorce | 1 | -30/+27 | |
Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-07-13 | s3-dcerpc: fix dcerpc_push_ncacn_packet, pass arg by address | Simo Sorce | 1 | -2/+2 | |
There is no need to copy the whole structure twice by passing it in by value. Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-07-13 | s3-dcerpc: pass the packet to setup_bind_nack() | Simo Sorce | 1 | -6/+6 | |
Allows to not rely on p->call_id but use the value directly from the request packet header. Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-07-13 | s3-dceprc: Add debug messages | Simo Sorce | 1 | -0/+10 | |
Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-07-13 | s3-dcerpc: Remove unused functions | Simo Sorce | 2 | -375/+0 | |
Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-07-13 | s3-dcerpc: Use dcerpc_pull_ncacn_packet() to unmarshall dceprc requests | Simo Sorce | 2 | -385/+399 | |
Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-07-13 | s3-dceprc: Store opnum in its own variable | Simo Sorce | 7 | -13/+16 | |
Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-07-13 | s3-dceprc use a DATA_BLOB to hold the curren pdu in pipes_struct | Simo Sorce | 2 | -39/+34 | |
Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-07-13 | s3-dcerpc: use dceprc_push_ncacn_packet_header in create_next_pdu_noauth() | Simo Sorce | 1 | -17/+23 | |
Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-07-13 | s3-dcerpc: Use dcerpc_push_ncacn_packet_header() in create_next_pdu_schannel() | Simo Sorce | 1 | -15/+27 | |
Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-07-13 | s3-dcerpc: use dcerpc_push_ncacn_packet_header() in create_next_pdu_ntlmssp() | Simo Sorce | 1 | -21/+26 | |
Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-07-13 | s3-dcerpc delay rpc header unmarshalling | Simo Sorce | 1 | -49/+70 | |
Use dcerpc_get_frag_length() to get the whole pdu first Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-07-13 | s3-dcerpc: Use dcerpc_set_frag_length() | Simo Sorce | 1 | -4/+5 | |
Automatically calculate the fragment length where possible. Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-07-08 | s3-dcerpc: Use dcerpc_pull_dcerpc_auth in api_pipe_bind_auth3() | Simo Sorce | 1 | -19/+13 | |
2010-07-08 | s3-dcerpc: Use dcerpc_auth in api_pipe_bind_req() | Simo Sorce | 1 | -82/+85 | |
2010-07-08 | s3-rpc: when using rpc_pipe_open_internal, make sure to go through NDR. | Günther Deschner | 4 | -10/+154 | |
Otherwise a lot of information that is usually generated in the ndr_push remains in an uninitialized state. Guenther | |||||
2010-07-08 | s3:dcerpc Use prs_parse_dcerpc_bind | Simo Sorce | 1 | -27/+36 | |
2010-07-08 | s3:rpc user idl define dcerpc_ctx_list instead of custom RPC_CONTEXT | Simo Sorce | 1 | -9/+13 | |
2010-07-07 | s3-dcerpc: use dcerpc_push_ncacn_packet() for setup_fault_pdu(). | Günther Deschner | 1 | -28/+18 | |
Guenther Signed-off-by: Simo Sorce <idra@samba.org> |