Print this page
NEX-13644 File access audit logging
Reviewed by: Gordon Ross <gordon.ross@nexenta.com>
Reviewed by: Roman Strashkin <roman.strashkin@nexenta.com>
Reviewed by: Saso Kiselkov <saso.kiselkov@nexenta.com>
Reviewed by: Rick McNeal <rick.mcneal@nexenta.com>
Reviewed by: Yuri Pankov <yuri.pankov@nexenta.com>
SMB-50 User-mode SMB server
 Includes work by these authors:
 Thomas Keiser <thomas.keiser@nexenta.com>
 Albert Lee <trisk@nexenta.com>
SUP-642 Regression leading to AD usernames not being displayed by zfs userspace command.

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/libidmap/common/idmap.h
          +++ new/usr/src/lib/libidmap/common/idmap.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 2013 Nexenta Systems, Inc.  All rights reserved.
       23 + * Copyright 2018 Nexenta Systems, Inc.  All rights reserved.
  24   24   */
  25   25  
  26   26  /*
  27   27   * Header File for Clients of Native Identity Mapping Service
  28   28   */
  29   29  
  30   30  #ifndef _IDMAP_H
  31   31  #define _IDMAP_H
  32   32  
  33   33  
↓ open down ↓ 87 lines elided ↑ open up ↑
 121  121   */
 122  122  /* Given UID, get Windows name */
 123  123  extern idmap_stat idmap_getwinnamebyuid(uid_t, int, char **, char **);
 124  124  
 125  125  /* Given GID, get Windows name */
 126  126  extern idmap_stat idmap_getwinnamebygid(gid_t, int, char **, char **);
 127  127  
 128  128  /* Given PID, get Windows name */
 129  129  extern idmap_stat idmap_getwinnamebypid(uid_t, int, int, char **, char **);
 130  130  
      131 +/* Given SID, get Windows name */
      132 +extern idmap_stat idmap_getwinnamebysid(char *, int, char **);
      133 +
 131  134  /* Given Windows name, get UID */
 132  135  extern idmap_stat idmap_getuidbywinname(const char *, const char *,
 133  136          int, uid_t *);
 134  137  
 135  138  /* Given Windows name, get GID */
 136  139  extern idmap_stat idmap_getgidbywinname(const char *, const char *,
 137  140          int, gid_t *);
 138  141  
 139  142  
 140  143  /* Logger */
 141  144  extern void idmap_set_logger(idmap_logger_t funct);
 142  145  
 143  146  #ifdef __cplusplus
 144  147  }
 145  148  #endif
 146  149  
 147  150  #endif /* _IDMAP_H */
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX