1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00
samba-mirror/source3
Stefan Metzmacher 295c9f7b32 s3:smbd: unimplement FSCTL_VALIDATE_NEGOTIATE_INFO with "server max protocol = SMB2_02"
A client that supports SMB3 will do a signed FSCTL_VALIDATE_NEGOTIATE_INFO
after a tree connect. This FSCTL_VALIDATE_NEGOTIATE_INFO call contains
the client capabilities, client guid, security mode and the array of supported
dialects. But if SMB 2.02 is negotiated the doesn't send these values to the
server in the first connection attempt (when the client starts with a SMB1 Negotiate).

Windows servers that only support SMB2 just return NT_STATUS_FILE_CLOSED
as answer to FSCTL_VALIDATE_NEGOTIATE_INFO.

We should do the same if we just pretend to support SMB 2.02,
as SMB 2.10 always include an SMB2 Negotiate request we can leave it as is.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=12772

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
2017-06-27 16:57:42 +02:00
..
auth auth3: prepare the logic for "map untrusted to domain = auto" 2017-06-16 03:21:29 +02:00
build
client s3:client: smbclient -L can't do workgroup listing over SMB2/3 2017-06-22 13:07:40 +02:00
exports
groupdb Correct "errror" typos. 2017-02-22 08:26:22 +01:00
include s3:libsmb: add CLI_FULL_CONNECTION_DISABLE_SMB1 2017-06-22 13:07:41 +02:00
intl lib: Give util_paths.c its own header 2017-06-24 01:21:10 +02:00
lib lib: Use ctdb_protocol instead of ctdb_private 2017-06-24 05:33:41 +02:00
libads libads: Decide to have no fallback option 2017-05-30 08:06:06 +02:00
libgpo s3-gpo: Fix CID #1405972 Resource leak 2017-05-09 23:20:08 +02:00
libnet s3:libnet_join: make use of trust_pw_new_value() 2017-02-21 16:09:22 +01:00
librpc s3:gse_krb5: fix a possible crash in fill_mem_keytab_from_system_keytab() 2017-06-27 16:57:42 +02:00
libsmb s3:libsmb: add CLI_FULL_CONNECTION_DISABLE_SMB1 2017-06-22 13:07:41 +02:00
locale Correct "descriptior" typos. 2017-02-22 08:26:22 +01:00
locking s3/locking: make find_share_mode_entry public 2017-05-28 14:50:18 +02:00
modules s3: VFS: Change SMB_VFS_SYMLINK to use const struct smb_filename * instead of const char *. 2017-06-18 07:03:18 +02:00
nmbd Correct "errror" typos. 2017-02-22 08:26:22 +01:00
param s3:param: Allow to add usershare if uid_wrapper is loaded 2017-06-27 16:57:42 +02:00
passdb secrets: Protect against a non-0-terminated ldap password 2017-04-22 05:20:20 +02:00
printing s3:printing: Change to GUID dir if we deal with COPY_FROM_DIRECTORY 2017-05-05 11:51:10 +02:00
profile s3-profile: reduce dependencies of smbprofile.h 2016-03-28 20:45:16 +02:00
registry s3-rpc_cli: add winreg_add_core_driver() 2017-05-09 16:43:13 +02:00
rpc_client s3:cli_pipe: ask for GENSEC_FEATURE_SIGN_PKT_HEADER after the gensec_update() dance 2017-05-21 21:05:09 +02:00
rpc_server s3:rpc_server/spoolss: allow spoolss_connect_to_client() to use SMB2 2017-06-22 13:07:39 +02:00
rpcclient s3: client tools: Call popt_free_cmdline_auth_info() on all normal exits. 2017-05-09 09:56:09 +02:00
script s3:test_smbclient_basic.sh: make use of $incdir/common_test_fns.inc 2017-06-27 16:57:42 +02:00
selftest s3:selftest: run test_smbclient_basic.sh against nt4_dc_schannel with various protocols 2017-06-27 16:57:42 +02:00
services Update smbrun to allow for settings environment variables. 2016-10-13 04:26:26 +02:00
smbd s3:smbd: unimplement FSCTL_VALIDATE_NEGOTIATE_INFO with "server max protocol = SMB2_02" 2017-06-27 16:57:42 +02:00
torture s3:torture: use CLI_FULL_CONNECTION_DISABLE_SMB1 in run_oplock_cancel() 2017-06-22 13:07:41 +02:00
utils net: Dump data for net_g_lock dump 2017-06-24 01:21:10 +02:00
web
winbindd Bug 15852. There are valid paths where conn->lsa_pipe_tcp->transport is NULL. Protect against this. 2017-06-22 23:16:46 +02:00
.clang_complete
.dmallocrc
.indent.pro
Doxyfile
mainpage.dox
smbadduser.in
wscript build: fix build of vfs_posix_eadb module 2017-06-24 01:20:16 +02:00
wscript_build torture3: Initial test g_lock 2017-06-15 13:19:13 +02:00
wscript_configure_system_ncurses