Print this page
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-5560 smb2 should use 64-bit server-global uids
Reviewed by: Gordon Ross <gwr@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-3662 Backport illumos 1501: taskq_create_proc ... TQ_DYNAMIC puts tasks in p0 (take 2)
Reviewed by: Garrett D'Amore <garrett@damore.org>
Reviewed by: Dan McDonald <danmcd@omniti.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Marcel Telka <marcel.telka@nexenta.com>
NEX-3576 RPC error when displaying open files via Windows MMC
Reviewed by: Kevin Crowe <kevin.crowe@nexenta.com>
SMB-136 Snapshots not visible in Windows previous versions
SMB-108 Should have comments to relate types with their XDR functions
SMB-39 Use AF_UNIX pipes for RPC
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_xdr.h
          +++ new/usr/src/uts/common/smbsrv/smb_xdr.h
↓ open down ↓ 26 lines elided ↑ open up ↑
  27   27  #define _SMBSRV_SMB_XDR_H
  28   28  
  29   29  #ifdef  __cplusplus
  30   30  extern "C" {
  31   31  #endif
  32   32  
  33   33  #include <rpc/xdr.h>
  34   34  #include <sys/param.h>
  35   35  #include <sys/avl.h>
  36   36  #include <sys/list.h>
  37      -#include <smbsrv/wintypes.h>
       37 +#include <smb/wintypes.h>
  38   38  #include <smbsrv/smb_sid.h>
  39   39  #include <smbsrv/smbinfo.h>
  40   40  #include <smbsrv/smb_ioctl.h>
  41   41  #include <smbsrv/smb_sid.h>
  42   42  #include <smbsrv/smb_share.h>
  43   43  #include <smbsrv/smb_dfs.h>
  44      -#include <smbsrv/wintypes.h>
  45   44  
  46   45  #if defined(_KERNEL) || defined(_FAKE_KERNEL)
  47   46  #include <sys/sysmacros.h>
  48   47  #define xdr_int8_t      xdr_char
  49   48  #define xdr_uint8_t     xdr_u_char
  50   49  #define xdr_int16_t     xdr_short
  51   50  #define xdr_uint16_t    xdr_u_short
  52   51  #else /* _KERNEL */
  53   52  #include <stddef.h>     /* offsetof */
  54   53  #endif /* _KERNEL */
↓ open down ↓ 66 lines elided ↑ open up ↑
 121  120          uint32_t dh_status;
 122  121  } smb_doorhdr_t;
 123  122  
 124  123  /*
 125  124   * Information about the client of a named pipe, provided by smbsrv
 126  125   * to the server side of the named pipe (the RPC service).
 127  126   * See also: smb_netuserinfo_xdr()
 128  127   */
 129  128  typedef struct smb_netuserinfo {
 130  129          uint64_t        ui_session_id;
 131      -        uint16_t        ui_smb_uid;
 132  130          uint16_t        ui_domain_len;
 133  131          char            *ui_domain;
 134  132          uint16_t        ui_account_len;
 135  133          char            *ui_account;
 136  134          uid_t           ui_posix_uid;
 137  135          uint16_t        ui_workstation_len;
 138  136          char            *ui_workstation;
 139  137          smb_inaddr_t    ui_ipaddr;
 140  138          int32_t         ui_native_os;
 141  139          int64_t         ui_logon_time;
↓ open down ↓ 242 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX