1 | /*
|
---|
2 | Unix SMB/CIFS implementation.
|
---|
3 | SMB parameters and setup
|
---|
4 | Copyright (C) Andrew Tridgell 1992-1997
|
---|
5 | Copyright (C) Luke Kenneth Casson Leighton 1996-1997
|
---|
6 | Copyright (C) Paul Ashton 1997
|
---|
7 | Copyright (C) Gerald (Jerry) Carter 2005
|
---|
8 |
|
---|
9 | This program is free software; you can redistribute it and/or modify
|
---|
10 | it under the terms of the GNU General Public License as published by
|
---|
11 | the Free Software Foundation; either version 3 of the License, or
|
---|
12 | (at your option) any later version.
|
---|
13 |
|
---|
14 | This program is distributed in the hope that it will be useful,
|
---|
15 | but WITHOUT ANY WARRANTY; without even the implied warranty of
|
---|
16 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
---|
17 | GNU General Public License for more details.
|
---|
18 |
|
---|
19 | You should have received a copy of the GNU General Public License
|
---|
20 | along with this program. If not, see <http://www.gnu.org/licenses/>.
|
---|
21 | */
|
---|
22 |
|
---|
23 | #ifndef _RPC_LSA_H /* _RPC_LSA_H */
|
---|
24 | #define _RPC_LSA_H
|
---|
25 |
|
---|
26 | #define LSA_POLICY_ALL_ACCESS ( STANDARD_RIGHTS_REQUIRED_ACCESS |\
|
---|
27 | LSA_POLICY_VIEW_LOCAL_INFORMATION |\
|
---|
28 | LSA_POLICY_VIEW_AUDIT_INFORMATION |\
|
---|
29 | LSA_POLICY_GET_PRIVATE_INFORMATION |\
|
---|
30 | LSA_POLICY_TRUST_ADMIN |\
|
---|
31 | LSA_POLICY_CREATE_ACCOUNT |\
|
---|
32 | LSA_POLICY_CREATE_SECRET |\
|
---|
33 | LSA_POLICY_CREATE_PRIVILEGE |\
|
---|
34 | LSA_POLICY_SET_DEFAULT_QUOTA_LIMITS |\
|
---|
35 | LSA_POLICY_SET_AUDIT_REQUIREMENTS |\
|
---|
36 | LSA_POLICY_AUDIT_LOG_ADMIN |\
|
---|
37 | LSA_POLICY_SERVER_ADMIN |\
|
---|
38 | LSA_POLICY_LOOKUP_NAMES )
|
---|
39 |
|
---|
40 |
|
---|
41 | #define LSA_POLICY_READ ( STANDARD_RIGHTS_READ_ACCESS |\
|
---|
42 | LSA_POLICY_VIEW_LOCAL_INFORMATION |\
|
---|
43 | LSA_POLICY_VIEW_AUDIT_INFORMATION |\
|
---|
44 | LSA_POLICY_GET_PRIVATE_INFORMATION)
|
---|
45 |
|
---|
46 | #define LSA_POLICY_WRITE ( STD_RIGHT_READ_CONTROL_ACCESS |\
|
---|
47 | LSA_POLICY_TRUST_ADMIN |\
|
---|
48 | LSA_POLICY_CREATE_ACCOUNT |\
|
---|
49 | LSA_POLICY_CREATE_SECRET |\
|
---|
50 | LSA_POLICY_CREATE_PRIVILEGE |\
|
---|
51 | LSA_POLICY_SET_DEFAULT_QUOTA_LIMITS |\
|
---|
52 | LSA_POLICY_SET_AUDIT_REQUIREMENTS |\
|
---|
53 | LSA_POLICY_AUDIT_LOG_ADMIN |\
|
---|
54 | LSA_POLICY_SERVER_ADMIN)
|
---|
55 |
|
---|
56 | #define LSA_POLICY_EXECUTE ( STANDARD_RIGHTS_EXECUTE_ACCESS |\
|
---|
57 | LSA_POLICY_VIEW_LOCAL_INFORMATION |\
|
---|
58 | LSA_POLICY_LOOKUP_NAMES )
|
---|
59 |
|
---|
60 | #endif /* _RPC_LSA_H */
|
---|