summaryrefslogtreecommitdiff
path: root/source4/librpc/idl
diff options
context:
space:
mode:
authorRonnie Sahlberg <sahlberg@samba.org>2007-08-29 11:04:49 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 15:03:08 -0500
commitc96657e751b2de80227b6b9d6116eeef0c42e500 (patch)
treeeeb7e86569e3212ca639e5ffc8f7b4b667f179a4 /source4/librpc/idl
parent2e5e9411d4d12b33e2add9a4a7a90343feee6684 (diff)
downloadsamba-c96657e751b2de80227b6b9d6116eeef0c42e500.tar.gz
samba-c96657e751b2de80227b6b9d6116eeef0c42e500.tar.bz2
samba-c96657e751b2de80227b6b9d6116eeef0c42e500.zip
r24772: add a bitmap that describes 6 of the specific accessmask bits for
policy handles that are create by Connect?() calls on the samr pipe. these bits come from the wireshark/ethereal sources where they have been documented for a long time. the bits : connect to server initialize server create domain were added to wireshark/ethereal in svn 8080 Jul 24 2003 the bits : open domain enum domain shutdown server were added to wireshark/ethereal in svn 6054 Aug 21 2002 (This used to be commit 04e67bb6807c318de44d5434bc4344b24494b4a1)
Diffstat (limited to 'source4/librpc/idl')
-rw-r--r--source4/librpc/idl/samr.idl19
1 files changed, 14 insertions, 5 deletions
diff --git a/source4/librpc/idl/samr.idl b/source4/librpc/idl/samr.idl
index 479396d5c5..e906ad2965 100644
--- a/source4/librpc/idl/samr.idl
+++ b/source4/librpc/idl/samr.idl
@@ -41,12 +41,21 @@ import "misc.idl", "lsa.idl", "security.idl";
ACB_NO_AUTH_DATA_REQD = 0x00080000 /* 1 = No authorization data required */
} samr_AcctFlags;
+ typedef [bitmap32bit] bitmap {
+ SAMR_ACCESS_CONNECT_TO_SERVER = 0x00000001,
+ SAMR_ACCESS_SHUTDOWN_SERVER = 0x00000002,
+ SAMR_ACCESS_INITIALIZE_SERVER = 0x00000004,
+ SAMR_ACCESS_CREATE_DOMAIN = 0x00000008,
+ SAMR_ACCESS_ENUM_DOMAINS = 0x00000010,
+ SAMR_ACCESS_OPEN_DOMAIN = 0x00000020
+ } samr_ConnectAccessMask;
+
/******************/
/* Function: 0x00 */
NTSTATUS samr_Connect (
/* notice the lack of [string] */
[in] uint16 *system_name,
- [in] uint32 access_mask,
+ [in] samr_ConnectAccessMask access_mask,
[out,ref] policy_handle *connect_handle
);
@@ -1131,7 +1140,7 @@ import "misc.idl", "lsa.idl", "security.idl";
/* Function 0x39 */
NTSTATUS samr_Connect2(
[in,string,charset(UTF16)] uint16 *system_name,
- [in] uint32 access_mask,
+ [in] samr_ConnectAccessMask access_mask,
[out,ref] policy_handle *connect_handle
);
@@ -1171,7 +1180,7 @@ import "misc.idl", "lsa.idl", "security.idl";
[in,string,charset(UTF16)] uint16 *system_name,
/* this unknown value seems to be completely ignored by w2k3 */
[in] uint32 unknown,
- [in] uint32 access_mask,
+ [in] samr_ConnectAccessMask access_mask,
[out,ref] policy_handle *connect_handle
);
@@ -1180,7 +1189,7 @@ import "misc.idl", "lsa.idl", "security.idl";
NTSTATUS samr_Connect4(
[in,string,charset(UTF16)] uint16 *system_name,
[in] uint32 unknown,
- [in] uint32 access_mask,
+ [in] samr_ConnectAccessMask access_mask,
[out,ref] policy_handle *connect_handle
);
@@ -1222,7 +1231,7 @@ import "misc.idl", "lsa.idl", "security.idl";
[public] NTSTATUS samr_Connect5(
[in,string,charset(UTF16)] uint16 *system_name,
- [in] uint32 access_mask,
+ [in] samr_ConnectAccessMask access_mask,
[in,out] uint32 level,
[in,out,switch_is(level),ref] samr_ConnectInfo *info,
[out,ref] policy_handle *connect_handle