Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
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-15 | Add a missing include file to two VFS modules | Richard Sharpe | 2 | -0/+2 | |
Signed-off-by: Jeremy Allison <jra@samba.org> Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Thu Sep 15 02:56:36 CEST 2011 on sn-devel-104 | |||||
2011-09-15 | Finish commit 8745c70d by Michael Adam. | Jeremy Allison | 2 | -9/+9 | |
If you're going to move winbindd_cache.tdb to the state_path, do it *everywhere*. Found by Ira Cooper <ira@wakeful.net>. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Thu Sep 15 00:43:04 CEST 2011 on sn-devel-104 | |||||
2011-09-14 | s3:libsmb: remove unused cli->is_samba | Stefan Metzmacher | 3 | -31/+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:client.h: remove unused defines | Stefan Metzmacher | 1 | -9/+0 | |
s3:client.h: remove unused defines 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 | s3:smbd: SMB ReadX with size > 0xffff should only possible for samba clients. | Stefan Metzmacher | 1 | -1/+10 | |
Windows 2008 R2 (and others) ignore the high bits for the read size. Unless we're using the unix extentions and the client uses CIFS_UNIX_LARGE_READ_CAP, we should also ignore the high bits. But we still need to support old "smbclient" binaries and have to check if the client is "Samba". metze Signed-off-by: Jeremy Allison <jra@samba.org> | |||||
2011-09-14 | s3:smbd: remember the client unix capabilities on the connection | Stefan Metzmacher | 2 | -43/+44 | |
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:winbindd: let wbint handles return NT_STATUS_CONNECTION_DISCONNECTED | Stefan Metzmacher | 1 | -2/+2 | |
We should return the same in all places. metze | |||||
2011-09-14 | s3:rpc_server: let rpcint handles return NT_STATUS_CONNECTION_DISCONNECTED | Stefan Metzmacher | 1 | -2/+2 | |
We should return the same in all places. metze | |||||
2011-09-14 | s3:rpc_client: return NT_STATUS_CONNECTION_DISCONNECTED | Stefan Metzmacher | 2 | -5/+5 | |
We should return the same in all places and don't mix NT_STATUS_INVALID_CONNECTION and NT_STATUS_CONNECTION_INVALID. metze | |||||
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:torture/run_oplock4: don't set cli->use_level_II_oplocks | Stefan Metzmacher | 1 | -3/+0 | |
Doing this after the session setup is pointless, as that's the only place where we tell the server we support level II oplocks. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Sep 14 17:23:46 CEST 2011 on sn-devel-104 | |||||
2011-09-14 | s3:smb2_server: SMB2_OP_GETINFO doesn't require at least 1 dyn byte | Stefan Metzmacher | 1 | -1/+13 | |
metze | |||||
2011-09-14 | s3-libnet: add missing newlines in debug statement. | Günther Deschner | 1 | -2/+2 | |
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Wed Sep 14 15:52:10 CEST 2011 on sn-devel-104 | |||||
2011-09-14 | s3:smbd: make use of better SMB signing negotiation | Stefan Metzmacher | 4 | -4/+31 | |
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Sep 14 09:41:02 CEST 2011 on sn-devel-104 | |||||
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 | 5 | -37/+83 | |
We don't make use of it yet, but it will follow. metze | |||||
2011-09-14 | s3:smbd: echo FLAGS2_SMB_SECURITY_SIGNATURES* and the signature field in the ↵ | Stefan Metzmacher | 1 | -3/+9 | |
reply This matches what windows is doing. metze | |||||
2011-09-14 | Fix bug #8229 - git patch attached against 3.6.0-rc2 to fix 'widelinks' ↵ | Jeremy Allison | 2 | -1/+22 | |
regression intro'd in 3.2 Add "allow insecure widelinks" to re-enable the ability (requested by some sites) to have "widelinks = yes" and "unix extensions = yes". Based on an original patch by Linda Walsh <samba@tlinx.org> Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Wed Sep 14 03:55:45 CEST 2011 on sn-devel-104 | |||||
2011-09-14 | util_tdb: return -1/0 from lock_with_timeout functions. | Rusty Russell | 1 | -2/+2 | |
Keeps the tdb2 API change (which returns error codes, rather than -1) localized. The function returns -1 down the other path, so make it consistent. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> | |||||
2011-09-14 | dbwrap_tdb: handle tdb2 return values properly. | Rusty Russell | 1 | -4/+4 | |
TDB2 versions of tdb_parse_record etc return an error code, not -1. Turn those into -1/0 in dbwrap_tdb to insulate the rest of the code from that change. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> | |||||
2011-09-14 | tdb_compat: adapt to tdb2 API change. | Rusty Russell | 1 | -3/+4 | |
Add the ecode arg to all the log functions, and log it. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> | |||||
2011-09-13 | s3:smb2cli: split cli->smb2.gss_blob from cli->secblob | Stefan Metzmacher | 2 | -1/+2 | |
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:net_time: make use of cli_state_server_time_zone() and ↵ | Stefan Metzmacher | 1 | -2/+2 | |
cli_state_server_time() metze | |||||
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:winbindd_cm: make use of cli_state_security_mode() | Stefan Metzmacher | 1 | -1/+3 | |
metze | |||||
2011-09-13 | s3:auth_server: make use of cli_state_security_mode() | Stefan Metzmacher | 1 | -3/+9 | |
metze | |||||
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:torture: there's no need to alter cli->max_xmit in order to test large writes | Stefan Metzmacher | 1 | -7/+3 | |
metze | |||||
2011-09-13 | s3:libsmb: don't mix smb2 share capabilities with smb1 capabilities | Stefan Metzmacher | 2 | -1/+2 | |
metze | |||||
2011-09-13 | s3:libsmb: the smb2 server capabilities from the session setup are 32-bit | Stefan Metzmacher | 1 | -1/+1 | |
metze | |||||
2011-09-13 | s3:torture: use CLI_BUFFER_SIZE instead of cli->max_xmit | Stefan Metzmacher | 1 | -1/+1 | |
The max_data parameter of trans2/nttrans calls are not bound to cli->max_xmit. Even with cli->max_xmit, which means the max size of the whole SMB pdu, we would get fragmented trans2/nttrans replies. That's why we can also use our maximum, which is CLI_BUFFER_SIZE. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue Sep 13 14:52:35 CEST 2011 on sn-devel-104 | |||||
2011-09-13 | s3:libsmb: make use of cli_state_available_size() in cli_smbwrite() | Stefan Metzmacher | 1 | -1/+2 | |
metze |