summaryrefslogtreecommitdiff
path: root/librpc/idl
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2009-05-19 14:47:25 -0700
committerJeremy Allison <jra@samba.org>2009-05-19 14:47:25 -0700
commitf8da7f5d744a87b3b7504ec4c509f52c0b4cbe44 (patch)
tree5eeb809f97d1bb726cdffeaad6d93492c2113b21 /librpc/idl
parentf9d00fb58e8e9fed24751ad26dbdbc394f30290e (diff)
downloadsamba-f8da7f5d744a87b3b7504ec4c509f52c0b4cbe44.tar.gz
samba-f8da7f5d744a87b3b7504ec4c509f52c0b4cbe44.tar.bz2
samba-f8da7f5d744a87b3b7504ec4c509f52c0b4cbe44.zip
Added mapping table for account object in lsa.
Jeremy.
Diffstat (limited to 'librpc/idl')
-rw-r--r--librpc/idl/lsa.idl20
1 files changed, 20 insertions, 0 deletions
diff --git a/librpc/idl/lsa.idl b/librpc/idl/lsa.idl
index a0b0e9dc3c..3fc222f7b4 100644
--- a/librpc/idl/lsa.idl
+++ b/librpc/idl/lsa.idl
@@ -188,6 +188,26 @@ import "misc.idl", "security.idl";
LSA_ACCOUNT_ADJUST_SYSTEM_ACCESS = 0x00000008
} lsa_AccountAccessMask;
+ const int LSA_ACCOUNT_ALL_ACCESS =
+ (STANDARD_RIGHTS_REQUIRED_ACCESS |
+ LSA_ACCOUNT_VIEW |
+ LSA_ACCOUNT_ADJUST_PRIVILEGES |
+ LSA_ACCOUNT_ADJUST_QUOTAS |
+ LSA_ACCOUNT_ADJUST_SYSTEM_ACCESS);
+
+ const int LSA_ACCOUNT_READ =
+ (STANDARD_RIGHTS_READ_ACCESS |
+ LSA_ACCOUNT_VIEW);
+
+ const int LSA_ACCOUNT_WRITE =
+ (STANDARD_RIGHTS_READ_ACCESS |
+ LSA_ACCOUNT_ADJUST_PRIVILEGES |
+ LSA_ACCOUNT_ADJUST_QUOTAS |
+ LSA_ACCOUNT_ADJUST_SYSTEM_ACCESS);
+
+ const int LSA_ACCOUNT_EXECUTE =
+ (STANDARD_RIGHTS_EXECUTE_ACCESS);
+
typedef [public,bitmap32bit] bitmap {
LSA_SECRET_SET_VALUE = 0x00000001,
LSA_SECRET_QUERY_VALUE = 0x00000002