1
0
mirror of https://github.com/samba-team/samba.git synced 2025-12-19 12:23:49 +03:00

cleaned up the lsa_enum_acct_rights function and added a

lsa_add_acct_rights function.

This allows us to add privileges remotely to accounts using rpcclient.
This commit is contained in:
Andrew Tridgell
-
parent 7cbb194b58
commit 2e5e659e09
6 changed files with 210 additions and 22 deletions

View File

@@ -217,15 +217,15 @@ typedef struct
uint16 size;
uint32 ref_id;
UNISTR2 string;
} UNISTR_ARRAY_EL;
} UNISTR2_ARRAY_EL;
/* an array of unicode strings */
typedef struct
{
uint32 ref_id;
uint32 count;
UNISTR_ARRAY_EL *strings;
} UNISTR_ARRAY;
UNISTR2_ARRAY_EL *strings;
} UNISTR2_ARRAY;
/* DOM_RID2 - domain RID structure for ntlsa pipe */
typedef struct domrid2_info