Print this page
12513 SMB 3.1.1 support for server

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/smbsrv/libsmb/common/smb_kmod.c
          +++ new/usr/src/lib/smbsrv/libsmb/common/smb_kmod.c
↓ open down ↓ 14 lines elided ↑ open up ↑
  15   15   * If applicable, add the following below this CDDL HEADER, with the
  16   16   * fields enclosed by brackets "[]" replaced with your own identifying
  17   17   * information: Portions Copyright [yyyy] [name of copyright owner]
  18   18   *
  19   19   * CDDL HEADER END
  20   20   */
  21   21  /*
  22   22   * Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved.
  23   23   * Copyright 2017 Nexenta Systems, Inc.  All rights reserved.
  24   24   * Copyright 2017 Joyent, Inc.
       25 + * Copyright 2020 RackTop Systems, Inc.
  25   26   */
  26   27  
  27   28  #include <sys/types.h>
  28   29  #include <sys/stat.h>
  29   30  #include <sys/ioccom.h>
  30   31  #include <sys/param.h>
  31   32  #include <stddef.h>
  32   33  #include <stdio.h>
  33   34  #include <string.h>
  34   35  #include <strings.h>
↓ open down ↓ 54 lines elided ↑ open up ↑
  89   90          ioc.print_enable = cfg->skc_print_enable;
  90   91          ioc.traverse_mounts = cfg->skc_traverse_mounts;
  91   92          ioc.max_protocol = cfg->skc_max_protocol;
  92   93          ioc.min_protocol = cfg->skc_min_protocol;
  93   94          ioc.exec_flags = cfg->skc_execflags;
  94   95          ioc.negtok_len = cfg->skc_negtok_len;
  95   96          ioc.version = cfg->skc_version;
  96   97          ioc.initial_credits = cfg->skc_initial_credits;
  97   98          ioc.maximum_credits = cfg->skc_maximum_credits;
  98   99          ioc.encrypt = cfg->skc_encrypt;
      100 +        ioc.encrypt_cipher = cfg->skc_encrypt_cipher;
  99  101  
 100  102          (void) memcpy(ioc.machine_uuid, cfg->skc_machine_uuid, sizeof (uuid_t));
 101  103          (void) memcpy(ioc.negtok, cfg->skc_negtok, sizeof (ioc.negtok));
 102  104          (void) memcpy(ioc.native_os, cfg->skc_native_os,
 103  105              sizeof (ioc.native_os));
 104  106          (void) memcpy(ioc.native_lm, cfg->skc_native_lm,
 105  107              sizeof (ioc.native_lm));
 106  108  
 107  109          (void) strlcpy(ioc.nbdomain, cfg->skc_nbdomain, sizeof (ioc.nbdomain));
 108  110          (void) strlcpy(ioc.fqdn, cfg->skc_fqdn, sizeof (ioc.fqdn));
↓ open down ↓ 374 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX