Print this page
NEX-19057 All zfs/nfs/smb threads in door calls to idle idmap
Reviewed by: Matt Barden <matt.barden@nexenta.com>
Reviewed by: Yuri Pankov <yuri.pankov@nexenta.com>
Reviewed by: Roman Strashkin <roman.strashkin@nexenta.com>
1575 untangle libmlrpc from SMB server
Reviewed by: Matt Barden <matt.barden@nexenta.com>
Reviewed by: Evan Layton <evan.layton@nexenta.com>
Reviewed by: Toomas Soome <tsoome@me.com>
Approved by: Richard Lowe <richlowe@richlowe.net>
NEX-1638 Updated DC Locator
 Includes work by: matt.barden@nexenta.com, kevin.crowe@nexenta.com
SMB-108 Should have comments to relate types with their XDR functions
SMB-50 User-mode SMB server
 Includes work by these authors:
 Thomas Keiser <thomas.keiser@nexenta.com>
 Albert Lee <trisk@nexenta.com>

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/smbsrv/smb_door.h
          +++ new/usr/src/uts/common/smbsrv/smb_door.h
↓ open down ↓ 12 lines elided ↑ open up ↑
  13   13   * When distributing Covered Code, include this CDDL HEADER in each
  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      - * Copyright 2014 Nexenta Systems, Inc.  All rights reserved.
       23 + * Copyright 2019 Nexenta Systems, Inc.  All rights reserved.
  24   24   */
  25   25  
  26   26  #ifndef _SMBSRV_SMB_DOOR_H
  27   27  #define _SMBSRV_SMB_DOOR_H
  28   28  
  29   29  #include <sys/door.h>
  30      -#include <smbsrv/wintypes.h>
       30 +#include <smb/wintypes.h>
  31   31  #include <smbsrv/smb_xdr.h>
  32   32  #include <smbsrv/smb_token.h>
  33   33  
  34   34  #ifdef __cplusplus
  35   35  extern "C" {
  36   36  #endif
  37   37  
  38   38  #define SMBD_DOOR_NAME                  "/var/run/smbd_door"
  39   39  
  40   40  #define SMB_DOOR_CALL_RETRIES           3
↓ open down ↓ 22 lines elided ↑ open up ↑
  63   63          SMB_DR_GET_DCINFO,
  64   64          SMB_DR_VSS_GET_COUNT,
  65   65          SMB_DR_VSS_GET_SNAPSHOTS,
  66   66          SMB_DR_VSS_MAP_GMTTOKEN,
  67   67          SMB_DR_ADS_FIND_HOST,
  68   68          SMB_DR_QUOTA_QUERY,
  69   69          SMB_DR_QUOTA_SET,
  70   70          SMB_DR_DFS_GET_REFERRALS,
  71   71          SMB_DR_SHR_HOSTACCESS,
  72   72          SMB_DR_SHR_EXEC,
  73      -        SMB_DR_NOTIFY_DC_CHANGED
       73 +        SMB_DR_NOTIFY_DC_CHANGED,
       74 +        SMB_DR_LOOKUP_LSID,
       75 +        SMB_DR_LOOKUP_LNAME
  74   76  } smb_dopcode_t;
  75   77  
  76   78  struct smb_event;
  77   79  
  78   80  typedef struct smb_doorarg {
  79   81          smb_doorhdr_t           da_hdr;
  80   82          door_arg_t              da_arg;
  81   83          xdrproc_t               da_req_xdr;
  82   84          xdrproc_t               da_rsp_xdr;
  83   85          void                    *da_req_data;
↓ open down ↓ 107 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX