diff options
author | Andrew Tridgell <tridge@samba.org> | 2003-02-10 11:31:23 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2003-02-10 11:31:23 +0000 |
commit | 6c66e42d2ccf025f57e652f7ae689f8a3c2ada59 (patch) | |
tree | 56c892e5817256759b9470f7186fbb74c6601430 /source3/include/rpc_misc.h | |
parent | baff308f169dc90449f55d207627135a44d14bbd (diff) | |
download | samba-6c66e42d2ccf025f57e652f7ae689f8a3c2ada59.tar.gz samba-6c66e42d2ccf025f57e652f7ae689f8a3c2ada59.tar.bz2 samba-6c66e42d2ccf025f57e652f7ae689f8a3c2ada59.zip |
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)
Diffstat (limited to 'source3/include/rpc_misc.h')
-rw-r--r-- | source3/include/rpc_misc.h | 16 |
1 files changed, 16 insertions, 0 deletions
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 { |