Print this page
12513 SMB 3.1.1 support for server

@@ -19,10 +19,11 @@
  * CDDL HEADER END
  */
 /*
  * Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved.
  * Copyright 2017 Nexenta Systems, Inc.  All rights reserved.
+ * Copyright 2020 RackTop Systems, Inc.
  */
 
 #include <sys/types.h>
 #include <sys/sockio.h>
 #include <sys/socket.h>

@@ -158,10 +159,11 @@
         kcfg->skc_traverse_mounts = smb_config_getbool(SMB_CI_TRAVERSE_MOUNTS);
         kcfg->skc_max_protocol = smb_config_get_max_protocol();
         kcfg->skc_min_protocol = smb_config_get_min_protocol();
         kcfg->skc_secmode = smb_config_get_secmode();
         kcfg->skc_encrypt = smb_config_get_require(SMB_CI_ENCRYPT);
+        kcfg->skc_encrypt_cipher = smb31_config_get_encrypt_cipher();
 
         (void) smb_getdomainname(kcfg->skc_nbdomain,
             sizeof (kcfg->skc_nbdomain));
         (void) smb_getfqdomainname(kcfg->skc_fqdn,
             sizeof (kcfg->skc_fqdn));