Print this page
NEX-17457 kernel share list fails to be updated after fs import
Reviewed by: Matt Barden <matt.barden@nexenta.com>
Reviewed by: Gordon Ross <gordon.ross@nexenta.com>
Reviewed by: Yuri Pankov <yuripv@yuripv.net>
NEX-9808 SMB3 persistent handles
Reviewed by: Matt Barden <matt.barden@nexenta.com>
Reviewed by: Evan Layton <evan.layton@nexenta.com>
NEX-9808 SMB3 persistent handles
Reviewed by: Matt Barden <matt.barden@nexenta.com>
Reviewed by: Evan Layton <evan.layton@nexenta.com>
NEX-10098 Disabling SMB server service does not change the sharestate of a smb share to “offline”.
Reviewed by: Gordon Ross <gordon.ross@nexenta.com>
Reviewed by: Rob Gittins <rob.gittins@nexenta.com>
NEX-4083 Upstream changes from illumos 5917 and 5995
Reviewed by: Matt Barden <matt.barden@nexenta.com>
Reviewed by: Kevin Crowe <kevin.crowe@nexenta.com>
Reviewed by: Yuri Pankov <yuri.pankov@nexenta.com>
NEX-2188 Browsing top level share produces RPC error 1728

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/smbsrv/fksmbd/fksmbd_shr.c
          +++ new/usr/src/cmd/smbsrv/fksmbd/fksmbd_shr.c
↓ open down ↓ 2 lines elided ↑ open up ↑
   3    3   * Common Development and Distribution License ("CDDL"), version 1.0.
   4    4   * You may only use this file in accordance with the terms of version
   5    5   * 1.0 of the CDDL.
   6    6   *
   7    7   * A full copy of the text of the CDDL should have accompanied this
   8    8   * source.  A copy of the CDDL is also available via the Internet at
   9    9   * http://www.illumos.org/license/CDDL.
  10   10   */
  11   11  
  12   12  /*
  13      - * Copyright 2014 Nexenta Systems, Inc.  All rights reserved.
       13 + * Copyright 2018 Nexenta Systems, Inc.  All rights reserved.
  14   14   */
  15   15  
  16   16  /*
  17   17   * Replace the smb_shr_load() function in libmlsvc, because
  18   18   * fksmbd doesn't want the real shares known by libshare,
  19   19   * instead preferring its own (fake) list of shares.
  20   20   */
  21   21  
  22   22  #include <sys/types.h>
  23   23  
↓ open down ↓ 84 lines elided ↑ open up ↑
 108  108  
 109  109          /*
 110  110           * Not loading the real shares in fksmbd because that
 111  111           * tries to enable the network/smb/server service.
 112  112           * Also, we won't generally have access to everything
 113  113           * in the real shares, because fksmbd runs (only) with
 114  114           * the credentials of the user who runs it.
 115  115           */
 116  116          new_share("test", "/var/smb/test", "fksmbd test share",
 117  117              SMB_SHRF_GUEST_OK);
      118 +        new_share("testca", "/var/smb/test", "fksmbd test CA share",
      119 +            SMB_SHRF_CA);
 118  120  
 119  121          /* Allow creating lots of shares for testing. */
 120  122          shr_file = getenv("FKSMBD_SHARE_FILE");
 121  123          if (shr_file != NULL)
 122  124                  shr_load_file(shr_file);
 123  125  
 124  126          return (NULL);
      127 +}
      128 +
      129 +void
      130 +smb_shr_load_execinfo()
      131 +{
      132 +}
      133 +
      134 +void
      135 +smb_shr_unload()
      136 +{
 125  137  }
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX