summaryrefslogtreecommitdiff
path: root/source3/rpc_client
AgeCommit message (Collapse)AuthorFilesLines
2010-08-03s3-dcerpc: fix some uninitialized variables build warnings.Günther Deschner1-1/+1
Guenther
2010-07-31s3-build: avoid to globally include printing and spoolss headers.Günther Deschner1-1/+1
This shrinks precompiled headers by 3MB and will slightly speed up any build. 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
2010-07-20s3-libsmb: Use data_blob_talloc to get krb5 ticket and session keysSimo Sorce1-2/+4
2010-07-20Add approriate TALLOC_CTX's thoughout the spnego code. No more implicit NULL ↵Jeremy Allison1-4/+4
contexts. Jeremy.
2010-07-20Fix one more data_blob -> data_blob_talloc. Move away from implicit NULL ↵Jeremy Allison1-1/+3
context tallocs. Jeremy.
2010-07-20s3-dcerpc: Unifiy cli_pipe_auth_data and pipe_auth_dataSimo Sorce1-48/+56
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-07-19Remove gen_negTokenInit() - change all callers to spnego_gen_negTokenInit().Jeremy Allison1-1/+2
We now have one function to do this in all calling code. More rationalization to follow. Jeremy.
2010-07-19s3-ntlmssp: Remove ntlmssp_end and let the talloc hierarchy handle it.Simo Sorce1-1/+1
All the members are children of ntlmssp_state anyway. Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-07-18s3-rpc_client: Fixed a segfault in rpccli_samr_chng_pswd_auth_crap().Andreas Schneider1-4/+23
This fixes the WINBIND-WBCLIENT test. The test set old_lm_hash_enc_blob.length to 0 and we don't check the length here. So the memcpy segfaulted.
2010-07-17s3-dcerpc: Move common cli/srv functions into a common fileSimo Sorce1-214/+0
2010-07-17s3: Really fix the 64-bit warningsVolker Lendecke1-1/+1
Hmm. Forgot to git commit this piece, sorry :-(
2010-07-17s3: Fix some 64-bit warningsVolker Lendecke1-1/+3
2010-07-16s3-dcerpc: rename SCHANNEL_SIG_SIZE to NL_AUTH_SIGNATURE_SIZE and move to IDL.Günther Deschner1-2/+2
Guenther
2010-07-16s3-dcerpc: Fix ability to receive Big Endian PDUsSimo Sorce1-6/+6
2010-07-16s3-dcerpc: fix c++ warning.Günther Deschner1-1/+1
Guenther
2010-07-16s3-dcerpc: Use DATA_BLOB instead of prs_struct for req_dataSimo Sorce2-18/+10
Signed-off-by: Günther Deschner <gd@samba.org>
2010-07-16s3-dcerpc: Use DATA_BLOB instead of prs_struct for rpc_outSimo Sorce1-122/+108
Signed-off-by: Günther Deschner <gd@samba.org>
2010-07-16s3-dcerpc: Avoid unnecessary memory allocation for dcerpc_ctx_listSimo Sorce1-35/+7
Signed-off-by: Günther Deschner <gd@samba.org>
2010-07-16s3-dcerpc: Use DATA_BLOB instead of prs_struct for reply_pduSimo Sorce2-85/+74
Signed-off-by: Günther Deschner <gd@samba.org>
2010-07-16s3-dcerpc: Use DATA_BLOB instead of prs_struct for incoming fragmentsSimo Sorce1-169/+84
Signed-off-by: Günther Deschner <gd@samba.org>
2010-07-16s3-dcerpc: Read a pdu in 2 steps, header first the payloadSimo Sorce1-18/+8
We can't really cope with receiving more data than expected anyway as there is code that checks if the size of the buffer is consistent with pkt->frag_length and throws an error if not. Signed-off-by: Günther Deschner <gd@samba.org>
2010-07-16s3-dceprc: Use IDL defined constants for length calculationsSimo Sorce1-33/+38
Signed-off-by: Günther Deschner <gd@samba.org>
2010-07-16Reformat and cleanupSimo Sorce1-75/+75
Signed-off-by: Günther Deschner <gd@samba.org>
2010-07-16s3-dcerpc: Move common helpers into a common fileSimo Sorce1-145/+1
Signed-off-by: Günther Deschner <gd@samba.org>
2010-07-16dcerpc: remove ncacn_packet_header and related functionsSimo Sorce1-58/+0
ncacn_packet_header was an artifact and it is not necessary anymore Signed-off-by: Günther Deschner <gd@samba.org>
2010-07-16s3-dcerpc: Refactor code and stop using ncacn_packet_headerSimo Sorce1-202/+164
Signed-off-by: Günther Deschner <gd@samba.org>