summaryrefslogtreecommitdiff
path: root/source4/librpc/idl
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2003-11-09 09:44:06 +0000
committerAndrew Tridgell <tridge@samba.org>2003-11-09 09:44:06 +0000
commit4bba087298b45b3dd403a8ee0a50179bff72f6c4 (patch)
treef537ed134fe277453d2a61685b49a69676f4320b /source4/librpc/idl
parente3581c28bbc43c0c74f8f0622a464856ad243fb0 (diff)
downloadsamba-4bba087298b45b3dd403a8ee0a50179bff72f6c4.tar.gz
samba-4bba087298b45b3dd403a8ee0a50179bff72f6c4.tar.bz2
samba-4bba087298b45b3dd403a8ee0a50179bff72f6c4.zip
added lsa_EnumPrivs idl and test code
(This used to be commit fe12f81ba4583b1121bf128db55c4763736a205c)
Diffstat (limited to 'source4/librpc/idl')
-rw-r--r--source4/librpc/idl/lsa.idl35
1 files changed, 27 insertions, 8 deletions
diff --git a/source4/librpc/idl/lsa.idl b/source4/librpc/idl/lsa.idl
index 8a1b4d546f..7d652e2449 100644
--- a/source4/librpc/idl/lsa.idl
+++ b/source4/librpc/idl/lsa.idl
@@ -16,11 +16,36 @@
/******************/
/* Function: 0x01 */
- NTSTATUS lsa_Delete ();
+ NTSTATUS lsa_Delete (
+ [in,ref] policy_handle *handle
+ );
/******************/
/* Function: 0x02 */
- NTSTATUS lsa_EnumPrivs ();
+
+ typedef struct {
+ uint16 name_len;
+ uint16 name_size;
+ unistr_noterm *name;
+ } lsa_Name;
+
+ typedef struct {
+ lsa_Name name;
+ uint32 luid_low;
+ uint32 luid_high;
+ } lsa_PrivEntry;
+
+ typedef struct {
+ uint32 count;
+ [size_is(count)] lsa_PrivEntry *privs;
+ } lsa_PrivArray;
+
+ NTSTATUS lsa_EnumPrivs (
+ [in,ref] policy_handle *handle,
+ [in,out,ref] uint32 *resume_handle,
+ [in] uint32 max_count,
+ [out,ref] lsa_PrivArray *privs
+ );
/******************/
/* Function: 0x03 */
@@ -113,12 +138,6 @@
/* Function: 0x0e */
typedef struct {
- uint16 name_len;
- uint16 name_size;
- unistr_noterm *name;
- } lsa_Name;
-
- typedef struct {
uint16 sid_type;
uint32 rid;
uint32 sid_index;