summaryrefslogtreecommitdiff
path: root/source3
AgeCommit message (Collapse)AuthorFilesLines
2010-07-13s3-dceprc: Use dcerpc_push_ncacn_packet() in api_pipe_bind_req()Simo Sorce1-111/+89
Signed-off-by: Günther Deschner <gd@samba.org>
2010-07-13s3-dcerpc: Use a DATA_BLOB in bind processing and avoid one mem copySimo Sorce1-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-13s3-dcerpc: Rearrange api_pipe_bind_req() to do checks before allocating memorySimo Sorce1-30/+27
Signed-off-by: Günther Deschner <gd@samba.org>
2010-07-13s3-dcerpc: fix dcerpc_push_ncacn_packet, pass arg by addressSimo Sorce3-8/+8
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-13s3-dcerpc: pass the packet to setup_bind_nack()Simo Sorce1-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-13s3-dceprc: Add debug messagesSimo Sorce1-0/+10
Signed-off-by: Günther Deschner <gd@samba.org>
2010-07-13s3-dcerpc: Remove unused membersSimo Sorce1-3/+0
Signed-off-by: Günther Deschner <gd@samba.org>
2010-07-13s3-dcerpc: Remove unused functionsSimo Sorce3-378/+0
Signed-off-by: Günther Deschner <gd@samba.org>
2010-07-13s3-dcerpc: Use dcerpc_pull_ncacn_packet() to unmarshall dceprc requestsSimo Sorce4-389/+406
Signed-off-by: Günther Deschner <gd@samba.org>
2010-07-13dcerpc: move dcerpc_pull_auth_trailer into a the common dcerpc_util.c fileSimo Sorce1-0/+6
Signed-off-by: Günther Deschner <gd@samba.org>
2010-07-13s3-dceprc: Store opnum in its own variableSimo Sorce8-13/+19
Signed-off-by: Günther Deschner <gd@samba.org>
2010-07-13s3-dceprc use a DATA_BLOB to hold the curren pdu in pipes_structSimo Sorce3-47/+37
Signed-off-by: Günther Deschner <gd@samba.org>
2010-07-13s3-dcerpc: use dceprc_push_ncacn_packet_header in create_next_pdu_noauth()Simo Sorce1-17/+23
Signed-off-by: Günther Deschner <gd@samba.org>
2010-07-13s3-dcerpc: Use dcerpc_push_ncacn_packet_header() in create_next_pdu_schannel()Simo Sorce1-15/+27
Signed-off-by: Günther Deschner <gd@samba.org>
2010-07-13s3-dcerpc: use dcerpc_push_ncacn_packet_header() in create_next_pdu_ntlmssp()Simo Sorce1-21/+26
Signed-off-by: Günther Deschner <gd@samba.org>
2010-07-13sr-dcerpc: add dcerpc_push_ncacn_packet_header()Simo Sorce2-0/+43
Signed-off-by: Günther Deschner <gd@samba.org>
2010-07-13s3-dcerpc delay rpc header unmarshallingSimo Sorce1-49/+70
Use dcerpc_get_frag_length() to get the whole pdu first Signed-off-by: Günther Deschner <gd@samba.org>
2010-07-13s3-dcerpc: Remove unused headersSimo Sorce1-18/+0
Signed-off-by: Günther Deschner <gd@samba.org>
2010-07-13s3-dcerpc: Use dcerpc_set_frag_length()Simo Sorce3-18/+14
Automatically calculate the fragment length where possible. Signed-off-by: Günther Deschner <gd@samba.org>
2010-07-13s3-dcerpc: link against ../librpc/rpc/dcerpc_util.cGünther Deschner2-0/+7
Guenther Signed-off-by: Simo Sorce <idra@samba.org> Signed-off-by: Günther Deschner <gd@samba.org>
2010-07-13s3-dcerpc: Remove unused prototypeSimo Sorce1-1/+0
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-11s3: [ug]id_to_unix_... can not failVolker Lendecke4-20/+19
Remove some silly failure checks
2010-07-09s3: Cleanup of the initial SMB2 counters patch.Ira Cooper2-99/+191
This reorganizes smbd_smb2_request_dispatch to have a central exit point, and use the normal profiling macros. Signed-off-by: Jeremy Allison <jra@samba.org>
2010-07-09s3-build: Add a gdbtestenv environment for Samba3.Andreas Schneider1-0/+6
This will open 3 xterms; smbd with gdb, winbind with gdb and a window to run client commands. Example: make gdbtestenv SMBD_OPTIONS="-d2"
2010-07-09s3: Optimize the write cache for sequential writesVolker Lendecke1-0/+20
In case of the one-byte allocating writes we don't work work optimally because we start the write cache at the current offset. This patch tries to avoid this case.
2010-07-08s3-dcerpc: Use dcerpc_pull_dcerpc_auth in api_pipe_bind_auth3()Simo Sorce1-19/+13
2010-07-08s3-dcerpc: Use dcerpc_auth in api_pipe_bind_req()Simo Sorce1-82/+85
2010-07-08s3-dcerpc: make dcerpc_pull_dcerpc_auth() publicSimo Sorce2-3/+6
2010-07-08s3-dcerpc: make dceprc_push_dcerpc_auth publicSimo Sorce2-7/+15
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-rpc: when using rpc_pipe_open_internal, make sure to go through NDR.Günther Deschner8-21/+167
Otherwise a lot of information that is usually generated in the ndr_push remains in an uninitialized state. Guenther
2010-07-08s3: Slightly simplify make_server_info_pwVolker Lendecke1-3/+1
2010-07-08s3-rpcclient: add another usage display to sign and seal commands.Günther Deschner1-0/+2
Guenther
2010-07-08s3:dcerpc Remove unused structure and functionsSimo Sorce3-90/+0
2010-07-08s3:dcerpc Use prs_parse_dcerpc_bindSimo Sorce1-27/+36
2010-07-08s3:dcerpc Add prs_parse_dcerpc_bindSimo Sorce2-0/+20
2010-07-08s3:rpc user idl define dcerpc_ctx_list instead of custom RPC_CONTEXTSimo Sorce4-24/+24
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>