1 | /* header auto-generated by pidl */
|
---|
2 |
|
---|
3 | #include <stdint.h>
|
---|
4 |
|
---|
5 | #include "librpc/gen_ndr/security.h"
|
---|
6 | #ifndef _HEADER_lsarpc
|
---|
7 | #define _HEADER_lsarpc
|
---|
8 |
|
---|
9 | #define LSA_ENUM_TRUST_DOMAIN_MULTIPLIER ( 60 )
|
---|
10 | #define LSA_REF_DOMAIN_LIST_MULTIPLIER ( 32 )
|
---|
11 | #define MAX_REF_DOMAINS ( LSA_REF_DOMAIN_LIST_MULTIPLIER )
|
---|
12 | #define MAX_LOOKUP_SIDS ( 0x5000 )
|
---|
13 | #define LSA_ENUM_TRUST_DOMAIN_EX_MULTIPLIER ( 82 )
|
---|
14 | struct lsa_String {
|
---|
15 | uint16_t length;/* [value(2*strlen_m(string))] */
|
---|
16 | uint16_t size;/* [value(2*strlen_m(string))] */
|
---|
17 | const char *string;/* [unique,charset(UTF16),length_is(length/2),size_is(size/2)] */
|
---|
18 | }/* [public,noejs] */;
|
---|
19 |
|
---|
20 | struct lsa_StringLarge {
|
---|
21 | uint16_t length;/* [value(2*strlen_m(string))] */
|
---|
22 | uint16_t size;/* [value(2*strlen_m_term(string))] */
|
---|
23 | const char *string;/* [unique,charset(UTF16),length_is(length/2),size_is(size/2)] */
|
---|
24 | }/* [public] */;
|
---|
25 |
|
---|
26 | struct lsa_Strings {
|
---|
27 | uint32_t count;
|
---|
28 | struct lsa_String *names;/* [unique,size_is(count)] */
|
---|
29 | }/* [public] */;
|
---|
30 |
|
---|
31 | struct lsa_AsciiString {
|
---|
32 | uint16_t length;/* [value(strlen_m(string))] */
|
---|
33 | uint16_t size;/* [value(strlen_m(string))] */
|
---|
34 | const char *string;/* [unique,charset(DOS),length_is(length),size_is(size)] */
|
---|
35 | }/* [public] */;
|
---|
36 |
|
---|
37 | struct lsa_AsciiStringLarge {
|
---|
38 | uint16_t length;/* [value(strlen_m(string))] */
|
---|
39 | uint16_t size;/* [value(strlen_m_term(string))] */
|
---|
40 | const char *string;/* [unique,charset(DOS),length_is(length),size_is(size)] */
|
---|
41 | }/* [public] */;
|
---|
42 |
|
---|
43 | struct lsa_BinaryString {
|
---|
44 | uint16_t length;
|
---|
45 | uint16_t size;
|
---|
46 | uint16_t *array;/* [unique,length_is(length/2),size_is(size/2)] */
|
---|
47 | }/* [public] */;
|
---|
48 |
|
---|
49 | struct lsa_LUID {
|
---|
50 | uint32_t low;
|
---|
51 | uint32_t high;
|
---|
52 | };
|
---|
53 |
|
---|
54 | struct lsa_PrivEntry {
|
---|
55 | struct lsa_StringLarge name;
|
---|
56 | struct lsa_LUID luid;
|
---|
57 | };
|
---|
58 |
|
---|
59 | struct lsa_PrivArray {
|
---|
60 | uint32_t count;
|
---|
61 | struct lsa_PrivEntry *privs;/* [unique,size_is(count)] */
|
---|
62 | };
|
---|
63 |
|
---|
64 | struct lsa_QosInfo {
|
---|
65 | uint32_t len;
|
---|
66 | uint16_t impersonation_level;
|
---|
67 | uint8_t context_mode;
|
---|
68 | uint8_t effective_only;
|
---|
69 | };
|
---|
70 |
|
---|
71 | struct lsa_ObjectAttribute {
|
---|
72 | uint32_t len;
|
---|
73 | uint8_t *root_dir;/* [unique] */
|
---|
74 | const char *object_name;/* [unique,charset(UTF16)] */
|
---|
75 | uint32_t attributes;
|
---|
76 | struct security_descriptor *sec_desc;/* [unique] */
|
---|
77 | struct lsa_QosInfo *sec_qos;/* [unique] */
|
---|
78 | };
|
---|
79 |
|
---|
80 | /* bitmap lsa_PolicyAccessMask */
|
---|
81 | #define LSA_POLICY_VIEW_LOCAL_INFORMATION ( 0x00000001 )
|
---|
82 | #define LSA_POLICY_VIEW_AUDIT_INFORMATION ( 0x00000002 )
|
---|
83 | #define LSA_POLICY_GET_PRIVATE_INFORMATION ( 0x00000004 )
|
---|
84 | #define LSA_POLICY_TRUST_ADMIN ( 0x00000008 )
|
---|
85 | #define LSA_POLICY_CREATE_ACCOUNT ( 0x00000010 )
|
---|
86 | #define LSA_POLICY_CREATE_SECRET ( 0x00000020 )
|
---|
87 | #define LSA_POLICY_CREATE_PRIVILEGE ( 0x00000040 )
|
---|
88 | #define LSA_POLICY_SET_DEFAULT_QUOTA_LIMITS ( 0x00000080 )
|
---|
89 | #define LSA_POLICY_SET_AUDIT_REQUIREMENTS ( 0x00000100 )
|
---|
90 | #define LSA_POLICY_AUDIT_LOG_ADMIN ( 0x00000200 )
|
---|
91 | #define LSA_POLICY_SERVER_ADMIN ( 0x00000400 )
|
---|
92 | #define LSA_POLICY_LOOKUP_NAMES ( 0x00000800 )
|
---|
93 |
|
---|
94 | struct lsa_AuditLogInfo {
|
---|
95 | uint32_t percent_full;
|
---|
96 | uint32_t log_size;
|
---|
97 | NTTIME retention_time;
|
---|
98 | uint8_t shutdown_in_progress;
|
---|
99 | NTTIME time_to_shutdown;
|
---|
100 | uint32_t next_audit_record;
|
---|
101 | uint32_t unknown;
|
---|
102 | };
|
---|
103 |
|
---|
104 | enum lsa_PolicyAuditPolicy
|
---|
105 | #ifndef USE_UINT_ENUMS
|
---|
106 | {
|
---|
107 | LSA_AUDIT_POLICY_NONE=0,
|
---|
108 | LSA_AUDIT_POLICY_SUCCESS=1,
|
---|
109 | LSA_AUDIT_POLICY_FAILURE=2,
|
---|
110 | LSA_AUDIT_POLICY_ALL=(LSA_AUDIT_POLICY_SUCCESS|LSA_AUDIT_POLICY_FAILURE),
|
---|
111 | LSA_AUDIT_POLICY_CLEAR=4
|
---|
112 | }
|
---|
113 | #else
|
---|
114 | { __donnot_use_enum_lsa_PolicyAuditPolicy=0x7FFFFFFF}
|
---|
115 | #define LSA_AUDIT_POLICY_NONE ( 0 )
|
---|
116 | #define LSA_AUDIT_POLICY_SUCCESS ( 1 )
|
---|
117 | #define LSA_AUDIT_POLICY_FAILURE ( 2 )
|
---|
118 | #define LSA_AUDIT_POLICY_ALL ( (LSA_AUDIT_POLICY_SUCCESS|LSA_AUDIT_POLICY_FAILURE) )
|
---|
119 | #define LSA_AUDIT_POLICY_CLEAR ( 4 )
|
---|
120 | #endif
|
---|
121 | ;
|
---|
122 |
|
---|
123 | enum lsa_PolicyAuditEventType
|
---|
124 | #ifndef USE_UINT_ENUMS
|
---|
125 | {
|
---|
126 | LSA_AUDIT_CATEGORY_SYSTEM=0,
|
---|
127 | LSA_AUDIT_CATEGORY_LOGON=1,
|
---|
128 | LSA_AUDIT_CATEGORY_FILE_AND_OBJECT_ACCESS=2,
|
---|
129 | LSA_AUDIT_CATEGORY_USE_OF_USER_RIGHTS=3,
|
---|
130 | LSA_AUDIT_CATEGORY_PROCCESS_TRACKING=4,
|
---|
131 | LSA_AUDIT_CATEGORY_SECURITY_POLICY_CHANGES=5,
|
---|
132 | LSA_AUDIT_CATEGORY_ACCOUNT_MANAGEMENT=6,
|
---|
133 | LSA_AUDIT_CATEGORY_DIRECTORY_SERVICE_ACCESS=7,
|
---|
134 | LSA_AUDIT_CATEGORY_ACCOUNT_LOGON=8
|
---|
135 | }
|
---|
136 | #else
|
---|
137 | { __donnot_use_enum_lsa_PolicyAuditEventType=0x7FFFFFFF}
|
---|
138 | #define LSA_AUDIT_CATEGORY_SYSTEM ( 0 )
|
---|
139 | #define LSA_AUDIT_CATEGORY_LOGON ( 1 )
|
---|
140 | #define LSA_AUDIT_CATEGORY_FILE_AND_OBJECT_ACCESS ( 2 )
|
---|
141 | #define LSA_AUDIT_CATEGORY_USE_OF_USER_RIGHTS ( 3 )
|
---|
142 | #define LSA_AUDIT_CATEGORY_PROCCESS_TRACKING ( 4 )
|
---|
143 | #define LSA_AUDIT_CATEGORY_SECURITY_POLICY_CHANGES ( 5 )
|
---|
144 | #define LSA_AUDIT_CATEGORY_ACCOUNT_MANAGEMENT ( 6 )
|
---|
145 | #define LSA_AUDIT_CATEGORY_DIRECTORY_SERVICE_ACCESS ( 7 )
|
---|
146 | #define LSA_AUDIT_CATEGORY_ACCOUNT_LOGON ( 8 )
|
---|
147 | #endif
|
---|
148 | ;
|
---|
149 |
|
---|
150 | struct lsa_AuditEventsInfo {
|
---|
151 | uint32_t auditing_mode;
|
---|
152 | enum lsa_PolicyAuditPolicy *settings;/* [unique,size_is(count)] */
|
---|
153 | uint32_t count;
|
---|
154 | };
|
---|
155 |
|
---|
156 | struct lsa_DomainInfo {
|
---|
157 | struct lsa_StringLarge name;
|
---|
158 | struct dom_sid2 *sid;/* [unique] */
|
---|
159 | };
|
---|
160 |
|
---|
161 | struct lsa_PDAccountInfo {
|
---|
162 | struct lsa_String name;
|
---|
163 | };
|
---|
164 |
|
---|
165 | struct lsa_ServerRole {
|
---|
166 | uint16_t unknown;
|
---|
167 | uint16_t role;
|
---|
168 | };
|
---|
169 |
|
---|
170 | struct lsa_ReplicaSourceInfo {
|
---|
171 | struct lsa_String source;
|
---|
172 | struct lsa_String account;
|
---|
173 | };
|
---|
174 |
|
---|
175 | struct lsa_DefaultQuotaInfo {
|
---|
176 | uint32_t paged_pool;
|
---|
177 | uint32_t non_paged_pool;
|
---|
178 | uint32_t min_wss;
|
---|
179 | uint32_t max_wss;
|
---|
180 | uint32_t pagefile;
|
---|
181 | uint64_t unknown;
|
---|
182 | };
|
---|
183 |
|
---|
184 | struct lsa_ModificationInfo {
|
---|
185 | uint64_t modified_id;
|
---|
186 | NTTIME db_create_time;
|
---|
187 | };
|
---|
188 |
|
---|
189 | struct lsa_AuditFullSetInfo {
|
---|
190 | uint8_t shutdown_on_full;
|
---|
191 | };
|
---|
192 |
|
---|
193 | struct lsa_AuditFullQueryInfo {
|
---|
194 | uint16_t unknown;
|
---|
195 | uint8_t shutdown_on_full;
|
---|
196 | uint8_t log_is_full;
|
---|
197 | };
|
---|
198 |
|
---|
199 | struct lsa_DnsDomainInfo {
|
---|
200 | struct lsa_StringLarge name;
|
---|
201 | struct lsa_StringLarge dns_domain;
|
---|
202 | struct lsa_StringLarge dns_forest;
|
---|
203 | struct GUID domain_guid;
|
---|
204 | struct dom_sid2 *sid;/* [unique] */
|
---|
205 | };
|
---|
206 |
|
---|
207 | enum lsa_PolicyInfo
|
---|
208 | #ifndef USE_UINT_ENUMS
|
---|
209 | {
|
---|
210 | LSA_POLICY_INFO_AUDIT_LOG=1,
|
---|
211 | LSA_POLICY_INFO_AUDIT_EVENTS=2,
|
---|
212 | LSA_POLICY_INFO_DOMAIN=3,
|
---|
213 | LSA_POLICY_INFO_PD=4,
|
---|
214 | LSA_POLICY_INFO_ACCOUNT_DOMAIN=5,
|
---|
215 | LSA_POLICY_INFO_ROLE=6,
|
---|
216 | LSA_POLICY_INFO_REPLICA=7,
|
---|
217 | LSA_POLICY_INFO_QUOTA=8,
|
---|
218 | LSA_POLICY_INFO_DB=9,
|
---|
219 | LSA_POLICY_INFO_AUDIT_FULL_SET=10,
|
---|
220 | LSA_POLICY_INFO_AUDIT_FULL_QUERY=11,
|
---|
221 | LSA_POLICY_INFO_DNS=12
|
---|
222 | }
|
---|
223 | #else
|
---|
224 | { __donnot_use_enum_lsa_PolicyInfo=0x7FFFFFFF}
|
---|
225 | #define LSA_POLICY_INFO_AUDIT_LOG ( 1 )
|
---|
226 | #define LSA_POLICY_INFO_AUDIT_EVENTS ( 2 )
|
---|
227 | #define LSA_POLICY_INFO_DOMAIN ( 3 )
|
---|
228 | #define LSA_POLICY_INFO_PD ( 4 )
|
---|
229 | #define LSA_POLICY_INFO_ACCOUNT_DOMAIN ( 5 )
|
---|
230 | #define LSA_POLICY_INFO_ROLE ( 6 )
|
---|
231 | #define LSA_POLICY_INFO_REPLICA ( 7 )
|
---|
232 | #define LSA_POLICY_INFO_QUOTA ( 8 )
|
---|
233 | #define LSA_POLICY_INFO_DB ( 9 )
|
---|
234 | #define LSA_POLICY_INFO_AUDIT_FULL_SET ( 10 )
|
---|
235 | #define LSA_POLICY_INFO_AUDIT_FULL_QUERY ( 11 )
|
---|
236 | #define LSA_POLICY_INFO_DNS ( 12 )
|
---|
237 | #endif
|
---|
238 | ;
|
---|
239 |
|
---|
240 | union lsa_PolicyInformation {
|
---|
241 | struct lsa_AuditLogInfo audit_log;/* [case(LSA_POLICY_INFO_AUDIT_LOG)] */
|
---|
242 | struct lsa_AuditEventsInfo audit_events;/* [case(LSA_POLICY_INFO_AUDIT_EVENTS)] */
|
---|
243 | struct lsa_DomainInfo domain;/* [case(LSA_POLICY_INFO_DOMAIN)] */
|
---|
244 | struct lsa_PDAccountInfo pd;/* [case(LSA_POLICY_INFO_PD)] */
|
---|
245 | struct lsa_DomainInfo account_domain;/* [case(LSA_POLICY_INFO_ACCOUNT_DOMAIN)] */
|
---|
246 | struct lsa_ServerRole role;/* [case(LSA_POLICY_INFO_ROLE)] */
|
---|
247 | struct lsa_ReplicaSourceInfo replica;/* [case(LSA_POLICY_INFO_REPLICA)] */
|
---|
248 | struct lsa_DefaultQuotaInfo quota;/* [case(LSA_POLICY_INFO_QUOTA)] */
|
---|
249 | struct lsa_ModificationInfo db;/* [case(LSA_POLICY_INFO_DB)] */
|
---|
250 | struct lsa_AuditFullSetInfo auditfullset;/* [case(LSA_POLICY_INFO_AUDIT_FULL_SET)] */
|
---|
251 | struct lsa_AuditFullQueryInfo auditfullquery;/* [case(LSA_POLICY_INFO_AUDIT_FULL_QUERY)] */
|
---|
252 | struct lsa_DnsDomainInfo dns;/* [case(LSA_POLICY_INFO_DNS)] */
|
---|
253 | }/* [switch_type(uint16)] */;
|
---|
254 |
|
---|
255 | struct lsa_SidPtr {
|
---|
256 | struct dom_sid2 *sid;/* [unique] */
|
---|
257 | };
|
---|
258 |
|
---|
259 | struct lsa_SidArray {
|
---|
260 | uint32_t num_sids;/* [range(0,1000)] */
|
---|
261 | struct lsa_SidPtr *sids;/* [unique,size_is(num_sids)] */
|
---|
262 | }/* [public] */;
|
---|
263 |
|
---|
264 | struct lsa_DomainList {
|
---|
265 | uint32_t count;
|
---|
266 | struct lsa_DomainInfo *domains;/* [unique,size_is(count)] */
|
---|
267 | };
|
---|
268 |
|
---|
269 | enum lsa_SidType
|
---|
270 | #ifndef USE_UINT_ENUMS
|
---|
271 | {
|
---|
272 | SID_NAME_USE_NONE=0,
|
---|
273 | SID_NAME_USER=1,
|
---|
274 | SID_NAME_DOM_GRP=2,
|
---|
275 | SID_NAME_DOMAIN=3,
|
---|
276 | SID_NAME_ALIAS=4,
|
---|
277 | SID_NAME_WKN_GRP=5,
|
---|
278 | SID_NAME_DELETED=6,
|
---|
279 | SID_NAME_INVALID=7,
|
---|
280 | SID_NAME_UNKNOWN=8,
|
---|
281 | SID_NAME_COMPUTER=9
|
---|
282 | }
|
---|
283 | #else
|
---|
284 | { __donnot_use_enum_lsa_SidType=0x7FFFFFFF}
|
---|
285 | #define SID_NAME_USE_NONE ( 0 )
|
---|
286 | #define SID_NAME_USER ( 1 )
|
---|
287 | #define SID_NAME_DOM_GRP ( 2 )
|
---|
288 | #define SID_NAME_DOMAIN ( 3 )
|
---|
289 | #define SID_NAME_ALIAS ( 4 )
|
---|
290 | #define SID_NAME_WKN_GRP ( 5 )
|
---|
291 | #define SID_NAME_DELETED ( 6 )
|
---|
292 | #define SID_NAME_INVALID ( 7 )
|
---|
293 | #define SID_NAME_UNKNOWN ( 8 )
|
---|
294 | #define SID_NAME_COMPUTER ( 9 )
|
---|
295 | #endif
|
---|
296 | ;
|
---|
297 |
|
---|
298 | struct lsa_TranslatedSid {
|
---|
299 | enum lsa_SidType sid_type;
|
---|
300 | uint32_t rid;
|
---|
301 | uint32_t sid_index;
|
---|
302 | };
|
---|
303 |
|
---|
304 | struct lsa_TransSidArray {
|
---|
305 | uint32_t count;/* [range(0,1000)] */
|
---|
306 | struct lsa_TranslatedSid *sids;/* [unique,size_is(count)] */
|
---|
307 | };
|
---|
308 |
|
---|
309 | struct lsa_RefDomainList {
|
---|
310 | uint32_t count;/* [range(0,1000)] */
|
---|
311 | struct lsa_DomainInfo *domains;/* [unique,size_is(count)] */
|
---|
312 | uint32_t max_size;
|
---|
313 | };
|
---|
314 |
|
---|
315 | enum lsa_LookupNamesLevel
|
---|
316 | #ifndef USE_UINT_ENUMS
|
---|
317 | {
|
---|
318 | LSA_LOOKUP_NAMES_ALL=1,
|
---|
319 | LSA_LOOKUP_NAMES_DOMAINS_ONLY=2,
|
---|
320 | LSA_LOOKUP_NAMES_PRIMARY_DOMAIN_ONLY=3,
|
---|
321 | LSA_LOOKUP_NAMES_UPLEVEL_TRUSTS_ONLY=4,
|
---|
322 | LSA_LOOKUP_NAMES_FOREST_TRUSTS_ONLY=5,
|
---|
323 | LSA_LOOKUP_NAMES_UPLEVEL_TRUSTS_ONLY2=6
|
---|
324 | }
|
---|
325 | #else
|
---|
326 | { __donnot_use_enum_lsa_LookupNamesLevel=0x7FFFFFFF}
|
---|
327 | #define LSA_LOOKUP_NAMES_ALL ( 1 )
|
---|
328 | #define LSA_LOOKUP_NAMES_DOMAINS_ONLY ( 2 )
|
---|
329 | #define LSA_LOOKUP_NAMES_PRIMARY_DOMAIN_ONLY ( 3 )
|
---|
330 | #define LSA_LOOKUP_NAMES_UPLEVEL_TRUSTS_ONLY ( 4 )
|
---|
331 | #define LSA_LOOKUP_NAMES_FOREST_TRUSTS_ONLY ( 5 )
|
---|
332 | #define LSA_LOOKUP_NAMES_UPLEVEL_TRUSTS_ONLY2 ( 6 )
|
---|
333 | #endif
|
---|
334 | ;
|
---|
335 |
|
---|
336 | struct lsa_TranslatedName {
|
---|
337 | enum lsa_SidType sid_type;
|
---|
338 | struct lsa_String name;
|
---|
339 | uint32_t sid_index;
|
---|
340 | };
|
---|
341 |
|
---|
342 | struct lsa_TransNameArray {
|
---|
343 | uint32_t count;/* [range(0,1000)] */
|
---|
344 | struct lsa_TranslatedName *names;/* [unique,size_is(count)] */
|
---|
345 | };
|
---|
346 |
|
---|
347 | struct lsa_LUIDAttribute {
|
---|
348 | struct lsa_LUID luid;
|
---|
349 | uint32_t attribute;
|
---|
350 | };
|
---|
351 |
|
---|
352 | struct lsa_PrivilegeSet {
|
---|
353 | uint32_t count;/* [range(0,1000)] */
|
---|
354 | uint32_t unknown;
|
---|
355 | struct lsa_LUIDAttribute *set;/* [size_is(count)] */
|
---|
356 | };
|
---|
357 |
|
---|
358 | struct lsa_DATA_BUF {
|
---|
359 | uint32_t length;
|
---|
360 | uint32_t size;
|
---|
361 | uint8_t *data;/* [unique,length_is(length),size_is(size)] */
|
---|
362 | }/* [flag(LIBNDR_PRINT_ARRAY_HEX)] */;
|
---|
363 |
|
---|
364 | struct lsa_DATA_BUF2 {
|
---|
365 | uint32_t size;/* [range(0,65536)] */
|
---|
366 | uint8_t *data;/* [unique,size_is(size)] */
|
---|
367 | }/* [flag(LIBNDR_PRINT_ARRAY_HEX)] */;
|
---|
368 |
|
---|
369 | enum lsa_TrustDomInfoEnum
|
---|
370 | #ifndef USE_UINT_ENUMS
|
---|
371 | {
|
---|
372 | LSA_TRUSTED_DOMAIN_INFO_NAME=1,
|
---|
373 | LSA_TRUSTED_DOMAIN_INFO_CONTROLLERS_INFO=2,
|
---|
374 | LSA_TRUSTED_DOMAIN_INFO_POSIX_OFFSET=3,
|
---|
375 | LSA_TRUSTED_DOMAIN_INFO_PASSWORD=4,
|
---|
376 | LSA_TRUSTED_DOMAIN_INFO_BASIC=5,
|
---|
377 | LSA_TRUSTED_DOMAIN_INFO_INFO_EX=6,
|
---|
378 | LSA_TRUSTED_DOMAIN_INFO_AUTH_INFO=7,
|
---|
379 | LSA_TRUSTED_DOMAIN_INFO_FULL_INFO=8,
|
---|
380 | LSA_TRUSTED_DOMAIN_INFO_11=11,
|
---|
381 | LSA_TRUSTED_DOMAIN_INFO_INFO_ALL=12
|
---|
382 | }
|
---|
383 | #else
|
---|
384 | { __donnot_use_enum_lsa_TrustDomInfoEnum=0x7FFFFFFF}
|
---|
385 | #define LSA_TRUSTED_DOMAIN_INFO_NAME ( 1 )
|
---|
386 | #define LSA_TRUSTED_DOMAIN_INFO_CONTROLLERS_INFO ( 2 )
|
---|
387 | #define LSA_TRUSTED_DOMAIN_INFO_POSIX_OFFSET ( 3 )
|
---|
388 | #define LSA_TRUSTED_DOMAIN_INFO_PASSWORD ( 4 )
|
---|
389 | #define LSA_TRUSTED_DOMAIN_INFO_BASIC ( 5 )
|
---|
390 | #define LSA_TRUSTED_DOMAIN_INFO_INFO_EX ( 6 )
|
---|
391 | #define LSA_TRUSTED_DOMAIN_INFO_AUTH_INFO ( 7 )
|
---|
392 | #define LSA_TRUSTED_DOMAIN_INFO_FULL_INFO ( 8 )
|
---|
393 | #define LSA_TRUSTED_DOMAIN_INFO_11 ( 11 )
|
---|
394 | #define LSA_TRUSTED_DOMAIN_INFO_INFO_ALL ( 12 )
|
---|
395 | #endif
|
---|
396 | ;
|
---|
397 |
|
---|
398 | struct lsa_TrustDomainInfoName {
|
---|
399 | struct lsa_StringLarge netbios_name;
|
---|
400 | };
|
---|
401 |
|
---|
402 | struct lsa_TrustDomainInfoPosixOffset {
|
---|
403 | uint32_t posix_offset;
|
---|
404 | };
|
---|
405 |
|
---|
406 | struct lsa_TrustDomainInfoPassword {
|
---|
407 | struct lsa_DATA_BUF *password;/* [unique] */
|
---|
408 | struct lsa_DATA_BUF *old_password;/* [unique] */
|
---|
409 | };
|
---|
410 |
|
---|
411 | struct lsa_TrustDomainInfoBasic {
|
---|
412 | struct lsa_String netbios_name;
|
---|
413 | struct dom_sid2 *sid;/* [unique] */
|
---|
414 | };
|
---|
415 |
|
---|
416 | struct lsa_TrustDomainInfoInfoEx {
|
---|
417 | struct lsa_StringLarge domain_name;
|
---|
418 | struct lsa_StringLarge netbios_name;
|
---|
419 | struct dom_sid2 *sid;/* [unique] */
|
---|
420 | uint32_t trust_direction;
|
---|
421 | uint32_t trust_type;
|
---|
422 | uint32_t trust_attributes;
|
---|
423 | };
|
---|
424 |
|
---|
425 | struct lsa_TrustDomainInfoBuffer {
|
---|
426 | NTTIME last_update_time;
|
---|
427 | uint32_t secret_type;
|
---|
428 | struct lsa_DATA_BUF2 data;
|
---|
429 | };
|
---|
430 |
|
---|
431 | struct lsa_TrustDomainInfoAuthInfo {
|
---|
432 | uint32_t incoming_count;
|
---|
433 | struct lsa_TrustDomainInfoBuffer *incoming_current_auth_info;/* [unique] */
|
---|
434 | struct lsa_TrustDomainInfoBuffer *incoming_previous_auth_info;/* [unique] */
|
---|
435 | uint32_t outgoing_count;
|
---|
436 | struct lsa_TrustDomainInfoBuffer *outgoing_current_auth_info;/* [unique] */
|
---|
437 | struct lsa_TrustDomainInfoBuffer *outgoing_previous_auth_info;/* [unique] */
|
---|
438 | };
|
---|
439 |
|
---|
440 | struct lsa_TrustDomainInfoFullInfo {
|
---|
441 | struct lsa_TrustDomainInfoInfoEx info_ex;
|
---|
442 | struct lsa_TrustDomainInfoPosixOffset posix_offset;
|
---|
443 | struct lsa_TrustDomainInfoAuthInfo auth_info;
|
---|
444 | };
|
---|
445 |
|
---|
446 | struct lsa_TrustDomainInfo11 {
|
---|
447 | struct lsa_TrustDomainInfoInfoEx info_ex;
|
---|
448 | struct lsa_DATA_BUF2 data1;
|
---|
449 | };
|
---|
450 |
|
---|
451 | struct lsa_TrustDomainInfoInfoAll {
|
---|
452 | struct lsa_TrustDomainInfoInfoEx info_ex;
|
---|
453 | struct lsa_DATA_BUF2 data1;
|
---|
454 | struct lsa_TrustDomainInfoPosixOffset posix_offset;
|
---|
455 | struct lsa_TrustDomainInfoAuthInfo auth_info;
|
---|
456 | };
|
---|
457 |
|
---|
458 | union lsa_TrustedDomainInfo {
|
---|
459 | struct lsa_TrustDomainInfoName name;/* [case(LSA_TRUSTED_DOMAIN_INFO_NAME)] */
|
---|
460 | struct lsa_TrustDomainInfoPosixOffset posix_offset;/* [case(LSA_TRUSTED_DOMAIN_INFO_POSIX_OFFSET)] */
|
---|
461 | struct lsa_TrustDomainInfoPassword password;/* [case(LSA_TRUSTED_DOMAIN_INFO_PASSWORD)] */
|
---|
462 | struct lsa_TrustDomainInfoBasic info_basic;/* [case(LSA_TRUSTED_DOMAIN_INFO_BASIC)] */
|
---|
463 | struct lsa_TrustDomainInfoInfoEx info_ex;/* [case(LSA_TRUSTED_DOMAIN_INFO_INFO_EX)] */
|
---|
464 | struct lsa_TrustDomainInfoAuthInfo auth_info;/* [case(LSA_TRUSTED_DOMAIN_INFO_AUTH_INFO)] */
|
---|
465 | struct lsa_TrustDomainInfoFullInfo full_info;/* [case(LSA_TRUSTED_DOMAIN_INFO_FULL_INFO)] */
|
---|
466 | struct lsa_TrustDomainInfo11 info11;/* [case(LSA_TRUSTED_DOMAIN_INFO_11)] */
|
---|
467 | struct lsa_TrustDomainInfoInfoAll info_all;/* [case(LSA_TRUSTED_DOMAIN_INFO_INFO_ALL)] */
|
---|
468 | }/* [switch_type(lsa_TrustDomInfoEnum)] */;
|
---|
469 |
|
---|
470 | struct lsa_DATA_BUF_PTR {
|
---|
471 | struct lsa_DATA_BUF *buf;/* [unique] */
|
---|
472 | };
|
---|
473 |
|
---|
474 | struct lsa_RightAttribute {
|
---|
475 | const char *name;/* [unique,charset(UTF16)] */
|
---|
476 | };
|
---|
477 |
|
---|
478 | struct lsa_RightSet {
|
---|
479 | uint32_t count;/* [range(0,256)] */
|
---|
480 | struct lsa_StringLarge *names;/* [unique,size_is(count)] */
|
---|
481 | };
|
---|
482 |
|
---|
483 | struct lsa_DomainListEx {
|
---|
484 | uint32_t count;
|
---|
485 | struct lsa_TrustDomainInfoInfoEx *domains;/* [unique,size_is(count)] */
|
---|
486 | };
|
---|
487 |
|
---|
488 | struct lsa_DomainInfoKerberos {
|
---|
489 | uint32_t enforce_restrictions;
|
---|
490 | uint64_t service_tkt_lifetime;
|
---|
491 | uint64_t user_tkt_lifetime;
|
---|
492 | uint64_t user_tkt_renewaltime;
|
---|
493 | uint64_t clock_skew;
|
---|
494 | uint64_t unknown6;
|
---|
495 | };
|
---|
496 |
|
---|
497 | struct lsa_DomainInfoEfs {
|
---|
498 | uint32_t blob_size;
|
---|
499 | uint8_t *efs_blob;/* [unique,size_is(blob_size)] */
|
---|
500 | };
|
---|
501 |
|
---|
502 | enum lsa_DomainInfoEnum
|
---|
503 | #ifndef USE_UINT_ENUMS
|
---|
504 | {
|
---|
505 | LSA_DOMAIN_INFO_POLICY_EFS=2,
|
---|
506 | LSA_DOMAIN_INFO_POLICY_KERBEROS=3
|
---|
507 | }
|
---|
508 | #else
|
---|
509 | { __donnot_use_enum_lsa_DomainInfoEnum=0x7FFFFFFF}
|
---|
510 | #define LSA_DOMAIN_INFO_POLICY_EFS ( 2 )
|
---|
511 | #define LSA_DOMAIN_INFO_POLICY_KERBEROS ( 3 )
|
---|
512 | #endif
|
---|
513 | ;
|
---|
514 |
|
---|
515 | union lsa_DomainInformationPolicy {
|
---|
516 | struct lsa_DomainInfoEfs efs_info;/* [case(LSA_DOMAIN_INFO_POLICY_EFS)] */
|
---|
517 | struct lsa_DomainInfoKerberos kerberos_info;/* [case(LSA_DOMAIN_INFO_POLICY_KERBEROS)] */
|
---|
518 | }/* [switch_type(uint16)] */;
|
---|
519 |
|
---|
520 | struct lsa_TranslatedName2 {
|
---|
521 | enum lsa_SidType sid_type;
|
---|
522 | struct lsa_String name;
|
---|
523 | uint32_t sid_index;
|
---|
524 | uint32_t unknown;
|
---|
525 | };
|
---|
526 |
|
---|
527 | struct lsa_TransNameArray2 {
|
---|
528 | uint32_t count;/* [range(0,1000)] */
|
---|
529 | struct lsa_TranslatedName2 *names;/* [unique,size_is(count)] */
|
---|
530 | };
|
---|
531 |
|
---|
532 | struct lsa_TranslatedSid2 {
|
---|
533 | enum lsa_SidType sid_type;
|
---|
534 | uint32_t rid;
|
---|
535 | uint32_t sid_index;
|
---|
536 | uint32_t unknown;
|
---|
537 | };
|
---|
538 |
|
---|
539 | struct lsa_TransSidArray2 {
|
---|
540 | uint32_t count;/* [range(0,1000)] */
|
---|
541 | struct lsa_TranslatedSid2 *sids;/* [unique,size_is(count)] */
|
---|
542 | };
|
---|
543 |
|
---|
544 | struct lsa_TranslatedSid3 {
|
---|
545 | enum lsa_SidType sid_type;
|
---|
546 | struct dom_sid2 *sid;/* [unique] */
|
---|
547 | uint32_t sid_index;
|
---|
548 | uint32_t unknown;
|
---|
549 | };
|
---|
550 |
|
---|
551 | struct lsa_TransSidArray3 {
|
---|
552 | uint32_t count;/* [range(0,1000)] */
|
---|
553 | struct lsa_TranslatedSid3 *sids;/* [unique,size_is(count)] */
|
---|
554 | };
|
---|
555 |
|
---|
556 | struct lsa_ForestTrustBinaryData {
|
---|
557 | uint32_t length;/* [range(0,131072)] */
|
---|
558 | uint8_t *data;/* [unique,size_is(length)] */
|
---|
559 | };
|
---|
560 |
|
---|
561 | struct lsa_ForestTrustDomainInfo {
|
---|
562 | struct dom_sid2 *domain_sid;/* [unique] */
|
---|
563 | struct lsa_StringLarge dns_domain_name;
|
---|
564 | struct lsa_StringLarge netbios_domain_name;
|
---|
565 | };
|
---|
566 |
|
---|
567 | union lsa_ForestTrustData {
|
---|
568 | struct lsa_String top_level_name;/* [case(LSA_FOREST_TRUST_TOP_LEVEL_NAME)] */
|
---|
569 | struct lsa_StringLarge top_level_name_ex;/* [case(LSA_FOREST_TRUST_TOP_LEVEL_NAME_EX)] */
|
---|
570 | struct lsa_ForestTrustDomainInfo domain_info;/* [case(LSA_FOREST_TRUST_DOMAIN_INFO)] */
|
---|
571 | struct lsa_ForestTrustBinaryData data;/* [default] */
|
---|
572 | }/* [switch_type(uint32)] */;
|
---|
573 |
|
---|
574 | enum lsa_ForestTrustRecordType
|
---|
575 | #ifndef USE_UINT_ENUMS
|
---|
576 | {
|
---|
577 | LSA_FOREST_TRUST_TOP_LEVEL_NAME=0,
|
---|
578 | LSA_FOREST_TRUST_TOP_LEVEL_NAME_EX=1,
|
---|
579 | LSA_FOREST_TRUST_DOMAIN_INFO=2,
|
---|
580 | LSA_FOREST_TRUST_RECORD_TYPE_LAST=3
|
---|
581 | }
|
---|
582 | #else
|
---|
583 | { __donnot_use_enum_lsa_ForestTrustRecordType=0x7FFFFFFF}
|
---|
584 | #define LSA_FOREST_TRUST_TOP_LEVEL_NAME ( 0 )
|
---|
585 | #define LSA_FOREST_TRUST_TOP_LEVEL_NAME_EX ( 1 )
|
---|
586 | #define LSA_FOREST_TRUST_DOMAIN_INFO ( 2 )
|
---|
587 | #define LSA_FOREST_TRUST_RECORD_TYPE_LAST ( 3 )
|
---|
588 | #endif
|
---|
589 | ;
|
---|
590 |
|
---|
591 | struct lsa_ForestTrustRecord {
|
---|
592 | uint32_t flags;
|
---|
593 | enum lsa_ForestTrustRecordType level;
|
---|
594 | uint64_t unknown;
|
---|
595 | union lsa_ForestTrustData forest_trust_data;/* [switch_is(level)] */
|
---|
596 | };
|
---|
597 |
|
---|
598 | struct lsa_ForestTrustInformation {
|
---|
599 | uint32_t count;/* [range(0,4000)] */
|
---|
600 | struct lsa_ForestTrustRecord **entries;/* [unique,size_is(count)] */
|
---|
601 | }/* [public] */;
|
---|
602 |
|
---|
603 |
|
---|
604 | struct lsa_Close {
|
---|
605 | struct {
|
---|
606 | struct policy_handle *handle;/* [ref] */
|
---|
607 | } in;
|
---|
608 |
|
---|
609 | struct {
|
---|
610 | struct policy_handle *handle;/* [ref] */
|
---|
611 | NTSTATUS result;
|
---|
612 | } out;
|
---|
613 |
|
---|
614 | };
|
---|
615 |
|
---|
616 |
|
---|
617 | struct lsa_Delete {
|
---|
618 | struct {
|
---|
619 | struct policy_handle *handle;/* [ref] */
|
---|
620 | } in;
|
---|
621 |
|
---|
622 | struct {
|
---|
623 | NTSTATUS result;
|
---|
624 | } out;
|
---|
625 |
|
---|
626 | };
|
---|
627 |
|
---|
628 |
|
---|
629 | struct lsa_EnumPrivs {
|
---|
630 | struct {
|
---|
631 | struct policy_handle *handle;/* [ref] */
|
---|
632 | uint32_t max_count;
|
---|
633 | uint32_t *resume_handle;/* [ref] */
|
---|
634 | } in;
|
---|
635 |
|
---|
636 | struct {
|
---|
637 | struct lsa_PrivArray *privs;/* [ref] */
|
---|
638 | uint32_t *resume_handle;/* [ref] */
|
---|
639 | NTSTATUS result;
|
---|
640 | } out;
|
---|
641 |
|
---|
642 | };
|
---|
643 |
|
---|
644 |
|
---|
645 | struct lsa_QuerySecurity {
|
---|
646 | struct {
|
---|
647 | struct policy_handle *handle;/* [ref] */
|
---|
648 | uint32_t sec_info;
|
---|
649 | } in;
|
---|
650 |
|
---|
651 | struct {
|
---|
652 | struct sec_desc_buf **sdbuf;/* [ref] */
|
---|
653 | NTSTATUS result;
|
---|
654 | } out;
|
---|
655 |
|
---|
656 | };
|
---|
657 |
|
---|
658 |
|
---|
659 | struct lsa_SetSecObj {
|
---|
660 | struct {
|
---|
661 | struct policy_handle *handle;/* [ref] */
|
---|
662 | uint32_t sec_info;
|
---|
663 | struct sec_desc_buf *sdbuf;/* [ref] */
|
---|
664 | } in;
|
---|
665 |
|
---|
666 | struct {
|
---|
667 | NTSTATUS result;
|
---|
668 | } out;
|
---|
669 |
|
---|
670 | };
|
---|
671 |
|
---|
672 |
|
---|
673 | struct lsa_ChangePassword {
|
---|
674 | struct {
|
---|
675 | NTSTATUS result;
|
---|
676 | } out;
|
---|
677 |
|
---|
678 | };
|
---|
679 |
|
---|
680 |
|
---|
681 | struct lsa_OpenPolicy {
|
---|
682 | struct {
|
---|
683 | uint16_t *system_name;/* [unique] */
|
---|
684 | struct lsa_ObjectAttribute *attr;/* [ref] */
|
---|
685 | uint32_t access_mask;
|
---|
686 | } in;
|
---|
687 |
|
---|
688 | struct {
|
---|
689 | struct policy_handle *handle;/* [ref] */
|
---|
690 | NTSTATUS result;
|
---|
691 | } out;
|
---|
692 |
|
---|
693 | };
|
---|
694 |
|
---|
695 |
|
---|
696 | struct lsa_QueryInfoPolicy {
|
---|
697 | struct {
|
---|
698 | struct policy_handle *handle;/* [ref] */
|
---|
699 | enum lsa_PolicyInfo level;
|
---|
700 | } in;
|
---|
701 |
|
---|
702 | struct {
|
---|
703 | union lsa_PolicyInformation **info;/* [ref,switch_is(level)] */
|
---|
704 | NTSTATUS result;
|
---|
705 | } out;
|
---|
706 |
|
---|
707 | };
|
---|
708 |
|
---|
709 |
|
---|
710 | struct lsa_SetInfoPolicy {
|
---|
711 | struct {
|
---|
712 | struct policy_handle *handle;/* [ref] */
|
---|
713 | enum lsa_PolicyInfo level;
|
---|
714 | union lsa_PolicyInformation *info;/* [ref,switch_is(level)] */
|
---|
715 | } in;
|
---|
716 |
|
---|
717 | struct {
|
---|
718 | NTSTATUS result;
|
---|
719 | } out;
|
---|
720 |
|
---|
721 | };
|
---|
722 |
|
---|
723 |
|
---|
724 | struct lsa_ClearAuditLog {
|
---|
725 | struct {
|
---|
726 | NTSTATUS result;
|
---|
727 | } out;
|
---|
728 |
|
---|
729 | };
|
---|
730 |
|
---|
731 |
|
---|
732 | struct lsa_CreateAccount {
|
---|
733 | struct {
|
---|
734 | struct policy_handle *handle;/* [ref] */
|
---|
735 | struct dom_sid2 *sid;/* [ref] */
|
---|
736 | uint32_t access_mask;
|
---|
737 | } in;
|
---|
738 |
|
---|
739 | struct {
|
---|
740 | struct policy_handle *acct_handle;/* [ref] */
|
---|
741 | NTSTATUS result;
|
---|
742 | } out;
|
---|
743 |
|
---|
744 | };
|
---|
745 |
|
---|
746 |
|
---|
747 | struct lsa_EnumAccounts {
|
---|
748 | struct {
|
---|
749 | struct policy_handle *handle;/* [ref] */
|
---|
750 | uint32_t num_entries;/* [range(0,8192)] */
|
---|
751 | uint32_t *resume_handle;/* [ref] */
|
---|
752 | } in;
|
---|
753 |
|
---|
754 | struct {
|
---|
755 | struct lsa_SidArray *sids;/* [ref] */
|
---|
756 | uint32_t *resume_handle;/* [ref] */
|
---|
757 | NTSTATUS result;
|
---|
758 | } out;
|
---|
759 |
|
---|
760 | };
|
---|
761 |
|
---|
762 |
|
---|
763 | struct lsa_CreateTrustedDomain {
|
---|
764 | struct {
|
---|
765 | struct policy_handle *handle;/* [ref] */
|
---|
766 | struct lsa_DomainInfo *info;/* [ref] */
|
---|
767 | uint32_t access_mask;
|
---|
768 | } in;
|
---|
769 |
|
---|
770 | struct {
|
---|
771 | struct policy_handle *trustdom_handle;/* [ref] */
|
---|
772 | NTSTATUS result;
|
---|
773 | } out;
|
---|
774 |
|
---|
775 | };
|
---|
776 |
|
---|
777 |
|
---|
778 | struct lsa_EnumTrustDom {
|
---|
779 | struct {
|
---|
780 | struct policy_handle *handle;/* [ref] */
|
---|
781 | uint32_t max_size;
|
---|
782 | uint32_t *resume_handle;/* [ref] */
|
---|
783 | } in;
|
---|
784 |
|
---|
785 | struct {
|
---|
786 | struct lsa_DomainList *domains;/* [ref] */
|
---|
787 | uint32_t *resume_handle;/* [ref] */
|
---|
788 | NTSTATUS result;
|
---|
789 | } out;
|
---|
790 |
|
---|
791 | };
|
---|
792 |
|
---|
793 |
|
---|
794 | struct lsa_LookupNames {
|
---|
795 | struct {
|
---|
796 | struct policy_handle *handle;/* [ref] */
|
---|
797 | uint32_t num_names;/* [range(0,1000)] */
|
---|
798 | struct lsa_String *names;/* [size_is(num_names)] */
|
---|
799 | enum lsa_LookupNamesLevel level;
|
---|
800 | struct lsa_TransSidArray *sids;/* [ref] */
|
---|
801 | uint32_t *count;/* [ref] */
|
---|
802 | } in;
|
---|
803 |
|
---|
804 | struct {
|
---|
805 | struct lsa_RefDomainList **domains;/* [ref] */
|
---|
806 | struct lsa_TransSidArray *sids;/* [ref] */
|
---|
807 | uint32_t *count;/* [ref] */
|
---|
808 | NTSTATUS result;
|
---|
809 | } out;
|
---|
810 |
|
---|
811 | };
|
---|
812 |
|
---|
813 |
|
---|
814 | struct lsa_LookupSids {
|
---|
815 | struct {
|
---|
816 | struct policy_handle *handle;/* [ref] */
|
---|
817 | struct lsa_SidArray *sids;/* [ref] */
|
---|
818 | uint16_t level;
|
---|
819 | struct lsa_TransNameArray *names;/* [ref] */
|
---|
820 | uint32_t *count;/* [ref] */
|
---|
821 | } in;
|
---|
822 |
|
---|
823 | struct {
|
---|
824 | struct lsa_RefDomainList **domains;/* [ref] */
|
---|
825 | struct lsa_TransNameArray *names;/* [ref] */
|
---|
826 | uint32_t *count;/* [ref] */
|
---|
827 | NTSTATUS result;
|
---|
828 | } out;
|
---|
829 |
|
---|
830 | };
|
---|
831 |
|
---|
832 |
|
---|
833 | struct lsa_CreateSecret {
|
---|
834 | struct {
|
---|
835 | struct policy_handle *handle;/* [ref] */
|
---|
836 | struct lsa_String name;
|
---|
837 | uint32_t access_mask;
|
---|
838 | } in;
|
---|
839 |
|
---|
840 | struct {
|
---|
841 | struct policy_handle *sec_handle;/* [ref] */
|
---|
842 | NTSTATUS result;
|
---|
843 | } out;
|
---|
844 |
|
---|
845 | };
|
---|
846 |
|
---|
847 |
|
---|
848 | struct lsa_OpenAccount {
|
---|
849 | struct {
|
---|
850 | struct policy_handle *handle;/* [ref] */
|
---|
851 | struct dom_sid2 *sid;/* [ref] */
|
---|
852 | uint32_t access_mask;
|
---|
853 | } in;
|
---|
854 |
|
---|
855 | struct {
|
---|
856 | struct policy_handle *acct_handle;/* [ref] */
|
---|
857 | NTSTATUS result;
|
---|
858 | } out;
|
---|
859 |
|
---|
860 | };
|
---|
861 |
|
---|
862 |
|
---|
863 | struct lsa_EnumPrivsAccount {
|
---|
864 | struct {
|
---|
865 | struct policy_handle *handle;/* [ref] */
|
---|
866 | } in;
|
---|
867 |
|
---|
868 | struct {
|
---|
869 | struct lsa_PrivilegeSet **privs;/* [ref] */
|
---|
870 | NTSTATUS result;
|
---|
871 | } out;
|
---|
872 |
|
---|
873 | };
|
---|
874 |
|
---|
875 |
|
---|
876 | struct lsa_AddPrivilegesToAccount {
|
---|
877 | struct {
|
---|
878 | struct policy_handle *handle;/* [ref] */
|
---|
879 | struct lsa_PrivilegeSet *privs;/* [ref] */
|
---|
880 | } in;
|
---|
881 |
|
---|
882 | struct {
|
---|
883 | NTSTATUS result;
|
---|
884 | } out;
|
---|
885 |
|
---|
886 | };
|
---|
887 |
|
---|
888 |
|
---|
889 | struct lsa_RemovePrivilegesFromAccount {
|
---|
890 | struct {
|
---|
891 | struct policy_handle *handle;/* [ref] */
|
---|
892 | uint8_t remove_all;
|
---|
893 | struct lsa_PrivilegeSet *privs;/* [unique] */
|
---|
894 | } in;
|
---|
895 |
|
---|
896 | struct {
|
---|
897 | NTSTATUS result;
|
---|
898 | } out;
|
---|
899 |
|
---|
900 | };
|
---|
901 |
|
---|
902 |
|
---|
903 | struct lsa_GetQuotasForAccount {
|
---|
904 | struct {
|
---|
905 | NTSTATUS result;
|
---|
906 | } out;
|
---|
907 |
|
---|
908 | };
|
---|
909 |
|
---|
910 |
|
---|
911 | struct lsa_SetQuotasForAccount {
|
---|
912 | struct {
|
---|
913 | NTSTATUS result;
|
---|
914 | } out;
|
---|
915 |
|
---|
916 | };
|
---|
917 |
|
---|
918 |
|
---|
919 | struct lsa_GetSystemAccessAccount {
|
---|
920 | struct {
|
---|
921 | struct policy_handle *handle;/* [ref] */
|
---|
922 | } in;
|
---|
923 |
|
---|
924 | struct {
|
---|
925 | uint32_t *access_mask;/* [ref] */
|
---|
926 | NTSTATUS result;
|
---|
927 | } out;
|
---|
928 |
|
---|
929 | };
|
---|
930 |
|
---|
931 |
|
---|
932 | struct lsa_SetSystemAccessAccount {
|
---|
933 | struct {
|
---|
934 | struct policy_handle *handle;/* [ref] */
|
---|
935 | uint32_t access_mask;
|
---|
936 | } in;
|
---|
937 |
|
---|
938 | struct {
|
---|
939 | NTSTATUS result;
|
---|
940 | } out;
|
---|
941 |
|
---|
942 | };
|
---|
943 |
|
---|
944 |
|
---|
945 | struct lsa_OpenTrustedDomain {
|
---|
946 | struct {
|
---|
947 | struct policy_handle *handle;/* [ref] */
|
---|
948 | struct dom_sid2 *sid;/* [ref] */
|
---|
949 | uint32_t access_mask;
|
---|
950 | } in;
|
---|
951 |
|
---|
952 | struct {
|
---|
953 | struct policy_handle *trustdom_handle;/* [ref] */
|
---|
954 | NTSTATUS result;
|
---|
955 | } out;
|
---|
956 |
|
---|
957 | };
|
---|
958 |
|
---|
959 |
|
---|
960 | struct lsa_QueryTrustedDomainInfo {
|
---|
961 | struct {
|
---|
962 | struct policy_handle *trustdom_handle;/* [ref] */
|
---|
963 | enum lsa_TrustDomInfoEnum level;
|
---|
964 | } in;
|
---|
965 |
|
---|
966 | struct {
|
---|
967 | union lsa_TrustedDomainInfo **info;/* [ref,switch_is(level)] */
|
---|
968 | NTSTATUS result;
|
---|
969 | } out;
|
---|
970 |
|
---|
971 | };
|
---|
972 |
|
---|
973 |
|
---|
974 | struct lsa_SetInformationTrustedDomain {
|
---|
975 | struct {
|
---|
976 | NTSTATUS result;
|
---|
977 | } out;
|
---|
978 |
|
---|
979 | };
|
---|
980 |
|
---|
981 |
|
---|
982 | struct lsa_OpenSecret {
|
---|
983 | struct {
|
---|
984 | struct policy_handle *handle;/* [ref] */
|
---|
985 | struct lsa_String name;
|
---|
986 | uint32_t access_mask;
|
---|
987 | } in;
|
---|
988 |
|
---|
989 | struct {
|
---|
990 | struct policy_handle *sec_handle;/* [ref] */
|
---|
991 | NTSTATUS result;
|
---|
992 | } out;
|
---|
993 |
|
---|
994 | };
|
---|
995 |
|
---|
996 |
|
---|
997 | struct lsa_SetSecret {
|
---|
998 | struct {
|
---|
999 | struct policy_handle *sec_handle;/* [ref] */
|
---|
1000 | struct lsa_DATA_BUF *new_val;/* [unique] */
|
---|
1001 | struct lsa_DATA_BUF *old_val;/* [unique] */
|
---|
1002 | } in;
|
---|
1003 |
|
---|
1004 | struct {
|
---|
1005 | NTSTATUS result;
|
---|
1006 | } out;
|
---|
1007 |
|
---|
1008 | };
|
---|
1009 |
|
---|
1010 |
|
---|
1011 | struct lsa_QuerySecret {
|
---|
1012 | struct {
|
---|
1013 | struct policy_handle *sec_handle;/* [ref] */
|
---|
1014 | struct lsa_DATA_BUF_PTR *new_val;/* [unique] */
|
---|
1015 | NTTIME *new_mtime;/* [unique] */
|
---|
1016 | struct lsa_DATA_BUF_PTR *old_val;/* [unique] */
|
---|
1017 | NTTIME *old_mtime;/* [unique] */
|
---|
1018 | } in;
|
---|
1019 |
|
---|
1020 | struct {
|
---|
1021 | struct lsa_DATA_BUF_PTR *new_val;/* [unique] */
|
---|
1022 | NTTIME *new_mtime;/* [unique] */
|
---|
1023 | struct lsa_DATA_BUF_PTR *old_val;/* [unique] */
|
---|
1024 | NTTIME *old_mtime;/* [unique] */
|
---|
1025 | NTSTATUS result;
|
---|
1026 | } out;
|
---|
1027 |
|
---|
1028 | };
|
---|
1029 |
|
---|
1030 |
|
---|
1031 | struct lsa_LookupPrivValue {
|
---|
1032 | struct {
|
---|
1033 | struct policy_handle *handle;/* [ref] */
|
---|
1034 | struct lsa_String *name;/* [ref] */
|
---|
1035 | } in;
|
---|
1036 |
|
---|
1037 | struct {
|
---|
1038 | struct lsa_LUID *luid;/* [ref] */
|
---|
1039 | NTSTATUS result;
|
---|
1040 | } out;
|
---|
1041 |
|
---|
1042 | };
|
---|
1043 |
|
---|
1044 |
|
---|
1045 | struct lsa_LookupPrivName {
|
---|
1046 | struct {
|
---|
1047 | struct policy_handle *handle;/* [ref] */
|
---|
1048 | struct lsa_LUID *luid;/* [ref] */
|
---|
1049 | } in;
|
---|
1050 |
|
---|
1051 | struct {
|
---|
1052 | struct lsa_StringLarge **name;/* [ref] */
|
---|
1053 | NTSTATUS result;
|
---|
1054 | } out;
|
---|
1055 |
|
---|
1056 | };
|
---|
1057 |
|
---|
1058 |
|
---|
1059 | struct lsa_LookupPrivDisplayName {
|
---|
1060 | struct {
|
---|
1061 | struct policy_handle *handle;/* [ref] */
|
---|
1062 | struct lsa_String *name;/* [ref] */
|
---|
1063 | uint16_t language_id;
|
---|
1064 | uint16_t language_id_sys;
|
---|
1065 | } in;
|
---|
1066 |
|
---|
1067 | struct {
|
---|
1068 | struct lsa_StringLarge **disp_name;/* [ref] */
|
---|
1069 | uint16_t *returned_language_id;/* [ref] */
|
---|
1070 | NTSTATUS result;
|
---|
1071 | } out;
|
---|
1072 |
|
---|
1073 | };
|
---|
1074 |
|
---|
1075 |
|
---|
1076 | struct lsa_DeleteObject {
|
---|
1077 | struct {
|
---|
1078 | struct policy_handle *handle;/* [ref] */
|
---|
1079 | } in;
|
---|
1080 |
|
---|
1081 | struct {
|
---|
1082 | struct policy_handle *handle;/* [ref] */
|
---|
1083 | NTSTATUS result;
|
---|
1084 | } out;
|
---|
1085 |
|
---|
1086 | };
|
---|
1087 |
|
---|
1088 |
|
---|
1089 | struct lsa_EnumAccountsWithUserRight {
|
---|
1090 | struct {
|
---|
1091 | struct policy_handle *handle;/* [ref] */
|
---|
1092 | struct lsa_String *name;/* [unique] */
|
---|
1093 | } in;
|
---|
1094 |
|
---|
1095 | struct {
|
---|
1096 | struct lsa_SidArray *sids;/* [ref] */
|
---|
1097 | NTSTATUS result;
|
---|
1098 | } out;
|
---|
1099 |
|
---|
1100 | };
|
---|
1101 |
|
---|
1102 |
|
---|
1103 | struct lsa_EnumAccountRights {
|
---|
1104 | struct {
|
---|
1105 | struct policy_handle *handle;/* [ref] */
|
---|
1106 | struct dom_sid2 *sid;/* [ref] */
|
---|
1107 | } in;
|
---|
1108 |
|
---|
1109 | struct {
|
---|
1110 | struct lsa_RightSet *rights;/* [ref] */
|
---|
1111 | NTSTATUS result;
|
---|
1112 | } out;
|
---|
1113 |
|
---|
1114 | };
|
---|
1115 |
|
---|
1116 |
|
---|
1117 | struct lsa_AddAccountRights {
|
---|
1118 | struct {
|
---|
1119 | struct policy_handle *handle;/* [ref] */
|
---|
1120 | struct dom_sid2 *sid;/* [ref] */
|
---|
1121 | struct lsa_RightSet *rights;/* [ref] */
|
---|
1122 | } in;
|
---|
1123 |
|
---|
1124 | struct {
|
---|
1125 | NTSTATUS result;
|
---|
1126 | } out;
|
---|
1127 |
|
---|
1128 | };
|
---|
1129 |
|
---|
1130 |
|
---|
1131 | struct lsa_RemoveAccountRights {
|
---|
1132 | struct {
|
---|
1133 | struct policy_handle *handle;/* [ref] */
|
---|
1134 | struct dom_sid2 *sid;/* [ref] */
|
---|
1135 | uint8_t remove_all;
|
---|
1136 | struct lsa_RightSet *rights;/* [ref] */
|
---|
1137 | } in;
|
---|
1138 |
|
---|
1139 | struct {
|
---|
1140 | NTSTATUS result;
|
---|
1141 | } out;
|
---|
1142 |
|
---|
1143 | };
|
---|
1144 |
|
---|
1145 |
|
---|
1146 | struct lsa_QueryTrustedDomainInfoBySid {
|
---|
1147 | struct {
|
---|
1148 | struct policy_handle *handle;/* [ref] */
|
---|
1149 | struct dom_sid2 *dom_sid;/* [ref] */
|
---|
1150 | enum lsa_TrustDomInfoEnum level;
|
---|
1151 | } in;
|
---|
1152 |
|
---|
1153 | struct {
|
---|
1154 | union lsa_TrustedDomainInfo **info;/* [ref,switch_is(level)] */
|
---|
1155 | NTSTATUS result;
|
---|
1156 | } out;
|
---|
1157 |
|
---|
1158 | };
|
---|
1159 |
|
---|
1160 |
|
---|
1161 | struct lsa_SetTrustedDomainInfo {
|
---|
1162 | struct {
|
---|
1163 | NTSTATUS result;
|
---|
1164 | } out;
|
---|
1165 |
|
---|
1166 | };
|
---|
1167 |
|
---|
1168 |
|
---|
1169 | struct lsa_DeleteTrustedDomain {
|
---|
1170 | struct {
|
---|
1171 | struct policy_handle *handle;/* [ref] */
|
---|
1172 | struct dom_sid2 *dom_sid;/* [ref] */
|
---|
1173 | } in;
|
---|
1174 |
|
---|
1175 | struct {
|
---|
1176 | NTSTATUS result;
|
---|
1177 | } out;
|
---|
1178 |
|
---|
1179 | };
|
---|
1180 |
|
---|
1181 |
|
---|
1182 | struct lsa_StorePrivateData {
|
---|
1183 | struct {
|
---|
1184 | NTSTATUS result;
|
---|
1185 | } out;
|
---|
1186 |
|
---|
1187 | };
|
---|
1188 |
|
---|
1189 |
|
---|
1190 | struct lsa_RetrievePrivateData {
|
---|
1191 | struct {
|
---|
1192 | NTSTATUS result;
|
---|
1193 | } out;
|
---|
1194 |
|
---|
1195 | };
|
---|
1196 |
|
---|
1197 |
|
---|
1198 | struct lsa_OpenPolicy2 {
|
---|
1199 | struct {
|
---|
1200 | const char *system_name;/* [unique,charset(UTF16)] */
|
---|
1201 | struct lsa_ObjectAttribute *attr;/* [ref] */
|
---|
1202 | uint32_t access_mask;
|
---|
1203 | } in;
|
---|
1204 |
|
---|
1205 | struct {
|
---|
1206 | struct policy_handle *handle;/* [ref] */
|
---|
1207 | NTSTATUS result;
|
---|
1208 | } out;
|
---|
1209 |
|
---|
1210 | };
|
---|
1211 |
|
---|
1212 |
|
---|
1213 | struct lsa_GetUserName {
|
---|
1214 | struct {
|
---|
1215 | const char *system_name;/* [unique,charset(UTF16)] */
|
---|
1216 | struct lsa_String **account_name;/* [ref] */
|
---|
1217 | struct lsa_String **authority_name;/* [unique] */
|
---|
1218 | } in;
|
---|
1219 |
|
---|
1220 | struct {
|
---|
1221 | struct lsa_String **account_name;/* [ref] */
|
---|
1222 | struct lsa_String **authority_name;/* [unique] */
|
---|
1223 | NTSTATUS result;
|
---|
1224 | } out;
|
---|
1225 |
|
---|
1226 | };
|
---|
1227 |
|
---|
1228 |
|
---|
1229 | struct lsa_QueryInfoPolicy2 {
|
---|
1230 | struct {
|
---|
1231 | struct policy_handle *handle;/* [ref] */
|
---|
1232 | enum lsa_PolicyInfo level;
|
---|
1233 | } in;
|
---|
1234 |
|
---|
1235 | struct {
|
---|
1236 | union lsa_PolicyInformation **info;/* [ref,switch_is(level)] */
|
---|
1237 | NTSTATUS result;
|
---|
1238 | } out;
|
---|
1239 |
|
---|
1240 | };
|
---|
1241 |
|
---|
1242 |
|
---|
1243 | struct lsa_SetInfoPolicy2 {
|
---|
1244 | struct {
|
---|
1245 | struct policy_handle *handle;/* [ref] */
|
---|
1246 | enum lsa_PolicyInfo level;
|
---|
1247 | union lsa_PolicyInformation *info;/* [ref,switch_is(level)] */
|
---|
1248 | } in;
|
---|
1249 |
|
---|
1250 | struct {
|
---|
1251 | NTSTATUS result;
|
---|
1252 | } out;
|
---|
1253 |
|
---|
1254 | };
|
---|
1255 |
|
---|
1256 |
|
---|
1257 | struct lsa_QueryTrustedDomainInfoByName {
|
---|
1258 | struct {
|
---|
1259 | struct policy_handle *handle;/* [ref] */
|
---|
1260 | struct lsa_String *trusted_domain;/* [ref] */
|
---|
1261 | enum lsa_TrustDomInfoEnum level;
|
---|
1262 | } in;
|
---|
1263 |
|
---|
1264 | struct {
|
---|
1265 | union lsa_TrustedDomainInfo **info;/* [ref,switch_is(level)] */
|
---|
1266 | NTSTATUS result;
|
---|
1267 | } out;
|
---|
1268 |
|
---|
1269 | };
|
---|
1270 |
|
---|
1271 |
|
---|
1272 | struct lsa_SetTrustedDomainInfoByName {
|
---|
1273 | struct {
|
---|
1274 | struct policy_handle *handle;/* [ref] */
|
---|
1275 | struct lsa_String trusted_domain;
|
---|
1276 | enum lsa_TrustDomInfoEnum level;
|
---|
1277 | union lsa_TrustedDomainInfo *info;/* [unique,switch_is(level)] */
|
---|
1278 | } in;
|
---|
1279 |
|
---|
1280 | struct {
|
---|
1281 | NTSTATUS result;
|
---|
1282 | } out;
|
---|
1283 |
|
---|
1284 | };
|
---|
1285 |
|
---|
1286 |
|
---|
1287 | struct lsa_EnumTrustedDomainsEx {
|
---|
1288 | struct {
|
---|
1289 | struct policy_handle *handle;/* [ref] */
|
---|
1290 | uint32_t max_size;
|
---|
1291 | uint32_t *resume_handle;/* [ref] */
|
---|
1292 | } in;
|
---|
1293 |
|
---|
1294 | struct {
|
---|
1295 | struct lsa_DomainListEx *domains;/* [ref] */
|
---|
1296 | uint32_t *resume_handle;/* [ref] */
|
---|
1297 | NTSTATUS result;
|
---|
1298 | } out;
|
---|
1299 |
|
---|
1300 | };
|
---|
1301 |
|
---|
1302 |
|
---|
1303 | struct lsa_CreateTrustedDomainEx {
|
---|
1304 | struct {
|
---|
1305 | NTSTATUS result;
|
---|
1306 | } out;
|
---|
1307 |
|
---|
1308 | };
|
---|
1309 |
|
---|
1310 |
|
---|
1311 | struct lsa_CloseTrustedDomainEx {
|
---|
1312 | struct {
|
---|
1313 | struct policy_handle *handle;/* [ref] */
|
---|
1314 | } in;
|
---|
1315 |
|
---|
1316 | struct {
|
---|
1317 | struct policy_handle *handle;/* [ref] */
|
---|
1318 | NTSTATUS result;
|
---|
1319 | } out;
|
---|
1320 |
|
---|
1321 | };
|
---|
1322 |
|
---|
1323 |
|
---|
1324 | struct lsa_QueryDomainInformationPolicy {
|
---|
1325 | struct {
|
---|
1326 | struct policy_handle *handle;/* [ref] */
|
---|
1327 | uint16_t level;
|
---|
1328 | } in;
|
---|
1329 |
|
---|
1330 | struct {
|
---|
1331 | union lsa_DomainInformationPolicy **info;/* [ref,switch_is(level)] */
|
---|
1332 | NTSTATUS result;
|
---|
1333 | } out;
|
---|
1334 |
|
---|
1335 | };
|
---|
1336 |
|
---|
1337 |
|
---|
1338 | struct lsa_SetDomainInformationPolicy {
|
---|
1339 | struct {
|
---|
1340 | struct policy_handle *handle;/* [ref] */
|
---|
1341 | uint16_t level;
|
---|
1342 | union lsa_DomainInformationPolicy *info;/* [unique,switch_is(level)] */
|
---|
1343 | } in;
|
---|
1344 |
|
---|
1345 | struct {
|
---|
1346 | NTSTATUS result;
|
---|
1347 | } out;
|
---|
1348 |
|
---|
1349 | };
|
---|
1350 |
|
---|
1351 |
|
---|
1352 | struct lsa_OpenTrustedDomainByName {
|
---|
1353 | struct {
|
---|
1354 | struct policy_handle *handle;/* [ref] */
|
---|
1355 | struct lsa_String name;
|
---|
1356 | uint32_t access_mask;
|
---|
1357 | } in;
|
---|
1358 |
|
---|
1359 | struct {
|
---|
1360 | struct policy_handle *trustdom_handle;/* [ref] */
|
---|
1361 | NTSTATUS result;
|
---|
1362 | } out;
|
---|
1363 |
|
---|
1364 | };
|
---|
1365 |
|
---|
1366 |
|
---|
1367 | struct lsa_TestCall {
|
---|
1368 | struct {
|
---|
1369 | NTSTATUS result;
|
---|
1370 | } out;
|
---|
1371 |
|
---|
1372 | };
|
---|
1373 |
|
---|
1374 |
|
---|
1375 | struct lsa_LookupSids2 {
|
---|
1376 | struct {
|
---|
1377 | struct policy_handle *handle;/* [ref] */
|
---|
1378 | struct lsa_SidArray *sids;/* [ref] */
|
---|
1379 | uint16_t level;
|
---|
1380 | uint32_t unknown1;
|
---|
1381 | uint32_t unknown2;
|
---|
1382 | struct lsa_TransNameArray2 *names;/* [ref] */
|
---|
1383 | uint32_t *count;/* [ref] */
|
---|
1384 | } in;
|
---|
1385 |
|
---|
1386 | struct {
|
---|
1387 | struct lsa_RefDomainList **domains;/* [ref] */
|
---|
1388 | struct lsa_TransNameArray2 *names;/* [ref] */
|
---|
1389 | uint32_t *count;/* [ref] */
|
---|
1390 | NTSTATUS result;
|
---|
1391 | } out;
|
---|
1392 |
|
---|
1393 | };
|
---|
1394 |
|
---|
1395 |
|
---|
1396 | struct lsa_LookupNames2 {
|
---|
1397 | struct {
|
---|
1398 | struct policy_handle *handle;/* [ref] */
|
---|
1399 | uint32_t num_names;/* [range(0,1000)] */
|
---|
1400 | struct lsa_String *names;/* [size_is(num_names)] */
|
---|
1401 | enum lsa_LookupNamesLevel level;
|
---|
1402 | uint32_t unknown1;
|
---|
1403 | uint32_t unknown2;
|
---|
1404 | struct lsa_TransSidArray2 *sids;/* [ref] */
|
---|
1405 | uint32_t *count;/* [ref] */
|
---|
1406 | } in;
|
---|
1407 |
|
---|
1408 | struct {
|
---|
1409 | struct lsa_RefDomainList **domains;/* [ref] */
|
---|
1410 | struct lsa_TransSidArray2 *sids;/* [ref] */
|
---|
1411 | uint32_t *count;/* [ref] */
|
---|
1412 | NTSTATUS result;
|
---|
1413 | } out;
|
---|
1414 |
|
---|
1415 | };
|
---|
1416 |
|
---|
1417 |
|
---|
1418 | struct lsa_CreateTrustedDomainEx2 {
|
---|
1419 | struct {
|
---|
1420 | NTSTATUS result;
|
---|
1421 | } out;
|
---|
1422 |
|
---|
1423 | };
|
---|
1424 |
|
---|
1425 |
|
---|
1426 | struct lsa_CREDRWRITE {
|
---|
1427 | struct {
|
---|
1428 | NTSTATUS result;
|
---|
1429 | } out;
|
---|
1430 |
|
---|
1431 | };
|
---|
1432 |
|
---|
1433 |
|
---|
1434 | struct lsa_CREDRREAD {
|
---|
1435 | struct {
|
---|
1436 | NTSTATUS result;
|
---|
1437 | } out;
|
---|
1438 |
|
---|
1439 | };
|
---|
1440 |
|
---|
1441 |
|
---|
1442 | struct lsa_CREDRENUMERATE {
|
---|
1443 | struct {
|
---|
1444 | NTSTATUS result;
|
---|
1445 | } out;
|
---|
1446 |
|
---|
1447 | };
|
---|
1448 |
|
---|
1449 |
|
---|
1450 | struct lsa_CREDRWRITEDOMAINCREDENTIALS {
|
---|
1451 | struct {
|
---|
1452 | NTSTATUS result;
|
---|
1453 | } out;
|
---|
1454 |
|
---|
1455 | };
|
---|
1456 |
|
---|
1457 |
|
---|
1458 | struct lsa_CREDRREADDOMAINCREDENTIALS {
|
---|
1459 | struct {
|
---|
1460 | NTSTATUS result;
|
---|
1461 | } out;
|
---|
1462 |
|
---|
1463 | };
|
---|
1464 |
|
---|
1465 |
|
---|
1466 | struct lsa_CREDRDELETE {
|
---|
1467 | struct {
|
---|
1468 | NTSTATUS result;
|
---|
1469 | } out;
|
---|
1470 |
|
---|
1471 | };
|
---|
1472 |
|
---|
1473 |
|
---|
1474 | struct lsa_CREDRGETTARGETINFO {
|
---|
1475 | struct {
|
---|
1476 | NTSTATUS result;
|
---|
1477 | } out;
|
---|
1478 |
|
---|
1479 | };
|
---|
1480 |
|
---|
1481 |
|
---|
1482 | struct lsa_CREDRPROFILELOADED {
|
---|
1483 | struct {
|
---|
1484 | NTSTATUS result;
|
---|
1485 | } out;
|
---|
1486 |
|
---|
1487 | };
|
---|
1488 |
|
---|
1489 |
|
---|
1490 | struct lsa_LookupNames3 {
|
---|
1491 | struct {
|
---|
1492 | struct policy_handle *handle;/* [ref] */
|
---|
1493 | uint32_t num_names;/* [range(0,1000)] */
|
---|
1494 | struct lsa_String *names;/* [size_is(num_names)] */
|
---|
1495 | enum lsa_LookupNamesLevel level;
|
---|
1496 | uint32_t unknown1;
|
---|
1497 | uint32_t unknown2;
|
---|
1498 | struct lsa_TransSidArray3 *sids;/* [ref] */
|
---|
1499 | uint32_t *count;/* [ref] */
|
---|
1500 | } in;
|
---|
1501 |
|
---|
1502 | struct {
|
---|
1503 | struct lsa_RefDomainList **domains;/* [ref] */
|
---|
1504 | struct lsa_TransSidArray3 *sids;/* [ref] */
|
---|
1505 | uint32_t *count;/* [ref] */
|
---|
1506 | NTSTATUS result;
|
---|
1507 | } out;
|
---|
1508 |
|
---|
1509 | };
|
---|
1510 |
|
---|
1511 |
|
---|
1512 | struct lsa_CREDRGETSESSIONTYPES {
|
---|
1513 | struct {
|
---|
1514 | NTSTATUS result;
|
---|
1515 | } out;
|
---|
1516 |
|
---|
1517 | };
|
---|
1518 |
|
---|
1519 |
|
---|
1520 | struct lsa_LSARREGISTERAUDITEVENT {
|
---|
1521 | struct {
|
---|
1522 | NTSTATUS result;
|
---|
1523 | } out;
|
---|
1524 |
|
---|
1525 | };
|
---|
1526 |
|
---|
1527 |
|
---|
1528 | struct lsa_LSARGENAUDITEVENT {
|
---|
1529 | struct {
|
---|
1530 | NTSTATUS result;
|
---|
1531 | } out;
|
---|
1532 |
|
---|
1533 | };
|
---|
1534 |
|
---|
1535 |
|
---|
1536 | struct lsa_LSARUNREGISTERAUDITEVENT {
|
---|
1537 | struct {
|
---|
1538 | NTSTATUS result;
|
---|
1539 | } out;
|
---|
1540 |
|
---|
1541 | };
|
---|
1542 |
|
---|
1543 |
|
---|
1544 | struct lsa_lsaRQueryForestTrustInformation {
|
---|
1545 | struct {
|
---|
1546 | struct policy_handle *handle;/* [ref] */
|
---|
1547 | struct lsa_String *trusted_domain_name;/* [ref] */
|
---|
1548 | uint16_t unknown;
|
---|
1549 | } in;
|
---|
1550 |
|
---|
1551 | struct {
|
---|
1552 | struct lsa_ForestTrustInformation **forest_trust_info;/* [ref] */
|
---|
1553 | NTSTATUS result;
|
---|
1554 | } out;
|
---|
1555 |
|
---|
1556 | };
|
---|
1557 |
|
---|
1558 |
|
---|
1559 | struct lsa_LSARSETFORESTTRUSTINFORMATION {
|
---|
1560 | struct {
|
---|
1561 | NTSTATUS result;
|
---|
1562 | } out;
|
---|
1563 |
|
---|
1564 | };
|
---|
1565 |
|
---|
1566 |
|
---|
1567 | struct lsa_CREDRRENAME {
|
---|
1568 | struct {
|
---|
1569 | NTSTATUS result;
|
---|
1570 | } out;
|
---|
1571 |
|
---|
1572 | };
|
---|
1573 |
|
---|
1574 |
|
---|
1575 | struct lsa_LookupSids3 {
|
---|
1576 | struct {
|
---|
1577 | struct lsa_SidArray *sids;/* [ref] */
|
---|
1578 | uint16_t level;
|
---|
1579 | uint32_t unknown1;
|
---|
1580 | uint32_t unknown2;
|
---|
1581 | struct lsa_TransNameArray2 *names;/* [ref] */
|
---|
1582 | uint32_t *count;/* [ref] */
|
---|
1583 | } in;
|
---|
1584 |
|
---|
1585 | struct {
|
---|
1586 | struct lsa_RefDomainList **domains;/* [ref] */
|
---|
1587 | struct lsa_TransNameArray2 *names;/* [ref] */
|
---|
1588 | uint32_t *count;/* [ref] */
|
---|
1589 | NTSTATUS result;
|
---|
1590 | } out;
|
---|
1591 |
|
---|
1592 | };
|
---|
1593 |
|
---|
1594 |
|
---|
1595 | struct lsa_LookupNames4 {
|
---|
1596 | struct {
|
---|
1597 | uint32_t num_names;/* [range(0,1000)] */
|
---|
1598 | struct lsa_String *names;/* [size_is(num_names)] */
|
---|
1599 | enum lsa_LookupNamesLevel level;
|
---|
1600 | uint32_t unknown1;
|
---|
1601 | uint32_t unknown2;
|
---|
1602 | struct lsa_TransSidArray3 *sids;/* [ref] */
|
---|
1603 | uint32_t *count;/* [ref] */
|
---|
1604 | } in;
|
---|
1605 |
|
---|
1606 | struct {
|
---|
1607 | struct lsa_RefDomainList **domains;/* [ref] */
|
---|
1608 | struct lsa_TransSidArray3 *sids;/* [ref] */
|
---|
1609 | uint32_t *count;/* [ref] */
|
---|
1610 | NTSTATUS result;
|
---|
1611 | } out;
|
---|
1612 |
|
---|
1613 | };
|
---|
1614 |
|
---|
1615 |
|
---|
1616 | struct lsa_LSAROPENPOLICYSCE {
|
---|
1617 | struct {
|
---|
1618 | NTSTATUS result;
|
---|
1619 | } out;
|
---|
1620 |
|
---|
1621 | };
|
---|
1622 |
|
---|
1623 |
|
---|
1624 | struct lsa_LSARADTREGISTERSECURITYEVENTSOURCE {
|
---|
1625 | struct {
|
---|
1626 | NTSTATUS result;
|
---|
1627 | } out;
|
---|
1628 |
|
---|
1629 | };
|
---|
1630 |
|
---|
1631 |
|
---|
1632 | struct lsa_LSARADTUNREGISTERSECURITYEVENTSOURCE {
|
---|
1633 | struct {
|
---|
1634 | NTSTATUS result;
|
---|
1635 | } out;
|
---|
1636 |
|
---|
1637 | };
|
---|
1638 |
|
---|
1639 |
|
---|
1640 | struct lsa_LSARADTREPORTSECURITYEVENT {
|
---|
1641 | struct {
|
---|
1642 | NTSTATUS result;
|
---|
1643 | } out;
|
---|
1644 |
|
---|
1645 | };
|
---|
1646 |
|
---|
1647 | #endif /* _HEADER_lsarpc */
|
---|