1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00

Add lsa_PolicyAccessMask to lsa.idl.

Guenther
(This used to be commit 5fad28beec)
This commit is contained in:
Günther Deschner 2008-02-27 15:46:35 +01:00
parent 022b7d87a2
commit c5e4455e07

View File

@ -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 (