mirror of
https://github.com/samba-team/samba.git
synced 2025-02-03 13:47:25 +03:00
lsa: add access_masks for accounts, secrets and trusted domains to IDL.
Guenther
This commit is contained in:
parent
459dc8f39c
commit
7c22eed419
@ -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 (
|
||||
|
Loading…
x
Reference in New Issue
Block a user