Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
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 | |||||
2011-09-13 | s3:libsmb: make use of cli_state_available_size() in cli_read_max_bufsize() | Stefan Metzmacher | 1 | -1/+1 | |
metze | |||||
2011-09-13 | s3:libsmb: make use of cli_state_available_size() in cli_list_old_send() | Stefan Metzmacher | 1 | -1/+3 | |
metze | |||||
2011-09-13 | s3:libsmb: make use of cli_state_available_size() in cli_sesssetup_blob_send() | Stefan Metzmacher | 1 | -6/+8 | |
metze | |||||
2011-09-13 | s3:libsmb: make use of cli_state_available_size() in cli_trans_format() | Stefan Metzmacher | 1 | -4/+5 | |
metze | |||||
2011-09-13 | s3:libsmb: add cli_state_available_size() | Stefan Metzmacher | 2 | -0/+14 | |
metze | |||||
2011-09-13 | s3: Make saf_join_key() use talloc | Volker Lendecke | 1 | -12/+20 | |
2011-09-13 | s3: Make saf_key() use talloc | Volker Lendecke | 1 | -12/+20 | |
2011-09-13 | s3: Disentangle resolve_name() a bit | Volker Lendecke | 1 | -3/+5 | |
2011-09-12 | s3:libsmb: check the wct of the incoming SMBnegprot responses | Stefan Metzmacher | 1 | -0/+10 | |
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Mon Sep 12 20:50:27 CEST 2011 on sn-devel-104 | |||||
2011-09-12 | s3:libsmb: let cli_pull_raw_error() return NT_STATUS_OK as DOS-Error success | Stefan Metzmacher | 1 | -1/+6 | |
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Mon Sep 12 19:12:21 CEST 2011 on sn-devel-104 | |||||
2011-09-08 | s3:libsmb: add CLI_FULL_CONNECTION_FORCE_ASCII | Stefan Metzmacher | 2 | -1/+10 | |
metze | |||||
2011-09-08 | s3:libsmb: add CLI_FULL_CONNECTION_FORCE_DOS_ERRORS | Stefan Metzmacher | 1 | -1/+4 | |
metze | |||||
2011-09-08 | s3:libsmb: don't handle CLI_FULL_CONNECTION_* flags in cli_full_connection() | Stefan Metzmacher | 1 | -4/+0 | |
This is already done by cli_state_create(). metze | |||||
2011-09-08 | s3:libsmb: don't handle CLI_FULL_CONNECTION_* flags in cli_start_connection() | Stefan Metzmacher | 1 | -13/+0 | |
This is already done by cli_state_create(). metze |