From a9fbdd4838a40b51df592023f5507b3db0923668 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 10 Nov 2003 11:37:19 +0000 Subject: added IDL and test for lsa_EnumPrivsAccount() (This used to be commit f8bbce69bf43984ddf35c22cb6a9e6ef22f8f6f4) --- source4/librpc/idl/lsa.idl | 31 +++++++++++++++++++++++++++++-- 1 file changed, 29 insertions(+), 2 deletions(-) (limited to 'source4/librpc/idl') diff --git a/source4/librpc/idl/lsa.idl b/source4/librpc/idl/lsa.idl index f604534a78..6766775c9c 100644 --- a/source4/librpc/idl/lsa.idl +++ b/source4/librpc/idl/lsa.idl @@ -20,6 +20,7 @@ [in,ref] policy_handle *handle ); + /******************/ /* Function: 0x02 */ @@ -47,14 +48,17 @@ [out,ref] lsa_PrivArray *privs ); + /******************/ /* Function: 0x03 */ NTSTATUS lsa_QuerySecObj (); + /******************/ /* Function: 0x04 */ NTSTATUS lsa_SetSecObj (); + /******************/ /* Function: 0x05 */ NTSTATUS lsa_ChangePassword (); @@ -225,8 +229,31 @@ ); - /* Function: 0x12 */ - NTSTATUS ENUMPRIVSACCOUNT (); + /****************************************/ + /* Function: 0x12 */ + + typedef struct { + uint32 low; + uint32 high; + } lsa_LUID; + + typedef struct { + lsa_LUID luid; + uint32 attribute; + } lsa_LUIDAttribute; + + typedef struct { + uint32 count; + [size_is(count)] lsa_LUIDAttribute set[*]; + } lsa_PrivilegeSet; + + NTSTATUS lsa_EnumPrivsAccount ( + [in,ref] policy_handle *handle, + [out] lsa_PrivilegeSet *privs, + [out] uint32 unknown + ); + + /* Function: 0x13 */ NTSTATUS ADDPRIVS (); /* Function: 0x14 */ -- cgit