summaryrefslogtreecommitdiff
path: root/source4/librpc
diff options
context:
space:
mode:
authorRonnie Sahlberg <sahlberg@samba.org>2007-08-29 11:54:23 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 15:03:08 -0500
commitbf3b40dc14fe31591019b6f6f2b3a1dff8f8746e (patch)
tree1cd57571bc5768e5636cd96cee09b9676db9141f /source4/librpc
parentc96657e751b2de80227b6b9d6116eeef0c42e500 (diff)
downloadsamba-bf3b40dc14fe31591019b6f6f2b3a1dff8f8746e.tar.gz
samba-bf3b40dc14fe31591019b6f6f2b3a1dff8f8746e.tar.bz2
samba-bf3b40dc14fe31591019b6f6f2b3a1dff8f8746e.zip
r24774: add 5 specific access mask bits for policy handles created for aliases
these five access mask bits : add member remove members get members lookup info set info come from wireshark/ethereal where they were added to cvs in Aug 21 2002 http://anonsvn.wireshark.org/viewvc/viewvc.py/trunk/epan/dissectors/packet-dcerpc-samr.c?r1=5987&r2=6054 (This used to be commit e39556ba4cc76b2754ef891d5c696bc3a5761310)
Diffstat (limited to 'source4/librpc')
-rw-r--r--source4/librpc/idl/samr.idl12
1 files changed, 10 insertions, 2 deletions
diff --git a/source4/librpc/idl/samr.idl b/source4/librpc/idl/samr.idl
index e906ad2965..2f8d08c9b6 100644
--- a/source4/librpc/idl/samr.idl
+++ b/source4/librpc/idl/samr.idl
@@ -50,6 +50,14 @@ import "misc.idl", "lsa.idl", "security.idl";
SAMR_ACCESS_OPEN_DOMAIN = 0x00000020
} samr_ConnectAccessMask;
+ typedef [bitmap32bit] bitmap {
+ ALIAS_ACCESS_ADD_MEMBER = 0x00000001,
+ ALIAS_ACCESS_REMOVE_MEMBER = 0x00000002,
+ ALIAS_ACCESS_GET_MEMBERS = 0x00000004,
+ ALIAS_ACCESS_LOOKUP_INFO = 0x00000008,
+ ALIAS_ACCESS_SET_INFO = 0x00000010
+ } samr_AliasAccessMask;
+
/******************/
/* Function: 0x00 */
NTSTATUS samr_Connect (
@@ -314,7 +322,7 @@ import "misc.idl", "lsa.idl", "security.idl";
NTSTATUS samr_CreateDomAlias(
[in,ref] policy_handle *domain_handle,
[in,ref] lsa_String *alias_name,
- [in] uint32 access_mask,
+ [in] samr_AliasAccessMask access_mask,
[out,ref] policy_handle *alias_handle,
[out,ref] uint32 *rid
);
@@ -489,7 +497,7 @@ import "misc.idl", "lsa.idl", "security.idl";
/* Function 0x1b */
NTSTATUS samr_OpenAlias (
[in,ref] policy_handle *domain_handle,
- [in] uint32 access_mask,
+ [in] samr_AliasAccessMask access_mask,
[in] uint32 rid,
[out,ref] policy_handle *alias_handle
);