From e52b216473bc88a0ef3fe7e6b57b4d2b99c9244e Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sun, 19 Dec 2004 07:20:55 +0000 Subject: r4279: added IDL and test code for lsa_AddPrivilegesToAccount() and lsa_RemovePrivilegesFromAccount() (This used to be commit 705b870c73995609c8d3ebb24418538bfe20c05b) --- source4/librpc/idl/lsa.idl | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) (limited to 'source4/librpc') diff --git a/source4/librpc/idl/lsa.idl b/source4/librpc/idl/lsa.idl index 42891eecf7..5928f44d32 100644 --- a/source4/librpc/idl/lsa.idl +++ b/source4/librpc/idl/lsa.idl @@ -368,7 +368,7 @@ } lsa_LUIDAttribute; typedef struct { - uint32 count; + [range(0,1000)] uint32 count; uint32 unknown; [size_is(count)] lsa_LUIDAttribute set[*]; } lsa_PrivilegeSet; @@ -379,11 +379,21 @@ ); + /****************************************/ /* Function: 0x13 */ - NTSTATUS lsa_AddPrivilegesToAccount(); + NTSTATUS lsa_AddPrivilegesToAccount( + [in,ref] policy_handle *handle, + [in,ref] lsa_PrivilegeSet *privs + ); + + /****************************************/ /* Function: 0x14 */ - NTSTATUS lsa_RemovePrivilegesFromAccount(); + NTSTATUS lsa_RemovePrivilegesFromAccount( + [in,ref] policy_handle *handle, + [in] uint8 remove_all, + [in] lsa_PrivilegeSet *privs + ); /* Function: 0x15 */ NTSTATUS lsa_GetQuotasForAccount(); -- cgit