summaryrefslogtreecommitdiff
path: root/source3/include/rpc_misc.h
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2003-01-15 07:40:40 +0000
committerAndrew Tridgell <tridge@samba.org>2003-01-15 07:40:40 +0000
commiteb6312af9fcf91b7709af50b499bc3b01eddeee5 (patch)
tree6f20a72d565c45f6a793f40d7434706564cd104e /source3/include/rpc_misc.h
parent0a8b4417bcb73b9146c5eb60fdede8d8cbbb437d (diff)
downloadsamba-eb6312af9fcf91b7709af50b499bc3b01eddeee5.tar.gz
samba-eb6312af9fcf91b7709af50b499bc3b01eddeee5.tar.bz2
samba-eb6312af9fcf91b7709af50b499bc3b01eddeee5.zip
added cli_lsa_enum_account_rights() call. Note that this is in
principal similar to the existing cli_lsa_enum_privsaccount() call, except that cli_lsa_enum_account_rights() doesn't require a call to open_account first. There is also the minor matter that cli_lsa_enum_account_rights() works whereas cli_lsa_enum_privsaccount() doesn't! this call can be used to find what privileges an account or group has. This is a first step towards proper privileges support in Samba. (This used to be commit 65bac11d716f873dcdbda528313c33634c26a072)
Diffstat (limited to 'source3/include/rpc_misc.h')
-rw-r--r--source3/include/rpc_misc.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/source3/include/rpc_misc.h b/source3/include/rpc_misc.h
index e47853c2a2..1b956826eb 100644
--- a/source3/include/rpc_misc.h
+++ b/source3/include/rpc_misc.h
@@ -210,6 +210,22 @@ typedef struct unistr3_info
} UNISTR3;
+/* an element in a unicode string array */
+typedef struct
+{
+ uint16 length;
+ uint16 size;
+ uint32 ref_id;
+ UNISTR2 string;
+} UNISTR_ARRAY_EL;
+
+/* an array of unicode strings */
+typedef struct
+{
+ uint32 ref_id;
+ uint32 count;
+ UNISTR_ARRAY_EL *strings;
+} UNISTR_ARRAY;
/* DOM_RID2 - domain RID structure for ntlsa pipe */
typedef struct domrid2_info