summaryrefslogtreecommitdiff
path: root/source4/librpc/idl
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2003-11-10 12:12:22 +0000
committerAndrew Tridgell <tridge@samba.org>2003-11-10 12:12:22 +0000
commit4659d4f9e2bfdbd253ff14e9181dd65023ff6c6a (patch)
tree5306b99dbe6c2cac68b8755c1a21fec127a84068 /source4/librpc/idl
parenta9fbdd4838a40b51df592023f5507b3db0923668 (diff)
downloadsamba-4659d4f9e2bfdbd253ff14e9181dd65023ff6c6a.tar.gz
samba-4659d4f9e2bfdbd253ff14e9181dd65023ff6c6a.tar.bz2
samba-4659d4f9e2bfdbd253ff14e9181dd65023ff6c6a.zip
added IDL and test for lsa_EnumAccountRights()
interestingly, win2000 doesn't return the same list of rights via lsa_EnumAccountRights() and lsa_EnumPrivsAccount() (This used to be commit 447c5f13d40d05a49b8bfa1c28c2797371ff5352)
Diffstat (limited to 'source4/librpc/idl')
-rw-r--r--source4/librpc/idl/lsa.idl18
1 files changed, 17 insertions, 1 deletions
diff --git a/source4/librpc/idl/lsa.idl b/source4/librpc/idl/lsa.idl
index 6766775c9c..fc8fddd85d 100644
--- a/source4/librpc/idl/lsa.idl
+++ b/source4/librpc/idl/lsa.idl
@@ -288,8 +288,24 @@
NTSTATUS DELETEOBJECT ();
/* Function: 0x23 */
NTSTATUS ENUMACCTWITHRIGHT ();
+
/* Function: 0x24 */
- NTSTATUS ENUMACCTRIGHTS ();
+ typedef struct {
+ unistr *name;
+ } lsa_RightAttribute;
+
+ typedef struct {
+ uint32 count;
+ [size_is(count)] lsa_Name *names;
+ } lsa_RightSet;
+
+ NTSTATUS lsa_EnumAccountRights (
+ [in,ref] policy_handle *handle,
+ [in,ref] dom_sid2 *sid,
+ [out,ref] lsa_RightSet *rights
+ );
+
+
/* Function: 0x25 */
NTSTATUS ADDACCTRIGHTS ();
/* Function: 0x26 */