summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRonnie Sahlberg <sahlberg@samba.org>2007-08-29 12:39:58 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 15:03:09 -0500
commit0193c581148441e527b0b5b98a2a7845105006f3 (patch)
tree0f16564d727107f4e37a39db1db1c812c1d74719
parent6fa7bed8545d959e407ec52f8b32b5a335753141 (diff)
downloadsamba-0193c581148441e527b0b5b98a2a7845105006f3.tar.gz
samba-0193c581148441e527b0b5b98a2a7845105006f3.tar.bz2
samba-0193c581148441e527b0b5b98a2a7845105006f3.zip
r24777: add 11 specific access rights to the access mask for
domains on the samr pipe 10 of these bits : lookup info 1 set info 1 lookup info 2 set info 2 create user create group create alias enum account open account set info 3 come from wireshark/ethereal and were added to wireshark in Aug 21 2002 http://anonsvn.wireshark.org/viewvc/viewvc.py/trunk/epan/dissectors/packet-dcerpc-samr.c?r1=5987&r2=6054 one bit lookup alias also comes from wireshark where it was added in wireshark in Feb 21 2003 http://anonsvn.wireshark.org/viewvc/viewvc.py/trunk/epan/dissectors/packet-dcerpc-samr.c?r1=7173&r2=7178 (This used to be commit 4b2c8e28657b31c606d21946e7949c9cc52613c9)
-rw-r--r--source4/librpc/idl/samr.idl16
1 files changed, 15 insertions, 1 deletions
diff --git a/source4/librpc/idl/samr.idl b/source4/librpc/idl/samr.idl
index 25849ea6b7..d36fe93d04 100644
--- a/source4/librpc/idl/samr.idl
+++ b/source4/librpc/idl/samr.idl
@@ -51,6 +51,20 @@ import "misc.idl", "lsa.idl", "security.idl";
} samr_ConnectAccessMask;
typedef [bitmap32bit] bitmap {
+ DOMAIN_ACCESS_LOOKUP_INFO_1 = 0x00000001,
+ DOMAIN_ACCESS_SET_INFO_1 = 0x00000002,
+ DOMAIN_ACCESS_LOOKUP_INFO_2 = 0x00000004,
+ DOMAIN_ACCESS_SET_INFO_2 = 0x00000008,
+ DOMAIN_ACCESS_CREATE_USER = 0x00000010,
+ DOMAIN_ACCESS_CREATE_GROUP = 0x00000020,
+ DOMAIN_ACCESS_CREATE_ALIAS = 0x00000040,
+ DOMAIN_ACCESS_LOOKUP_ALIAS = 0x00000080,
+ DOMAIN_ACCESS_ENUM_ACCOUNTS = 0x00000100,
+ DOMAIN_ACCESS_OPEN_ACCOUNT = 0x00000200,
+ DOMAIN_ACCESS_SET_INFO_3 = 0x00000400
+ } samr_DomainAccessMask;
+
+ typedef [bitmap32bit] bitmap {
GROUP_ACCESS_LOOKUP_INFO = 0x00000001,
GROUP_ACCESS_SET_INFO = 0x00000002,
GROUP_ACCESS_ADD_MEMBER = 0x00000004,
@@ -145,7 +159,7 @@ import "misc.idl", "lsa.idl", "security.idl";
/* Function 0x07 */
[public] NTSTATUS samr_OpenDomain(
[in,ref] policy_handle *connect_handle,
- [in] uint32 access_mask,
+ [in] samr_DomainAccessMask access_mask,
[in,ref] dom_sid2 *sid,
[out,ref] policy_handle *domain_handle
);