Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2011-09-22 | s3: Fix Coverity ID 2619: UNINIT | Volker Lendecke | 1 | -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-22 | s3: Fix Coverity ID 2618: UNINIT | Volker Lendecke | 1 | -0/+2 | |
2011-09-21 | Try and fix bug #8472 - Crash in asn.1 parsing code. | Jeremy Allison | 1 | -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-21 | s3: Further fix for bug 8338 | Volker Lendecke | 1 | -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-19 | s3:smb2cli: remove unused struct ntlmssp_state from smb2cli_session_setup_state | Stefan Metzmacher | 1 | -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-19 | s3:smb2cli: s/smb2cli_sesssetup_blob/smb2cli_session_setup/ | Stefan Metzmacher | 1 | -15/+15 | |
metze | |||||
2011-09-18 | s3:smb2cli: s/smb2cli_sesssetup/smb2cli_sesssetup_ntlmssp/ | Stefan Metzmacher | 2 | -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-18 | s3:smb2cli: pass timeout to smb2cli_req_create/send() | Stefan Metzmacher | 11 | -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-18 | s3:smb2cli: pass an array of expected status/body_size pairs to ↵ | Stefan Metzmacher | 11 | -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-18 | s3:smb2cli: only use tevent_req_defer_callback() if we have more than one ↵ | Stefan Metzmacher | 1 | -1/+12 | |
smb2 response metze | |||||
2011-09-18 | s3:smb2cli: ignore async interim responses and store the async_id | Stefan Metzmacher | 1 | -0/+12 | |
metze | |||||
2011-09-18 | s3:smb2cli: check the response has the SMB2_HDR_FLAG_REDIRECT flag | Stefan Metzmacher | 1 | -0/+8 | |
metze | |||||
2011-09-18 | s3:smb2cli: validate the opcode from the server is as expected | Stefan Metzmacher | 1 | -3/+14 | |
metze | |||||
2011-09-18 | s3:smb2cli: initialize status if we got an unexpected response | Stefan Metzmacher | 1 | -0/+1 | |
metze | |||||
2011-09-18 | s3:libsmb: return INTERNAL_ERROR if the request is in bad state when the ↵ | Stefan Metzmacher | 1 | -0/+8 | |
caller ships it metze | |||||
2011-09-18 | s3:libsmb: return if tevent_req_set_endtime() fails | Stefan Metzmacher | 1 | -2/+4 | |
tevent_req_set_endtime() already calls tevent_req_nomem(). metze | |||||
2011-09-18 | s3:smb2cli: SMB2_FLUSH responses have a body size of 4 | Stefan Metzmacher | 1 | -1/+1 | |
metze | |||||
2011-09-16 | s3:libsmb: forward declaration for struct smb_trans_enc_state | Stefan Metzmacher | 1 | -0/+2 | |
metze | |||||
2011-09-15 | s3:libsmb: remove unused cli_*encryption* functions | Stefan Metzmacher | 2 | -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-15 | s3:libsmb: s/cli_encryption_on/cli_state_encryption_on() | Stefan Metzmacher | 2 | -4/+4 | |
metze | |||||
2011-09-15 | s3:libsmb: move cli->server{zone,time} to ↵ | Stefan Metzmacher | 2 | -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-15 | s3:libsmb: split cli->secblob into ↵ | Stefan Metzmacher | 2 | -21/+77 | |
cli->conn.smb1.server.{guid,gss_blob,challenge,workgroup} metze | |||||
2011-09-15 | s3:libsmb: make use of cli_state_server_gss_blob() | Stefan Metzmacher | 1 | -5/+9 | |
metze | |||||
2011-09-15 | s3:libsmb: make use of cli_state_server_challenge() | Stefan Metzmacher | 1 | -11/+8 | |
metze | |||||
2011-09-15 | s3:libsmb: add cli_state_server_challenge() and cli_state_server_gss_blob() | Stefan Metzmacher | 2 | -0/+18 | |
metze | |||||
2011-09-15 | s3:libsmb: remove the guid from the cli->secblob in spnego mode | Stefan Metzmacher | 1 | -4/+8 | |
metze | |||||
2011-09-15 | s3:libsmb: make sure cli->secblob.length is 8 if we get a challenge | Stefan Metzmacher | 1 | -2/+2 | |
metze | |||||
2011-09-15 | s3:libsmb: restructure cli_negprot_done() secblob handling a bit | Stefan Metzmacher | 1 | -10/+13 | |
metze | |||||
2011-09-15 | s3:libsmb: move cli->sesskey to cli->conn.smb1.server.session_key | Stefan Metzmacher | 2 | -3/+6 | |
metze | |||||
2011-09-15 | s3:libsmb: detect lock_read and write_unlock support | Stefan Metzmacher | 1 | -0/+15 | |
metze | |||||
2011-09-15 | s3:libsmb: move cli->*braw_supported to cli->conn.smb1.server.*braw | Stefan Metzmacher | 2 | -7/+9 | |
This is currently unused, but we might use it in future. metze | |||||
2011-09-15 | s3:libsmb: move cli->sec_mode to cli->conn.smb1.server.security_mode | Stefan Metzmacher | 2 | -6/+9 | |
metze | |||||
2011-09-15 | s3:libsmb: move cli->max_mux to cli->conn.smb1.server.max_mux | Stefan Metzmacher | 2 | -5/+8 | |
metze | |||||
2011-09-15 | s3:libsmb: move cli->max_xmit to cli->conn.smb1.max_xmit | Stefan Metzmacher | 2 | -8/+16 | |
And keep cli->conn.smb1.client.max_xmit and cli->conn.smb1.server.max_xmit. metze | |||||
2011-09-15 | s3:libsmb: move cli->smb1.mid to cli->conn.smb1.mid | Stefan Metzmacher | 2 | -2/+3 | |
metze | |||||
2011-09-15 | s3:libsmb: move cli->capabilities to cli->conn.smb1.capabilities | Stefan Metzmacher | 2 | -16/+23 | |
And keep cli->conn.smb1.client.capabilities and cli->conn.smb1.server_capabilities. metze | |||||
2011-09-15 | s3:libsmb: move cli->protocol to cli->conn.protocol | Stefan Metzmacher | 2 | -5/+5 | |
metze | |||||
2011-09-15 | s3:libsmb: don't set cli->protocol in cli_state_create() | Stefan Metzmacher | 1 | -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-15 | s3:libsmb: pass max_protocol to cli_negprot() | Stefan Metzmacher | 5 | -14/+12 | |
metze | |||||
2011-09-15 | s3:libsmb: add basic max_protocol support in cli_negprot() | Stefan Metzmacher | 1 | -7/+15 | |
metze | |||||
2011-09-15 | s3:libsmb: use local variables in cli_state_create() | Stefan Metzmacher | 2 | -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-15 | s3:libsmb: use CAP_EXTENDED_SECURITY instead of cli->use_spnego | Stefan Metzmacher | 1 | -1/+1 | |
cli->capabilities contains the negotiated capabilities. metze | |||||
2011-09-15 | s3:libsmb: make use of SMB_CAP_BOTH/CLIENT_MASK in ↵ | Stefan Metzmacher | 1 | -13/+25 | |
cli_session_setup_capabilities() This matches a w2k3 client. metze | |||||
2011-09-15 | s3:libsmb: calculate the negotiated SMB1 capabilities in cli_negprot_done() | Stefan Metzmacher | 1 | -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-15 | s3:libsmb: calculate all SMB1 capabilities we want to support for the connection | Stefan Metzmacher | 1 | -2/+24 | |
We should do this at startup in cli_state_create() and later calculate the negotiated capabilities in cli_negprot_done(). metze | |||||
2011-09-15 | s3:libsmb: no need to reset capabilities in cli_session_setup_lanman2() | Stefan Metzmacher | 1 | -10/+0 | |
This is only used cli->protocol < PROTOCOL_NT1, in which case cli_negprot_done() has already reset cli->capabilities. metze | |||||
2011-09-15 | s3:libsmb: make sure we always set cli->capabilities at the end of ↵ | Stefan Metzmacher | 1 | -3/+6 | |
cli_negprot_done() If the server doesn't support PROTOCOL_NT1 we should reset the negotiated capabilities to 0. metze | |||||
2011-09-14 | s3:libsmb: remove unused cli->is_samba | Stefan Metzmacher | 1 | -22/+1 | |
s3:libsmb: remove unused cli->is_samba metze Signed-off-by: Jeremy Allison <jra@samba.org> | |||||
2011-09-14 | s3:libsmb: align chunk_size for cli_pull/push() to a page size of 1024 bytes | Stefan Metzmacher | 1 | -0/+8 | |
s3:libsmb: align chunk_size for cli_pull/push() to a page size of 1024 bytes metze Signed-off-by: Jeremy Allison <jra@samba.org> | |||||
2011-09-14 | s3:libsmb: let cli_write_max_bufsize() return the max number of possible bytes | Stefan Metzmacher | 1 | -21/+28 | |
s3:libsmb: let cli_write_max_bufsize() return the max number of possible bytes We now return what's possible on the wire. Which is 0x1FFFF - data_offset if CAP_LARGE_WRITEX is given by the server (without signing) or 0xFFFFFF - data_offset if CIFS_UNIX_LARGE_READ_CAP is available (without signing/sealing). Otherwise we return max_xmit - data_offset. metze Signed-off-by: Jeremy Allison <jra@samba.org> |