summaryrefslogtreecommitdiff
path: root/source3/libsmb
AgeCommit message (Collapse)AuthorFilesLines
2011-10-12s3:utils change data_blob_dup_talloc() to take a DATA_BLOB by valueGregor Beck1-1/+1
Signed-off-by: Michael Adam <obnox@samba.org>
2011-09-30s3: Fix an uninitialized variable warningVolker Lendecke1-1/+1
2011-09-29s3:smb2cli: fix the num_expected == 0 logic in smb2cli_req_recv()Stefan Metzmacher1-3/+7
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Thu Sep 29 22:15:06 CEST 2011 on sn-devel-104
2011-09-28s3:libsmb: remove unused TALLOC_FREE(subreq) calls inStefan Metzmacher1-5/+0
Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Sep 28 02:01:09 CEST 2011 on sn-devel-104
2011-09-28s3:libsmb: call TALLOC_FREE(subreq) directly after cli_sesssetup_blob_recv()Stefan Metzmacher1-3/+2
cli_sesssetup_blob_recv() talloc moves stuff that's needed on the given memory context. metze
2011-09-22s3: Fix Coverity ID 2619: UNINITVolker Lendecke1-0/+2
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Thu Sep 22 01:55:04 CEST 2011 on sn-devel-104
2011-09-22s3: Fix Coverity ID 2618: UNINITVolker Lendecke1-0/+2
2011-09-21Try and fix bug #8472 - Crash in asn.1 parsing code.Jeremy Allison1-1/+6
Found by Codenomicon at the SNIA plugfest. Don't keep going in the loop when reading the OIDs fail. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Wed Sep 21 05:24:59 CEST 2011 on sn-devel-104
2011-09-21s3: Further fix for bug 8338Volker Lendecke1-2/+9
OS/X can not deal with a 10-vwv read on normal files. Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Wed Sep 21 00:51:08 CEST 2011 on sn-devel-104
2011-09-19s3:smb2cli: remove unused struct ntlmssp_state from smb2cli_session_setup_stateStefan Metzmacher1-1/+0
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Mon Sep 19 06:06:46 CEST 2011 on sn-devel-104
2011-09-19s3:smb2cli: s/smb2cli_sesssetup_blob/smb2cli_session_setup/Stefan Metzmacher1-15/+15
metze
2011-09-18s3:smb2cli: s/smb2cli_sesssetup/smb2cli_sesssetup_ntlmssp/Stefan Metzmacher2-17/+17
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Sun Sep 18 21:43:26 CEST 2011 on sn-devel-104
2011-09-18s3:smb2cli: pass timeout to smb2cli_req_create/send()Stefan Metzmacher11-0/+25
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Sun Sep 18 07:04:05 CEST 2011 on sn-devel-104
2011-09-18s3:smb2cli: pass an array of expected status/body_size pairs to ↵Stefan Metzmacher11-17/+153
smb2cli_req_recv() This gives the caller more control and correctly reports unexpected errors to the caller, instead of return NT_STATUS_INVALID_NETWOR_RESPONSE metze
2011-09-18s3:smb2cli: only use tevent_req_defer_callback() if we have more than one ↵Stefan Metzmacher1-1/+12
smb2 response metze
2011-09-18s3:smb2cli: ignore async interim responses and store the async_idStefan Metzmacher1-0/+12
metze
2011-09-18s3:smb2cli: check the response has the SMB2_HDR_FLAG_REDIRECT flagStefan Metzmacher1-0/+8
metze
2011-09-18s3:smb2cli: validate the opcode from the server is as expectedStefan Metzmacher1-3/+14
metze
2011-09-18s3:smb2cli: initialize status if we got an unexpected responseStefan Metzmacher1-0/+1
metze
2011-09-18s3:libsmb: return INTERNAL_ERROR if the request is in bad state when the ↵Stefan Metzmacher1-0/+8
caller ships it metze
2011-09-18s3:libsmb: return if tevent_req_set_endtime() failsStefan Metzmacher1-2/+4
tevent_req_set_endtime() already calls tevent_req_nomem(). metze
2011-09-18s3:smb2cli: SMB2_FLUSH responses have a body size of 4Stefan Metzmacher1-1/+1
metze
2011-09-16s3:libsmb: forward declaration for struct smb_trans_enc_stateStefan Metzmacher1-0/+2
metze
2011-09-15s3:libsmb: remove unused cli_*encryption* functionsStefan Metzmacher2-48/+0
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Thu Sep 15 17:52:00 CEST 2011 on sn-devel-104
2011-09-15s3:libsmb: s/cli_encryption_on/cli_state_encryption_on()Stefan Metzmacher2-4/+4
metze
2011-09-15s3:libsmb: move cli->server{zone,time} to ↵Stefan Metzmacher2-10/+16
cli->conn.smb1.server.{time_zone,system_time} metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Thu Sep 15 14:00:29 CEST 2011 on sn-devel-104
2011-09-15s3:libsmb: split cli->secblob into ↵Stefan Metzmacher2-21/+77
cli->conn.smb1.server.{guid,gss_blob,challenge,workgroup} metze
2011-09-15s3:libsmb: make use of cli_state_server_gss_blob()Stefan Metzmacher1-5/+9
metze
2011-09-15s3:libsmb: make use of cli_state_server_challenge()Stefan Metzmacher1-11/+8
metze
2011-09-15s3:libsmb: add cli_state_server_challenge() and cli_state_server_gss_blob()Stefan Metzmacher2-0/+18
metze
2011-09-15s3:libsmb: remove the guid from the cli->secblob in spnego modeStefan Metzmacher1-4/+8
metze
2011-09-15s3:libsmb: make sure cli->secblob.length is 8 if we get a challengeStefan Metzmacher1-2/+2
metze
2011-09-15s3:libsmb: restructure cli_negprot_done() secblob handling a bitStefan Metzmacher1-10/+13
metze
2011-09-15s3:libsmb: move cli->sesskey to cli->conn.smb1.server.session_keyStefan Metzmacher2-3/+6
metze
2011-09-15s3:libsmb: detect lock_read and write_unlock supportStefan Metzmacher1-0/+15
metze
2011-09-15s3:libsmb: move cli->*braw_supported to cli->conn.smb1.server.*brawStefan Metzmacher2-7/+9
This is currently unused, but we might use it in future. metze
2011-09-15s3:libsmb: move cli->sec_mode to cli->conn.smb1.server.security_modeStefan Metzmacher2-6/+9
metze
2011-09-15s3:libsmb: move cli->max_mux to cli->conn.smb1.server.max_muxStefan Metzmacher2-5/+8
metze
2011-09-15s3:libsmb: move cli->max_xmit to cli->conn.smb1.max_xmitStefan Metzmacher2-8/+16
And keep cli->conn.smb1.client.max_xmit and cli->conn.smb1.server.max_xmit. metze
2011-09-15s3:libsmb: move cli->smb1.mid to cli->conn.smb1.midStefan Metzmacher2-2/+3
metze
2011-09-15s3:libsmb: move cli->capabilities to cli->conn.smb1.capabilitiesStefan Metzmacher2-16/+23
And keep cli->conn.smb1.client.capabilities and cli->conn.smb1.server_capabilities. metze
2011-09-15s3:libsmb: move cli->protocol to cli->conn.protocolStefan Metzmacher2-5/+5
metze
2011-09-15s3:libsmb: don't set cli->protocol in cli_state_create()Stefan Metzmacher1-1/+0
This is done in cli_negprot_done(), when we know the protocol. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Thu Sep 15 11:57:18 CEST 2011 on sn-devel-104
2011-09-15s3:libsmb: pass max_protocol to cli_negprot()Stefan Metzmacher5-14/+12
metze
2011-09-15s3:libsmb: add basic max_protocol support in cli_negprot()Stefan Metzmacher1-7/+15
metze
2011-09-15s3:libsmb: use local variables in cli_state_create()Stefan Metzmacher2-17/+14
We don't need to keep use_spnego, use_level_II_oplocks, force_dos_errors and force_ascii within struct cli_state. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Thu Sep 15 10:12:17 CEST 2011 on sn-devel-104
2011-09-15s3:libsmb: use CAP_EXTENDED_SECURITY instead of cli->use_spnegoStefan Metzmacher1-1/+1
cli->capabilities contains the negotiated capabilities. metze
2011-09-15s3:libsmb: make use of SMB_CAP_BOTH/CLIENT_MASK in ↵Stefan Metzmacher1-13/+25
cli_session_setup_capabilities() This matches a w2k3 client. metze
2011-09-15s3:libsmb: calculate the negotiated SMB1 capabilities in cli_negprot_done()Stefan Metzmacher1-6/+12
We calculate the negotiated capabilities based on the mask for: - client only flags - flags used in both directions - server only flags metze
2011-09-15s3:libsmb: calculate all SMB1 capabilities we want to support for the connectionStefan Metzmacher1-2/+24
We should do this at startup in cli_state_create() and later calculate the negotiated capabilities in cli_negprot_done(). metze