summaryrefslogtreecommitdiff
path: root/source3/rpc_client
AgeCommit message (Collapse)AuthorFilesLines
2010-07-16s3-dcerpc: Stop using hand marshalling in rpc_finish_auth3_bind_send()Simo Sorce1-15/+9
Signed-off-by: Günther Deschner <gd@samba.org>
2010-07-16s3-dcerpc: Do not parse the packet twice.Simo Sorce1-17/+7
Signed-off-by: Günther Deschner <gd@samba.org>
2010-07-16s3-dcerpc: Remove unused functionSimo Sorce1-36/+0
Signed-off-by: Günther Deschner <gd@samba.org>
2010-07-16s3-dcerpc: Do not reparse the headerSimo Sorce1-26/+15
Instead pass back and use the packet we have already parsed. Signed-off-by: Günther Deschner <gd@samba.org>
2010-07-16s3-dcerpc: Pull the whole packet at once instead of fetching just the headerSimo Sorce1-57/+68
Signed-off-by: Günther Deschner <gd@samba.org>
2010-07-16s3-dcerpc: Delay parsing rpc header in client codeSimo Sorce1-19/+21
Signed-off-by: Günther Deschner <gd@samba.org>
2010-07-13s3-dcerpc: fix dcerpc_push_ncacn_packet, pass arg by addressSimo Sorce1-5/+5
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-13sr-dcerpc: add dcerpc_push_ncacn_packet_header()Simo Sorce1-0/+36
Signed-off-by: Günther Deschner <gd@samba.org>
2010-07-13s3-dcerpc: Use dcerpc_set_frag_length()Simo Sorce1-13/+9
Automatically calculate the fragment length where possible. Signed-off-by: Günther Deschner <gd@samba.org>
2010-07-13s3-dcerpc: Fix ntlmssp sign/seal.Simo Sorce1-15/+29
Header calculation was misplaced. Signed-off-by: Günther Deschner <gd@samba.org>
2010-07-13s3-dceprc: Fix auth_length in auth3 responseSimo Sorce1-3/+2
Signed-off-by: Günther Deschner <gd@samba.org>
2010-07-12s3-dcerpc: Fix miscalculation of buffer start addressSimo Sorce1-1/+3
This was breaking schannel
2010-07-08s3-dcerpc: make dcerpc_pull_dcerpc_auth() publicSimo Sorce1-3/+3
2010-07-08s3-dcerpc: make dceprc_push_dcerpc_auth publicSimo Sorce1-7/+8
2010-07-08s3-dcerpc: use dcerpc_pull_dcerpc_auth() in ↵Simo Sorce1-13/+12
rpc_finish_spnego_ntlmssp_bind_send()
2010-07-08s3-dcerpc: use dcerpc_push_dcerpc_auth in add_schannel_auth_footer()Simo Sorce1-17/+16
2010-07-08s3-dcerpc: use dcerpc_push_dcerpc_auth() in add_ntlmssp_auth_footer()Simo Sorce1-54/+48
2010-07-08s3-dcerpc: use dcerpc_pull_dcerpc_auth() in cli_pipe_verify_schannel()Simo Sorce1-7/+13
2010-07-08s3-dcerpc: use dcerpc_push_ncacn_packet() in create_rpc_bind_auth3()Simo Sorce1-35/+30
2010-07-08Change one more use of "struct rpc_hdr_info" -> "struct ncacn_packet_header"Jeremy Allison1-9/+7
Jeremy
2010-07-08s3-dcerpc: use dcerpc_pull_ncacn_packet() for rpc_pipe_bind_step_one_done().Günther Deschner1-39/+42
Guenther Signed-off-by: Simo Sorce <idra@samba.org>
2010-07-08s3-dcerpc: use dcerpc_push_ncacn_packet() in push_next_frag().Günther Deschner1-17/+20
Guenther Signed-off-by: Simo Sorce <idra@samba.org>
2010-07-08s3-dcerpc: use dcerpc_pull_ncacn_packet() in cli_pipe_validate_current_pdu().Günther Deschner1-6/+14
Guenther Signed-off-by: Simo Sorce <idra@samba.org>
2010-07-08s3-dcerpc: use dcerpc_pull_dcerpc_auth() in cli_pipe_verify_ntlmssp().Günther Deschner1-9/+13
Guenther Signed-off-by: Simo Sorce <idra@samba.org>
2010-07-08s3-dcerpc: add dcerpc_pull_dcerpc_auth().Günther Deschner1-0/+22
Guenther Signed-off-by: Simo Sorce <idra@samba.org>
2010-07-08s3-dcerpc: use struct ncacn_packet_header instead of struct rpc_hdr_info.Günther Deschner1-58/+77
Guenther Signed-off-by: Simo Sorce <idra@samba.org>
2010-07-08s3-dcerpc: add dcerpc_pull_ncacn_packet_header().Günther Deschner1-0/+22
Guenther Signed-off-by: Simo Sorce <idra@samba.org>
2010-07-07s3-dcerpc: use dcerpc_push_dcerpc_auth() for all authenticated binds.Günther Deschner1-148/+104
Guenther Signed-off-by: Simo Sorce <idra@samba.org>
2010-07-07s3-dcerpc: add dcerpc_push_schannel_bind().Günther Deschner1-0/+22
Guenther Signed-off-by: Simo Sorce <idra@samba.org>
2010-07-07s3-dcerpc: add dcerpc_push_dcerpc_auth().Günther Deschner1-0/+34
Guenther Signed-off-by: Simo Sorce <idra@samba.org>
2010-07-07s3-dcerpc: use dcerpc_push_ncacn_packet() for create_bind_or_alt_ctx_internal().Günther Deschner1-20/+58
Guenther Signed-off-by: Simo Sorce <idra@samba.org>
2010-07-07s3-dcerpc: use dcerpc_pull_ncacn_packet() for pulling a RPC fault pdu.Günther Deschner1-13/+11
Guenther Signed-off-by: Simo Sorce <idra@samba.org>
2010-07-07s3-dcerpc: add dcerpc_pull_ncacn_packet().Günther Deschner1-0/+22
Guenther Signed-off-by: Simo Sorce <idra@samba.org>
2010-07-07s3-dcerpc: add dcerpc_push_ncacn_packet().Günther Deschner1-0/+41
Guenther Signed-off-by: Simo Sorce <idra@samba.org>
2010-07-05s3-rpc_client: Use the right memory context for array elements.Andreas Schneider1-3/+3
2010-06-21s3: Remove an unreachable line of codeVolker Lendecke1-2/+0
2010-06-18Second part of fix converting prs_XX struct and functions to talloc. Remove ↵Jeremy Allison1-47/+0
unneeded prs_mem_free calls. Jeremy. Signed-off-by: Simo Sorce <idra@samba.org>
2010-06-18Convert the prs_XXX struct and functions to use talloc instead of malloc. ↵Jeremy Allison2-16/+10
Passes valgrind and make tests for client and server. Second version of this patch after splitting up at Simo's request. Patch to follow will delete extraneous prs_mem_free() calls. Jeremy. Signed-off-by: Simo Sorce <idra@samba.org>
2010-06-03s3-spoolss: add and use spoolss_printerinfo2_to_setprinterinfo2().Günther Deschner2-0/+31
This fixes some invalid typecasts. Guenther
2010-06-03s3-build: only include generated spoolss headers (not ndr headers).Günther Deschner1-0/+1
Guenther
2010-05-31s3:ntlmssp Use a TALLOC_CTX for ntlmssp_sign_packet() and ntlmssp_seal_packet()Andrew Bartlett1-5/+10
This ensures the results can't be easily left to leak. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org> Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-31ntlmssp: Make the ntlmssp.h from source3/ a common headerAndrew Bartlett1-1/+1
The code is not yet in common, but I hope to fix that soon. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org> Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-28s3-rpc_client: move protos to init_netlogon.hGünther Deschner3-0/+7
Guenther
2010-05-21s3:dom_sid Global replace of DOM_SID with struct dom_sidAndrew Bartlett2-15/+15
This matches the structure that new code is being written to, and removes one more of the old-style named structures, and the need to know that is is just an alias for struct dom_sid. Andrew Bartlett Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-18s3-rpc_client: move protos to init_samr.hGünther Deschner2-0/+10
Guenther
2010-05-18s3-rpc_client: move protos to init_spoolss.hGünther Deschner2-0/+15
Guenther
2010-05-18s3-rpc_client: move protos to cli_spoolss.hGünther Deschner2-0/+125
Guenther
2010-05-18s3-rpc_client: move protos to cli_lsarpc.hGünther Deschner2-0/+45
Guenther
2010-05-18s3-rpc_client: move protos to cli_netlogon.hGünther Deschner3-0/+50
Guenther
2010-05-18s3-rpc_client: move protos to cli_samr.hGünther Deschner2-0/+34
Guenther