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_info.c
          +++ new/usr/src/lib/smbsrv/libsmb/common/smb_info.c
↓ open down ↓ 13 lines elided ↑ open up ↑
  14   14   * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  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) 2007, 2010, Oracle and/or its affiliates. All rights reserved.
  23   23   * Copyright 2017 Nexenta Systems, Inc.  All rights reserved.
       24 + * Copyright 2020 RackTop Systems, Inc.
  24   25   */
  25   26  
  26   27  #include <sys/types.h>
  27   28  #include <sys/sockio.h>
  28   29  #include <sys/socket.h>
  29   30  #include <sys/utsname.h>
  30   31  
  31   32  #include <stdarg.h>
  32   33  #include <unistd.h>
  33   34  #include <stdlib.h>
↓ open down ↓ 119 lines elided ↑ open up ↑
 153  154          kcfg->skc_netbios_enable = smb_config_getbool(SMB_CI_NETBIOS_ENABLE);
 154  155          kcfg->skc_ipv6_enable = smb_config_getbool(SMB_CI_IPV6_ENABLE);
 155  156          kcfg->skc_print_enable = smb_config_getbool(SMB_CI_PRINT_ENABLE);
 156  157          kcfg->skc_oplock_enable = smb_config_getbool(SMB_CI_OPLOCK_ENABLE);
 157  158          kcfg->skc_sync_enable = smb_config_getbool(SMB_CI_SYNC_ENABLE);
 158  159          kcfg->skc_traverse_mounts = smb_config_getbool(SMB_CI_TRAVERSE_MOUNTS);
 159  160          kcfg->skc_max_protocol = smb_config_get_max_protocol();
 160  161          kcfg->skc_min_protocol = smb_config_get_min_protocol();
 161  162          kcfg->skc_secmode = smb_config_get_secmode();
 162  163          kcfg->skc_encrypt = smb_config_get_require(SMB_CI_ENCRYPT);
      164 +        kcfg->skc_encrypt_cipher = smb31_config_get_encrypt_cipher();
 163  165  
 164  166          (void) smb_getdomainname(kcfg->skc_nbdomain,
 165  167              sizeof (kcfg->skc_nbdomain));
 166  168          (void) smb_getfqdomainname(kcfg->skc_fqdn,
 167  169              sizeof (kcfg->skc_fqdn));
 168  170          (void) smb_getnetbiosname(kcfg->skc_hostname,
 169  171              sizeof (kcfg->skc_hostname));
 170  172          (void) smb_config_getstr(SMB_CI_SYS_CMNT, kcfg->skc_system_comment,
 171  173              sizeof (kcfg->skc_system_comment));
 172  174          smb_config_get_version(&kcfg->skc_version);
↓ open down ↓ 551 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX