Print this page
12513 SMB 3.1.1 support for server

@@ -20,10 +20,11 @@
  */
 /*
  * Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved.
  * Copyright 2017 Nexenta Systems, Inc.  All rights reserved.
  * Copyright 2017 Joyent, Inc.
+ * Copyright 2020 RackTop Systems, Inc.
  */
 
 #include <sys/types.h>
 #include <sys/stat.h>
 #include <sys/ioccom.h>

@@ -94,10 +95,11 @@
         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;
+        ioc.encrypt_cipher = cfg->skc_encrypt_cipher;
 
         (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));