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 (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved.
23 * Copyright 2014 Nexenta Systems, Inc. All rights reserved.
24 */
25
26 #ifndef _SMB_SID_H
27 #define _SMB_SID_H
28
29 /*
30 * Security Identifier (SID) interface definition.
31 */
32 #include <smbsrv/wintypes.h>
33
34 #ifdef __cplusplus
35 extern "C" {
36 #endif
37
38 /*
39 * Predefined global user RIDs.
40 */
41 #define DOMAIN_USER_RID_ADMIN (0x000001F4L) /* 500 */
42 #define DOMAIN_USER_RID_GUEST (0x000001F5L) /* 501 */
43 #define DOMAIN_USER_RID_KRBTGT (0x000001F6L) /* 502 */
44
45 /*
46 * Predefined global group RIDs.
47 */
48 #define DOMAIN_GROUP_RID_ADMINS (0x00000200L) /* 512 */
49 #define DOMAIN_GROUP_RID_USERS (0x00000201L) /* 513 */
50 #define DOMAIN_GROUP_RID_GUESTS (0x00000202L) /* 514 */
51 #define DOMAIN_GROUP_RID_COMPUTERS (0x00000203L) /* 515 */
52 #define DOMAIN_GROUP_RID_CONTROLLERS (0x00000204L) /* 516 */
|
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 (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved.
23 * Copyright 2014 Nexenta Systems, Inc. All rights reserved.
24 */
25
26 #ifndef _SMB_SID_H
27 #define _SMB_SID_H
28
29 /*
30 * Security Identifier (SID) interface definition.
31 */
32 #include <smb/wintypes.h>
33
34 #ifdef __cplusplus
35 extern "C" {
36 #endif
37
38 /*
39 * Predefined global user RIDs.
40 */
41 #define DOMAIN_USER_RID_ADMIN (0x000001F4L) /* 500 */
42 #define DOMAIN_USER_RID_GUEST (0x000001F5L) /* 501 */
43 #define DOMAIN_USER_RID_KRBTGT (0x000001F6L) /* 502 */
44
45 /*
46 * Predefined global group RIDs.
47 */
48 #define DOMAIN_GROUP_RID_ADMINS (0x00000200L) /* 512 */
49 #define DOMAIN_GROUP_RID_USERS (0x00000201L) /* 513 */
50 #define DOMAIN_GROUP_RID_GUESTS (0x00000202L) /* 514 */
51 #define DOMAIN_GROUP_RID_COMPUTERS (0x00000203L) /* 515 */
52 #define DOMAIN_GROUP_RID_CONTROLLERS (0x00000204L) /* 516 */
|