Print this page
NEX-10019 SMB server min_protocol setting
Reviewed by: Gordon Ross <gordon.ross@nexenta.com>
Reviewed by: Evan Layton <evan.layton@nexenta.com>
NEX-5273 SMB 3 Encryption
Reviewed by: Gordon Ross <gordon.ross@nexenta.com>
Reviewed by: Evan Layton <evan.layton@nexenta.com>
Reviewed by: Roman Strashkin <roman.strashkin@nexenta.com>
NEX-3611 CLONE NEX-3550 Replace smb2_enable with max_protocol
Reviewed by: Yuri Pankov <Yuri.Pankov@nexenta.com>
NEX-1050 enable_smb2 should be smb2_enable
SMB-11 SMB2 message parse & dispatch
SMB-12 SMB2 Negotiate Protocol
SMB-13 SMB2 Session Setup
SMB-14 SMB2 Logoff
SMB-15 SMB2 Tree Connect
SMB-16 SMB2 Tree Disconnect
SMB-17 SMB2 Create
SMB-18 SMB2 Close
SMB-19 SMB2 Flush
SMB-20 SMB2 Read
SMB-21 SMB2 Write
SMB-22 SMB2 Lock/Unlock
SMB-23 SMB2 Ioctl
SMB-24 SMB2 Cancel
SMB-25 SMB2 Echo
SMB-26 SMB2 Query Dir
SMB-27 SMB2 Change Notify
SMB-28 SMB2 Query Info
SMB-29 SMB2 Set Info
SMB-30 SMB2 Oplocks
SMB-53 SMB2 Create Context options
(SMB2 code review cleanup 1, 2, 3)
SMB-56 extended security NTLMSSP, inbound
SMB-50 User-mode SMB server
 Includes work by these authors:
 Thomas Keiser <thomas.keiser@nexenta.com>
 Albert Lee <trisk@nexenta.com>
re #6813 rb1757 port 2976 Child folder visibility through shares
        
@@ -18,11 +18,11 @@
  *
  * CDDL HEADER END
  */
 /*
  * Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved.
- * Copyright 2015 Nexenta Systems, Inc.  All rights reserved.
+ * Copyright 2017 Nexenta Systems, Inc.  All rights reserved.
  * Copyright 2017 Joyent, Inc.
  */
 
 #include <sys/types.h>
 #include <sys/stat.h>
@@ -87,15 +87,17 @@
         ioc.netbios_enable = cfg->skc_netbios_enable;
         ioc.ipv6_enable = cfg->skc_ipv6_enable;
         ioc.print_enable = cfg->skc_print_enable;
         ioc.traverse_mounts = cfg->skc_traverse_mounts;
         ioc.max_protocol = cfg->skc_max_protocol;
+        ioc.min_protocol = cfg->skc_min_protocol;
         ioc.exec_flags = cfg->skc_execflags;
         ioc.negtok_len = cfg->skc_negtok_len;
         ioc.version = cfg->skc_version;
         ioc.initial_credits = cfg->skc_initial_credits;
         ioc.maximum_credits = cfg->skc_maximum_credits;
+        ioc.encrypt = cfg->skc_encrypt;
 
         (void) memcpy(ioc.machine_uuid, cfg->skc_machine_uuid, sizeof (uuid_t));
         (void) memcpy(ioc.negtok, cfg->skc_negtok, sizeof (ioc.negtok));
         (void) memcpy(ioc.native_os, cfg->skc_native_os,
             sizeof (ioc.native_os));