Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
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> | |||||
2011-09-14 | s3:libsmb: let cli_read_max_bufsize() return the max number of possible bytes | Stefan Metzmacher | 1 | -16/+31 | |
s3:libsmb: let cli_read_max_bufsize() return the max number of possible bytes We now return what's possible on the wire. Which is 0xFFFF if CAP_LARGE_READX is given by the server 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> | |||||
2011-09-14 | Fix bug #8453 - smbclient segfaults when dialect option -m is used for ↵ | Jeremy Allison | 1 | -0/+13 | |
legacy dialects Ensure we have valid pointers. | |||||
2011-09-14 | s3:libsmb: return NT_STATUS_CONNECTION_DISCONNECTED instead of ↵ | Stefan Metzmacher | 1 | -1/+1 | |
NT_STATUS_CONNECTION_INVALID We should return the same in all places. metze | |||||
2011-09-14 | s3:libsmb: make use of new advanded SMB signing | Stefan Metzmacher | 4 | -57/+64 | |
metze | |||||
2011-09-14 | s3:smb_signing: add support for easier negotiation of SMB signing | Stefan Metzmacher | 3 | -33/+72 | |
We don't make use of it yet, but it will follow. metze | |||||
2011-09-13 | s3:smb2cli: split cli->smb2.gss_blob from cli->secblob | Stefan Metzmacher | 1 | -1/+1 | |
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue Sep 13 23:34:13 CEST 2011 on sn-devel-104 | |||||
2011-09-13 | s3:libsmb: make use of cli_state_server_time_zone() | Stefan Metzmacher | 4 | -17/+17 | |
metze | |||||
2011-09-13 | s3:libsmb: add cli_state_server_time() | Stefan Metzmacher | 2 | -0/+6 | |
metze | |||||
2011-09-13 | s3:libsmb: add cli_state_server_time_zone() | Stefan Metzmacher | 2 | -0/+6 | |
metze | |||||
2011-09-13 | s3:libsmb: make use of cli_state_server_session_key() | Stefan Metzmacher | 1 | -4/+4 | |
metze | |||||
2011-09-13 | s3:libsmb: add cli_state_server_session_key() | Stefan Metzmacher | 2 | -0/+6 | |
metze | |||||
2011-09-13 | s3:libsmb: make use of cli_state_security_mode() | Stefan Metzmacher | 1 | -9/+12 | |
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue Sep 13 19:45:01 CEST 2011 on sn-devel-104 | |||||
2011-09-13 | s3:libsmb: add cli_state_security_mode() | Stefan Metzmacher | 2 | -0/+6 | |
metze | |||||
2011-09-13 | s3:libsmb: make use of cli_state_max_requests() in cli_push_send() | Stefan Metzmacher | 1 | -2/+5 | |
metze | |||||
2011-09-13 | s3:libsmb: make use of cli_state_max_requests() in cli_pull_send() | Stefan Metzmacher | 1 | -1/+4 | |
metze | |||||
2011-09-13 | s3:libsmb: add cli_state_max_requests() | Stefan Metzmacher | 2 | -0/+6 | |
metze | |||||
2011-09-13 | s3:libsmb: make sure cli->max_mux is valid in the return of the server | Stefan Metzmacher | 1 | -0/+6 | |
metze | |||||
2011-09-13 | s3:libsmb: set the MID to 0 in cli_setup_packet_buf() | Stefan Metzmacher | 1 | -1/+1 | |
It's allocated when sending the request. metze | |||||
2011-09-13 | s3:libsmb: check that max_xmit is not less than 1024 | Stefan Metzmacher | 1 | -0/+5 | |
metze | |||||
2011-09-13 | s3:libsmb: better expect a max_xmit of 1024 instead of 0xFFFF for the CORE ↵ | Stefan Metzmacher | 1 | -0/+1 | |
protocol metze | |||||
2011-09-13 | s3:libsmb: don't mix smb2 share capabilities with smb1 capabilities | Stefan Metzmacher | 1 | -1/+1 | |
metze | |||||
2011-09-13 | s3:libsmb: make use of cli_state_available_size() in cli_smbwrite() | Stefan Metzmacher | 1 | -1/+2 | |
metze | |||||
2011-09-13 | s3:libsmb: make use of cli_state_available_size() in cli_write_max_bufsize() | Stefan Metzmacher | 1 | -1/+1 | |
metze |