Print this page
NEX-14666 Need to provide SMB 2.1 Client
NEX-17187 panic in smbfs_acl_store
NEX-17231 smbfs create xattr files finds wrong file
NEX-17224 smbfs lookup EINVAL should be ENOENT
NEX-17260 SMB1 client fails to list directory after NEX-14666
Reviewed by: Evan Layton <evan.layton@nexenta.com>
Reviewed by: Matt Barden <matt.barden@nexenta.com>
Reviewed by: Rick McNeal <rick.mcneal@nexenta.com>
Reviewed by: Saso Kiselkov <saso.kiselkov@nexenta.com>
Reviewed by: Joyce McIntosh <joyce.mcintosh@nexenta.com>
and: (cleanup)


   4  * The contents of this file are subject to the terms of the
   5  * Common Development and Distribution License (the "License").
   6  * You may not use this file except in compliance with the License.
   7  *
   8  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
   9  * or http://www.opensolaris.org/os/licensing.
  10  * See the License for the specific language governing permissions
  11  * and limitations under the License.
  12  *
  13  * When distributing Covered Code, include this CDDL HEADER in each
  14  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  15  * If applicable, add the following below this CDDL HEADER, with the
  16  * fields enclosed by brackets "[]" replaced with your own identifying
  17  * information: Portions Copyright [yyyy] [name of copyright owner]
  18  *
  19  * CDDL HEADER END
  20  */
  21 /*
  22  * Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
  23  * Use is subject to license terms.


  24  */
  25 
  26 #ifndef _SMBSRV_NTACCESS_H
  27 #define _SMBSRV_NTACCESS_H
  28 
  29 #pragma ident   "%Z%%M% %I%     %E% SMI"
  30 
  31 /*
  32  * This file defines the NT compatible access control masks and values.
  33  * An access mask as a 32-bit value arranged as shown below.
  34  *
  35  *   31-28    Generic bits, interpreted per object type
  36  *   27-26    Reserved, must-be-zero
  37  *   25       Maximum allowed
  38  *   24       System Security rights (SACL is SD)
  39  *   23-16    Standard access rights, generic to all object types
  40  *   15-0     Specific access rights, object specific
  41  *
  42  *   3 3 2 2 2 2 2 2 2 2 2 2 1 1 1 1 1 1 1 1 1 1
  43  *   1 0 9 8 7 6 5 4 3 2 1 0 9 8 7 6 5 4 3 2 1 0 9 8 7 6 5 4 3 2 1 0
  44  *   +---------------+---------------+-------------------------------+
  45  *   |G|G|G|G|Res'd|A| StandardRights|         SpecificRights        |
  46  *   |R|W|E|A|     |S|               |                               |
  47  *   +-+-------------+---------------+-------------------------------+
  48  */
  49 
  50 #ifdef __cplusplus




   4  * The contents of this file are subject to the terms of the
   5  * Common Development and Distribution License (the "License").
   6  * You may not use this file except in compliance with the License.
   7  *
   8  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
   9  * or http://www.opensolaris.org/os/licensing.
  10  * See the License for the specific language governing permissions
  11  * and limitations under the License.
  12  *
  13  * When distributing Covered Code, include this CDDL HEADER in each
  14  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  15  * If applicable, add the following below this CDDL HEADER, with the
  16  * fields enclosed by brackets "[]" replaced with your own identifying
  17  * information: Portions Copyright [yyyy] [name of copyright owner]
  18  *
  19  * CDDL HEADER END
  20  */
  21 /*
  22  * Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
  23  * Use is subject to license terms.
  24  *
  25  * Copyright 2018 Nexenta Systems, Inc.  All rights reserved.
  26  */
  27 
  28 #ifndef _SMBSRV_NTACCESS_H
  29 #define _SMBSRV_NTACCESS_H
  30 


  31 /*
  32  * This file defines the NT compatible access control masks and values.
  33  * An access mask as a 32-bit value arranged as shown below.
  34  *
  35  *   31-28    Generic bits, interpreted per object type
  36  *   27-26    Reserved, must-be-zero
  37  *   25       Maximum allowed
  38  *   24       System Security rights (SACL is SD)
  39  *   23-16    Standard access rights, generic to all object types
  40  *   15-0     Specific access rights, object specific
  41  *
  42  *   3 3 2 2 2 2 2 2 2 2 2 2 1 1 1 1 1 1 1 1 1 1
  43  *   1 0 9 8 7 6 5 4 3 2 1 0 9 8 7 6 5 4 3 2 1 0 9 8 7 6 5 4 3 2 1 0
  44  *   +---------------+---------------+-------------------------------+
  45  *   |G|G|G|G|Res'd|A| StandardRights|         SpecificRights        |
  46  *   |R|W|E|A|     |S|               |                               |
  47  *   +-+-------------+---------------+-------------------------------+
  48  */
  49 
  50 #ifdef __cplusplus