diff options
author | Günther Deschner <gd@samba.org> | 2009-10-27 15:28:06 +0100 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2009-10-28 12:37:38 +0100 |
commit | 1f9d06a1b0ff787db46af25bf68f194a08ac6c8e (patch) | |
tree | d66bdf506e0df5674eec62a91c6c41944e79fd84 /librpc/idl | |
parent | bda047afbc4188bce0538ad128bea000c9652388 (diff) | |
download | samba-1f9d06a1b0ff787db46af25bf68f194a08ac6c8e.tar.gz samba-1f9d06a1b0ff787db46af25bf68f194a08ac6c8e.tar.bz2 samba-1f9d06a1b0ff787db46af25bf68f194a08ac6c8e.zip |
lsa: add LSA_TRUSTED_DOMAIN access masks.
Guenther
Diffstat (limited to 'librpc/idl')
-rw-r--r-- | librpc/idl/lsa.idl | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/librpc/idl/lsa.idl b/librpc/idl/lsa.idl index ed95b919f9..a893786afa 100644 --- a/librpc/idl/lsa.idl +++ b/librpc/idl/lsa.idl @@ -242,6 +242,35 @@ import "misc.idl", "security.idl"; LSA_TRUSTED_QUERY_AUTH = 0x00000040 } lsa_TrustedAccessMask; + const int LSA_TRUSTED_DOMAIN_ALL_ACCESS = + (LSA_TRUSTED_QUERY_DOMAIN_NAME | + LSA_TRUSTED_QUERY_CONTROLLERS | + LSA_TRUSTED_SET_CONTROLLERS | + LSA_TRUSTED_QUERY_POSIX | + LSA_TRUSTED_SET_POSIX | + LSA_TRUSTED_SET_AUTH | + LSA_TRUSTED_QUERY_AUTH | + SEC_STD_DELETE | + STANDARD_RIGHTS_READ_ACCESS | + SEC_STD_WRITE_DAC | + SEC_STD_WRITE_OWNER); /* 0x000F007F */ + + const int LSA_TRUSTED_DOMAIN_READ = + (LSA_TRUSTED_QUERY_DOMAIN_NAME | + STANDARD_RIGHTS_READ_ACCESS); /* 0x00020001 */ + + const int LSA_TRUSTED_DOMAIN_WRITE = + (LSA_TRUSTED_SET_CONTROLLERS | + LSA_TRUSTED_SET_POSIX | + LSA_TRUSTED_SET_AUTH | + STANDARD_RIGHTS_READ_ACCESS); /* 0x00020034 */ + + const int LSA_TRUSTED_DOMAIN_EXECUTE = + (LSA_TRUSTED_QUERY_DOMAIN_NAME | + LSA_TRUSTED_QUERY_POSIX | + STANDARD_RIGHTS_READ_ACCESS); /* 0x0002000C */ + + /* notice the screwup with the system_name - thats why MS created OpenPolicy2 */ [public] NTSTATUS lsa_OpenPolicy ( |