Added mapping table for account object in lsa.
[ira/wip.git] / librpc / idl / lsa.idl
index a0b0e9dc3ccdc27decb82e8ee3839aa4c6fbc0f2..3fc222f7b4795dea1144f8a829deb108c49d1343 100644 (file)
@@ -188,6 +188,26 @@ import "misc.idl", "security.idl";
                LSA_ACCOUNT_ADJUST_SYSTEM_ACCESS        = 0x00000008
        } lsa_AccountAccessMask;
 
                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
        typedef [public,bitmap32bit] bitmap {
                LSA_SECRET_SET_VALUE                    = 0x00000001,
                LSA_SECRET_QUERY_VALUE                  = 0x00000002