Fix winbindd crash bug with trusted domains. Bug #5736
[Samba.git] / source / include / rpc_lsa.h
blobb4021afd0a67e861bf77fc8db7376bc3a5c9a807
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
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.
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.
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/>.
23 #ifndef _RPC_LSA_H /* _RPC_LSA_H */
24 #define _RPC_LSA_H
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 )
41 #define LSA_POLICY_READ ( STANDARD_RIGHTS_READ_ACCESS |\
42 LSA_POLICY_VIEW_AUDIT_INFORMATION |\
43 LSA_POLICY_GET_PRIVATE_INFORMATION)
45 #define LSA_POLICY_WRITE ( STD_RIGHT_READ_CONTROL_ACCESS |\
46 LSA_POLICY_TRUST_ADMIN |\
47 LSA_POLICY_CREATE_ACCOUNT |\
48 LSA_POLICY_CREATE_SECRET |\
49 LSA_POLICY_CREATE_PRIVILEGE |\
50 LSA_POLICY_SET_DEFAULT_QUOTA_LIMITS |\
51 LSA_POLICY_SET_AUDIT_REQUIREMENTS |\
52 LSA_POLICY_AUDIT_LOG_ADMIN |\
53 LSA_POLICY_SERVER_ADMIN)
55 #define LSA_POLICY_EXECUTE ( STANDARD_RIGHTS_EXECUTE_ACCESS |\
56 LSA_POLICY_VIEW_LOCAL_INFORMATION |\
57 LSA_POLICY_LOOKUP_NAMES )
59 #endif /* _RPC_LSA_H */