summaryrefslogtreecommitdiffstats
path: root/librpc
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2009-05-19 01:59:55 +0200
committerGünther Deschner <gd@samba.org>2009-05-19 02:05:10 +0200
commit7c22eed419fe877c51c6c4d1fecea0e2e4aa0b1b (patch)
tree66230220466b5191f5e8bcb533c88bfd8ac2f09e /librpc
parent459dc8f39c085d16bb8b4a04db33e5844f104395 (diff)
downloadsamba-7c22eed419fe877c51c6c4d1fecea0e2e4aa0b1b.tar.gz
samba-7c22eed419fe877c51c6c4d1fecea0e2e4aa0b1b.tar.xz
samba-7c22eed419fe877c51c6c4d1fecea0e2e4aa0b1b.zip
lsa: add access_masks for accounts, secrets and trusted domains to IDL.
Guenther
Diffstat (limited to 'librpc')
-rw-r--r--librpc/idl/lsa.idl25
1 files changed, 24 insertions, 1 deletions
diff --git a/librpc/idl/lsa.idl b/librpc/idl/lsa.idl
index ea787b2c7d0..a0b0e9dc3cc 100644
--- a/librpc/idl/lsa.idl
+++ b/librpc/idl/lsa.idl
@@ -140,7 +140,8 @@ import "misc.idl", "security.idl";
LSA_POLICY_SET_AUDIT_REQUIREMENTS = 0x00000100,
LSA_POLICY_AUDIT_LOG_ADMIN = 0x00000200,
LSA_POLICY_SERVER_ADMIN = 0x00000400,
- LSA_POLICY_LOOKUP_NAMES = 0x00000800
+ LSA_POLICY_LOOKUP_NAMES = 0x00000800,
+ LSA_POLICY_NOTIFICATION = 0x00001000
} lsa_PolicyAccessMask;
const int LSA_POLICY_ALL_ACCESS =
@@ -180,6 +181,28 @@ import "misc.idl", "security.idl";
LSA_POLICY_VIEW_LOCAL_INFORMATION |
LSA_POLICY_LOOKUP_NAMES);
+ typedef [public,bitmap32bit] bitmap {
+ LSA_ACCOUNT_VIEW = 0x00000001,
+ LSA_ACCOUNT_ADJUST_PRIVILEGES = 0x00000002,
+ LSA_ACCOUNT_ADJUST_QUOTAS = 0x00000004,
+ LSA_ACCOUNT_ADJUST_SYSTEM_ACCESS = 0x00000008
+ } lsa_AccountAccessMask;
+
+ typedef [public,bitmap32bit] bitmap {
+ LSA_SECRET_SET_VALUE = 0x00000001,
+ LSA_SECRET_QUERY_VALUE = 0x00000002
+ } lsa_SecretAccessMask;
+
+ typedef [public,bitmap32bit] bitmap {
+ LSA_TRUSTED_QUERY_DOMAIN_NAME = 0x00000001,
+ LSA_TRUSTED_QUERY_CONTROLLERS = 0x00000002,
+ LSA_TRUSTED_SET_CONTROLLERS = 0x00000004,
+ LSA_TRUSTED_QUERY_POSIX = 0x00000008,
+ LSA_TRUSTED_SET_POSIX = 0x00000010,
+ LSA_TRUSTED_SET_AUTH = 0x00000020,
+ LSA_TRUSTED_QUERY_AUTH = 0x00000040
+ } lsa_TrustedAccessMask;
+
/* notice the screwup with the system_name - thats why MS created
OpenPolicy2 */
[public] NTSTATUS lsa_OpenPolicy (