From 4659d4f9e2bfdbd253ff14e9181dd65023ff6c6a Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 10 Nov 2003 12:12:22 +0000 Subject: 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) --- source4/librpc/idl/lsa.idl | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) (limited to 'source4/librpc/idl/lsa.idl') 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 */ -- cgit