summaryrefslogtreecommitdiff
path: root/source3/rpc_client/cli_pipe.c
AgeCommit message (Collapse)AuthorFilesLines
2010-09-23s3-dcerpc: make auth context opaqueSimo Sorce1-49/+84
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-23s3-dcerpc: finally remove the legaqcy spnego_type variable from pipe_auth_dataSimo Sorce1-9/+3
Signed-off-by: Günther Deschner <gd@samba.org>
2010-09-23s3-dcerpc: move client spnego stuff in /librpc/cryptoSimo Sorce1-1/+1
Signed-off-by: Günther Deschner <gd@samba.org>
2010-09-23spnego: avoid explicit dependency on dcerpc specific structuresSimo Sorce1-5/+14
Signed-off-by: Günther Deschner <gd@samba.org>
2010-09-23gssapi: avoid explicit dependency on dcerpc specific structuresSimo Sorce1-1/+3
Signed-off-by: Günther Deschner <gd@samba.org>
2010-09-23s3-dcerpc: move crypto stuff in /librpc/cryptoSimo Sorce1-1/+1
Signed-off-by: Günther Deschner <gd@samba.org>
2010-09-17s3:rpc_client: remove unused rpc_pipe_set_hnd_state()Stefan Metzmacher1-47/+0
metze
2010-09-17s3:rpc_client: use rpc_api_pipe_send() for auth3Stefan Metzmacher1-20/+11
metze
2010-09-17s3:rpc_client: rpc_pipe_bind_step_one_done() doesn't need reply_pduStefan Metzmacher1-2/+1
metze
2010-09-17s3:rpc_client: allow DCERPC_PKT_AUTH3 via rpc_api_pipe_send/recvStefan Metzmacher1-0/+28
metze
2010-09-04s3:rpc_client: implement rpccli_bh_set_timeout()Stefan Metzmacher1-0/+10
metze
2010-08-26s3-dcerpc: only include rpc_dce.h where needed.Günther Deschner1-0/+1
Guenther
2010-08-26s3: separate out cli schannel functions that depend on cli_netlogon.Günther Deschner1-200/+0
Guenther
2010-08-24s3-dcerpc: avoid talloc_move on schannel creds in ↵Günther Deschner1-3/+7
cli_rpc_pipe_open_schannel_with_key(). Initially, the schannel creds were talloc memduped, then, during the netlogon creds client merge (baf7274fed2f1ae7a9e3a57160bf5471566e636c) they were first talloc_referenced and then later (53765c81f726a8c056cc4e57004592dd489975c9) talloc_moved. The issue with using talloc_move here is that users of that function in winbind will only be able to have two schanneled connections, as the cached schannel credentials pointer from the netlogon pipe will be set to NULL. Do a deep copy of the struct instead. Guenther
2010-08-23s3-dcerpc: Allocate structure members on the right contextSimo Sorce1-1/+1
2010-08-17s3-dcerpc: fix uninitialized variable in cli_get_session_key().Günther Deschner1-1/+1
Simo, please check. Guenther
2010-08-17s3-dcerpc: Use common send functions for ntlmssp tooSimo Sorce1-51/+12
Remove unused function.
2010-08-17s3-dcerpc: properly implement gse/spnego_get_session_keySimo Sorce1-7/+4
2010-08-17s3-dcerpc: Check data and return appropriate errorSimo Sorce1-2/+17
2010-08-17Change debug statements to use __location__Simo Sorce1-13/+11
2010-08-17s3-dcerpc: Pull packet in the caller, before validationSimo Sorce1-31/+37
2010-08-17Add my (c)Simo Sorce1-5/+6
2010-08-16s3:rpc_client: remove unused cli_do_rpc_ndr* functionsStefan Metzmacher1-9/+0
metze
2010-08-16s3:rpc_client: remove unused rpc_pipe_open_local()Stefan Metzmacher1-65/+0
metze
2010-08-12s3:rpc_client: add dcerpc_binding_handle backendStefan Metzmacher1-0/+244
metze
2010-08-03s3-dcerpc: fix some uninitialized variables build warnings.Günther Deschner1-1/+1
Guenther
2010-07-30s3-dceprc: Improve dcerpc_guess_sizes() interfaceSimo Sorce1-1/+3
Make it possible to pass in the NDR padding size so that theoretically client and server code can decide to use a different alignment. Pass in the header length as a parameter so that this function can be used for different type of packets. Make sure padding size will not make the fragment exceed the maximum length. Calculate padding taking in account the header length.
2010-07-30s3-dcerpc: Make function to guess pdu sizes common.Simo Sorce1-112/+9
2010-07-30s3-dceprc: consolidate use of dcerpc_push_dcerpc_auth()Simo Sorce1-76/+31
2010-07-30s3-dcerpc: Remove unused functionsSimo Sorce1-166/+0
2010-07-30s3-dcerpc: use common spengo wrapper code for client SPNEGO/NTLMSSPSimo Sorce1-130/+126
2010-07-30s3-dcerpc: add sign/seal support when using SPNEGO/KRB5Simo Sorce1-1/+20
2010-07-30s3-dcerpc: Add SPNEGO incapsulation for KRB5 authSimo Sorce1-12/+141
2010-07-28Do not refernece pipe_auth_data directly in dcerpc_gssapi.cSimo Sorce1-6/+44
2010-07-28s3-dcerpc: Avoid ifdef, it is handled within dcerpc_gssapi.c alreadySimo Sorce1-7/+2
2010-07-28s3-dcerpc: Add sign/seal with gssapiSimo Sorce1-6/+12
2010-07-28s3-dcerpc: Add next authentication step with gssapiSimo Sorce1-4/+88
2010-07-28s3-decrpc: Introduce gssapi support for dcerpc krb5 authSimo Sorce1-122/+31
2010-07-28s3-dcerpc: Refactor calculate_data_len_tosend()Simo Sorce1-25/+31
2010-07-28s3-dcerpc: Add auth trailer only when appropriate.Simo Sorce1-4/+16
2010-07-28s3-dcerpc: consolidate unmarshalling of dcerpc_authSimo Sorce1-72/+72
2010-07-28s3-dcerpc: revive cli_rpc_pipe_open_krb5()Simo Sorce1-1/+2
2010-07-28s3-dcerpc: Use dcerpc_AuthType in pipe_auth_dataSimo Sorce1-79/+127
2010-07-28s3-dcerpc: Cleanup and refactor create_rpc_bind_req()Simo Sorce1-34/+40
2010-07-28s3-dcerpc: Use dcerpc_check_auth in client code tooSimo Sorce1-343/+18
2010-07-28s3-dcerpc: Move dcerpc_add_auth_footer() to the common helpers fileSimo Sorce1-203/+0
2010-07-28s3-dcerpc: Introduce generic helper function to add auth trailerSimo Sorce1-66/+78
2010-07-28s3-dcerpc: Pass explicit arguments so that this is not client specificSimo Sorce1-12/+13
2010-07-28s3-dcerpc: Move marshalling of dcerpc_auth_header in the callersSimo Sorce1-48/+50
2010-07-21cleaup: Reformat cli_get_session_key()Simo Sorce1-22/+21
merge cli_get_session_key