summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-02-27 15:46:35 +0100
committerGünther Deschner <gd@samba.org>2008-02-27 15:50:24 +0100
commitc5e4455e074bb4be65dbaf8fdb3f1c8bfe93f900 (patch)
tree7257c4cf7e46ecdd9b9f673ef7d6b15c952defc7
parent022b7d87a285a988759512afbc2fd061b61f9856 (diff)
downloadsamba-c5e4455e074bb4be65dbaf8fdb3f1c8bfe93f900.tar.gz
samba-c5e4455e074bb4be65dbaf8fdb3f1c8bfe93f900.tar.bz2
samba-c5e4455e074bb4be65dbaf8fdb3f1c8bfe93f900.zip
Add lsa_PolicyAccessMask to lsa.idl.
Guenther (This used to be commit 5fad28beec7eacd32f434a3bbfcaeb41640dfd22)
-rw-r--r--source3/librpc/idl/lsa.idl15
1 files changed, 15 insertions, 0 deletions
diff --git a/source3/librpc/idl/lsa.idl b/source3/librpc/idl/lsa.idl
index 38f3489a9f..6b38c5f74d 100644
--- a/source3/librpc/idl/lsa.idl
+++ b/source3/librpc/idl/lsa.idl
@@ -117,6 +117,21 @@ import "security.idl";
lsa_QosInfo *sec_qos;
} lsa_ObjectAttribute;
+ typedef [public,bitmap32bit] bitmap {
+ LSA_POLICY_VIEW_LOCAL_INFORMATION = 0x00000001,
+ LSA_POLICY_VIEW_AUDIT_INFORMATION = 0x00000002,
+ LSA_POLICY_GET_PRIVATE_INFORMATION = 0x00000004,
+ LSA_POLICY_TRUST_ADMIN = 0x00000008,
+ LSA_POLICY_CREATE_ACCOUNT = 0x00000010,
+ LSA_POLICY_CREATE_SECRET = 0x00000020,
+ LSA_POLICY_CREATE_PRIVILEGE = 0x00000040,
+ LSA_POLICY_SET_DEFAULT_QUOTA_LIMITS = 0x00000080,
+ LSA_POLICY_SET_AUDIT_REQUIREMENTS = 0x00000100,
+ LSA_POLICY_AUDIT_LOG_ADMIN = 0x00000200,
+ LSA_POLICY_SERVER_ADMIN = 0x00000400,
+ LSA_POLICY_LOOKUP_NAMES = 0x00000800
+ } lsa_PolicyAccessMask;
+
/* notice the screwup with the system_name - thats why MS created
OpenPolicy2 */
[public] NTSTATUS lsa_OpenPolicy (