From 6c66e42d2ccf025f57e652f7ae689f8a3c2ada59 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 10 Feb 2003 11:31:23 +0000 Subject: added the 'lsaenumacctwithright' command to rpcclient. This allows you to lookup what SIDs have a particular privilege (that is how privileges are stored). (This used to be commit 3ddb5fb0dd33992b7db54a661752551a3fefc0b4) --- source3/include/rpc_misc.h | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'source3/include/rpc_misc.h') diff --git a/source3/include/rpc_misc.h b/source3/include/rpc_misc.h index 7710489435..06ad760c58 100644 --- a/source3/include/rpc_misc.h +++ b/source3/include/rpc_misc.h @@ -227,6 +227,22 @@ typedef struct UNISTR2_ARRAY_EL *strings; } UNISTR2_ARRAY; + +/* an element in a sid array */ +typedef struct +{ + uint32 ref_id; + DOM_SID2 sid; +} SID_ARRAY_EL; + +/* an array of sids */ +typedef struct +{ + uint32 ref_id; + uint32 count; + SID_ARRAY_EL *sids; +} SID_ARRAY; + /* DOM_RID2 - domain RID structure for ntlsa pipe */ typedef struct domrid2_info { -- cgit