1 /* header auto-generated by pidl */
5 #include "libcli/util/ntstatus.h"
7 #include "librpc/gen_ndr/misc.h"
8 #include "librpc/gen_ndr/security.h"
10 #define _HEADER_lsarpc
12 #define LSA_POLICY_ALL_ACCESS ( (STANDARD_RIGHTS_REQUIRED_ACCESS|LSA_POLICY_VIEW_LOCAL_INFORMATION|LSA_POLICY_VIEW_AUDIT_INFORMATION|LSA_POLICY_GET_PRIVATE_INFORMATION|LSA_POLICY_TRUST_ADMIN|LSA_POLICY_CREATE_ACCOUNT|LSA_POLICY_CREATE_SECRET|LSA_POLICY_CREATE_PRIVILEGE|LSA_POLICY_SET_DEFAULT_QUOTA_LIMITS|LSA_POLICY_SET_AUDIT_REQUIREMENTS|LSA_POLICY_AUDIT_LOG_ADMIN|LSA_POLICY_SERVER_ADMIN|LSA_POLICY_LOOKUP_NAMES) )
13 #define LSA_POLICY_READ ( (STANDARD_RIGHTS_READ_ACCESS|LSA_POLICY_VIEW_LOCAL_INFORMATION|LSA_POLICY_VIEW_AUDIT_INFORMATION|LSA_POLICY_GET_PRIVATE_INFORMATION) )
14 #define LSA_POLICY_WRITE ( (STANDARD_RIGHTS_READ_ACCESS|LSA_POLICY_TRUST_ADMIN|LSA_POLICY_CREATE_ACCOUNT|LSA_POLICY_CREATE_SECRET|LSA_POLICY_CREATE_PRIVILEGE|LSA_POLICY_SET_DEFAULT_QUOTA_LIMITS|LSA_POLICY_SET_AUDIT_REQUIREMENTS|LSA_POLICY_AUDIT_LOG_ADMIN|LSA_POLICY_SERVER_ADMIN) )
15 #define LSA_POLICY_EXECUTE ( (STANDARD_RIGHTS_EXECUTE_ACCESS|LSA_POLICY_VIEW_LOCAL_INFORMATION|LSA_POLICY_LOOKUP_NAMES) )
16 #define LSA_ENUM_TRUST_DOMAIN_MULTIPLIER ( 60 )
17 #define LSA_REF_DOMAIN_LIST_MULTIPLIER ( 32 )
18 #define LSA_ENUM_TRUST_DOMAIN_EX_MULTIPLIER ( 82 )
19 #define LSA_CLIENT_REVISION_NO_DNS ( 0x00000001 )
20 #define LSA_CLIENT_REVISION_DNS ( 0x00000002 )
21 #define LSA_LOOKUP_OPTIONS_NO_ISOLATED ( 0x80000000 )
23 uint16_t length
;/* [value(2*strlen_m(string))] */
24 uint16_t size
;/* [value(2*strlen_m(string))] */
25 const char *string
;/* [unique,charset(UTF16),length_is(length/2),size_is(size/2)] */
28 struct lsa_StringLarge
{
29 uint16_t length
;/* [value(2*strlen_m(string))] */
30 uint16_t size
;/* [value(2*strlen_m_term(string))] */
31 const char *string
;/* [unique,charset(UTF16),length_is(length/2),size_is(size/2)] */
36 struct lsa_String
*names
;/* [unique,size_is(count)] */
39 struct lsa_AsciiString
{
40 uint16_t length
;/* [value(strlen_m(string))] */
41 uint16_t size
;/* [value(strlen_m(string))] */
42 const char *string
;/* [unique,charset(DOS),length_is(length),size_is(size)] */
45 struct lsa_AsciiStringLarge
{
46 uint16_t length
;/* [value(strlen_m(string))] */
47 uint16_t size
;/* [value(strlen_m_term(string))] */
48 const char *string
;/* [unique,charset(DOS),length_is(length),size_is(size)] */
51 struct lsa_BinaryString
{
54 uint16_t *array
;/* [unique,length_is(length/2),size_is(size/2)] */
62 struct lsa_PrivEntry
{
63 struct lsa_StringLarge name
;
67 struct lsa_PrivArray
{
69 struct lsa_PrivEntry
*privs
;/* [unique,size_is(count)] */
74 uint16_t impersonation_level
;
76 uint8_t effective_only
;
79 struct lsa_ObjectAttribute
{
81 uint8_t *root_dir
;/* [unique] */
82 const char *object_name
;/* [unique,charset(UTF16)] */
84 struct security_descriptor
*sec_desc
;/* [unique] */
85 struct lsa_QosInfo
*sec_qos
;/* [unique] */
88 /* bitmap lsa_PolicyAccessMask */
89 #define LSA_POLICY_VIEW_LOCAL_INFORMATION ( 0x00000001 )
90 #define LSA_POLICY_VIEW_AUDIT_INFORMATION ( 0x00000002 )
91 #define LSA_POLICY_GET_PRIVATE_INFORMATION ( 0x00000004 )
92 #define LSA_POLICY_TRUST_ADMIN ( 0x00000008 )
93 #define LSA_POLICY_CREATE_ACCOUNT ( 0x00000010 )
94 #define LSA_POLICY_CREATE_SECRET ( 0x00000020 )
95 #define LSA_POLICY_CREATE_PRIVILEGE ( 0x00000040 )
96 #define LSA_POLICY_SET_DEFAULT_QUOTA_LIMITS ( 0x00000080 )
97 #define LSA_POLICY_SET_AUDIT_REQUIREMENTS ( 0x00000100 )
98 #define LSA_POLICY_AUDIT_LOG_ADMIN ( 0x00000200 )
99 #define LSA_POLICY_SERVER_ADMIN ( 0x00000400 )
100 #define LSA_POLICY_LOOKUP_NAMES ( 0x00000800 )
101 #define LSA_POLICY_NOTIFICATION ( 0x00001000 )
103 /* bitmap lsa_AccountAccessMask */
104 #define LSA_ACCOUNT_VIEW ( 0x00000001 )
105 #define LSA_ACCOUNT_ADJUST_PRIVILEGES ( 0x00000002 )
106 #define LSA_ACCOUNT_ADJUST_QUOTAS ( 0x00000004 )
107 #define LSA_ACCOUNT_ADJUST_SYSTEM_ACCESS ( 0x00000008 )
109 /* bitmap lsa_SecretAccessMask */
110 #define LSA_SECRET_SET_VALUE ( 0x00000001 )
111 #define LSA_SECRET_QUERY_VALUE ( 0x00000002 )
113 /* bitmap lsa_TrustedAccessMask */
114 #define LSA_TRUSTED_QUERY_DOMAIN_NAME ( 0x00000001 )
115 #define LSA_TRUSTED_QUERY_CONTROLLERS ( 0x00000002 )
116 #define LSA_TRUSTED_SET_CONTROLLERS ( 0x00000004 )
117 #define LSA_TRUSTED_QUERY_POSIX ( 0x00000008 )
118 #define LSA_TRUSTED_SET_POSIX ( 0x00000010 )
119 #define LSA_TRUSTED_SET_AUTH ( 0x00000020 )
120 #define LSA_TRUSTED_QUERY_AUTH ( 0x00000040 )
122 struct lsa_AuditLogInfo
{
123 uint32_t percent_full
;
124 uint32_t maximum_log_size
;
125 uint64_t retention_time
;
126 uint8_t shutdown_in_progress
;
127 uint64_t time_to_shutdown
;
128 uint32_t next_audit_record
;
131 enum lsa_PolicyAuditPolicy
132 #ifndef USE_UINT_ENUMS
134 LSA_AUDIT_POLICY_NONE
=0,
135 LSA_AUDIT_POLICY_SUCCESS
=1,
136 LSA_AUDIT_POLICY_FAILURE
=2,
137 LSA_AUDIT_POLICY_ALL
=(LSA_AUDIT_POLICY_SUCCESS
|LSA_AUDIT_POLICY_FAILURE
),
138 LSA_AUDIT_POLICY_CLEAR
=4
141 { __donnot_use_enum_lsa_PolicyAuditPolicy
=0x7FFFFFFF}
142 #define LSA_AUDIT_POLICY_NONE ( 0 )
143 #define LSA_AUDIT_POLICY_SUCCESS ( 1 )
144 #define LSA_AUDIT_POLICY_FAILURE ( 2 )
145 #define LSA_AUDIT_POLICY_ALL ( (LSA_AUDIT_POLICY_SUCCESS|LSA_AUDIT_POLICY_FAILURE) )
146 #define LSA_AUDIT_POLICY_CLEAR ( 4 )
150 enum lsa_PolicyAuditEventType
151 #ifndef USE_UINT_ENUMS
153 LSA_AUDIT_CATEGORY_SYSTEM
=0,
154 LSA_AUDIT_CATEGORY_LOGON
=1,
155 LSA_AUDIT_CATEGORY_FILE_AND_OBJECT_ACCESS
=2,
156 LSA_AUDIT_CATEGORY_USE_OF_USER_RIGHTS
=3,
157 LSA_AUDIT_CATEGORY_PROCCESS_TRACKING
=4,
158 LSA_AUDIT_CATEGORY_SECURITY_POLICY_CHANGES
=5,
159 LSA_AUDIT_CATEGORY_ACCOUNT_MANAGEMENT
=6,
160 LSA_AUDIT_CATEGORY_DIRECTORY_SERVICE_ACCESS
=7,
161 LSA_AUDIT_CATEGORY_ACCOUNT_LOGON
=8
164 { __donnot_use_enum_lsa_PolicyAuditEventType
=0x7FFFFFFF}
165 #define LSA_AUDIT_CATEGORY_SYSTEM ( 0 )
166 #define LSA_AUDIT_CATEGORY_LOGON ( 1 )
167 #define LSA_AUDIT_CATEGORY_FILE_AND_OBJECT_ACCESS ( 2 )
168 #define LSA_AUDIT_CATEGORY_USE_OF_USER_RIGHTS ( 3 )
169 #define LSA_AUDIT_CATEGORY_PROCCESS_TRACKING ( 4 )
170 #define LSA_AUDIT_CATEGORY_SECURITY_POLICY_CHANGES ( 5 )
171 #define LSA_AUDIT_CATEGORY_ACCOUNT_MANAGEMENT ( 6 )
172 #define LSA_AUDIT_CATEGORY_DIRECTORY_SERVICE_ACCESS ( 7 )
173 #define LSA_AUDIT_CATEGORY_ACCOUNT_LOGON ( 8 )
177 struct lsa_AuditEventsInfo
{
178 uint32_t auditing_mode
;
179 enum lsa_PolicyAuditPolicy
*settings
;/* [unique,size_is(count)] */
183 struct lsa_DomainInfo
{
184 struct lsa_StringLarge name
;
185 struct dom_sid2
*sid
;/* [unique] */
188 struct lsa_PDAccountInfo
{
189 struct lsa_String name
;
193 #ifndef USE_UINT_ENUMS
199 { __donnot_use_enum_lsa_Role
=0x7FFFFFFF}
200 #define LSA_ROLE_BACKUP ( 2 )
201 #define LSA_ROLE_PRIMARY ( 3 )
205 struct lsa_ServerRole
{
209 struct lsa_ReplicaSourceInfo
{
210 struct lsa_String source
;
211 struct lsa_String account
;
214 struct lsa_DefaultQuotaInfo
{
216 uint32_t non_paged_pool
;
223 struct lsa_ModificationInfo
{
224 uint64_t modified_id
;
225 NTTIME db_create_time
;
228 struct lsa_AuditFullSetInfo
{
229 uint8_t shutdown_on_full
;
232 struct lsa_AuditFullQueryInfo
{
233 uint8_t shutdown_on_full
;
237 struct lsa_DnsDomainInfo
{
238 struct lsa_StringLarge name
;
239 struct lsa_StringLarge dns_domain
;
240 struct lsa_StringLarge dns_forest
;
241 struct GUID domain_guid
;
242 struct dom_sid2
*sid
;/* [unique] */
246 #ifndef USE_UINT_ENUMS
248 LSA_POLICY_INFO_AUDIT_LOG
=1,
249 LSA_POLICY_INFO_AUDIT_EVENTS
=2,
250 LSA_POLICY_INFO_DOMAIN
=3,
251 LSA_POLICY_INFO_PD
=4,
252 LSA_POLICY_INFO_ACCOUNT_DOMAIN
=5,
253 LSA_POLICY_INFO_ROLE
=6,
254 LSA_POLICY_INFO_REPLICA
=7,
255 LSA_POLICY_INFO_QUOTA
=8,
256 LSA_POLICY_INFO_MOD
=9,
257 LSA_POLICY_INFO_AUDIT_FULL_SET
=10,
258 LSA_POLICY_INFO_AUDIT_FULL_QUERY
=11,
259 LSA_POLICY_INFO_DNS
=12,
260 LSA_POLICY_INFO_DNS_INT
=13,
261 LSA_POLICY_INFO_L_ACCOUNT_DOMAIN
=14
264 { __donnot_use_enum_lsa_PolicyInfo
=0x7FFFFFFF}
265 #define LSA_POLICY_INFO_AUDIT_LOG ( 1 )
266 #define LSA_POLICY_INFO_AUDIT_EVENTS ( 2 )
267 #define LSA_POLICY_INFO_DOMAIN ( 3 )
268 #define LSA_POLICY_INFO_PD ( 4 )
269 #define LSA_POLICY_INFO_ACCOUNT_DOMAIN ( 5 )
270 #define LSA_POLICY_INFO_ROLE ( 6 )
271 #define LSA_POLICY_INFO_REPLICA ( 7 )
272 #define LSA_POLICY_INFO_QUOTA ( 8 )
273 #define LSA_POLICY_INFO_MOD ( 9 )
274 #define LSA_POLICY_INFO_AUDIT_FULL_SET ( 10 )
275 #define LSA_POLICY_INFO_AUDIT_FULL_QUERY ( 11 )
276 #define LSA_POLICY_INFO_DNS ( 12 )
277 #define LSA_POLICY_INFO_DNS_INT ( 13 )
278 #define LSA_POLICY_INFO_L_ACCOUNT_DOMAIN ( 14 )
282 union lsa_PolicyInformation
{
283 struct lsa_AuditLogInfo audit_log
;/* [case(LSA_POLICY_INFO_AUDIT_LOG)] */
284 struct lsa_AuditEventsInfo audit_events
;/* [case(LSA_POLICY_INFO_AUDIT_EVENTS)] */
285 struct lsa_DomainInfo domain
;/* [case(LSA_POLICY_INFO_DOMAIN)] */
286 struct lsa_PDAccountInfo pd
;/* [case(LSA_POLICY_INFO_PD)] */
287 struct lsa_DomainInfo account_domain
;/* [case(LSA_POLICY_INFO_ACCOUNT_DOMAIN)] */
288 struct lsa_ServerRole role
;/* [case(LSA_POLICY_INFO_ROLE)] */
289 struct lsa_ReplicaSourceInfo replica
;/* [case(LSA_POLICY_INFO_REPLICA)] */
290 struct lsa_DefaultQuotaInfo quota
;/* [case(LSA_POLICY_INFO_QUOTA)] */
291 struct lsa_ModificationInfo mod
;/* [case(LSA_POLICY_INFO_MOD)] */
292 struct lsa_AuditFullSetInfo auditfullset
;/* [case(LSA_POLICY_INFO_AUDIT_FULL_SET)] */
293 struct lsa_AuditFullQueryInfo auditfullquery
;/* [case(LSA_POLICY_INFO_AUDIT_FULL_QUERY)] */
294 struct lsa_DnsDomainInfo dns
;/* [case(LSA_POLICY_INFO_DNS)] */
295 struct lsa_DomainInfo l_account_domain
;/* [case(LSA_POLICY_INFO_L_ACCOUNT_DOMAIN)] */
296 }/* [switch_type(uint16)] */;
299 struct dom_sid2
*sid
;/* [unique] */
302 struct lsa_SidArray
{
303 uint32_t num_sids
;/* [range(0,1000)] */
304 struct lsa_SidPtr
*sids
;/* [unique,size_is(num_sids)] */
307 struct lsa_DomainList
{
309 struct lsa_DomainInfo
*domains
;/* [unique,size_is(count)] */
313 #ifndef USE_UINT_ENUMS
327 { __donnot_use_enum_lsa_SidType
=0x7FFFFFFF}
328 #define SID_NAME_USE_NONE ( 0 )
329 #define SID_NAME_USER ( 1 )
330 #define SID_NAME_DOM_GRP ( 2 )
331 #define SID_NAME_DOMAIN ( 3 )
332 #define SID_NAME_ALIAS ( 4 )
333 #define SID_NAME_WKN_GRP ( 5 )
334 #define SID_NAME_DELETED ( 6 )
335 #define SID_NAME_INVALID ( 7 )
336 #define SID_NAME_UNKNOWN ( 8 )
337 #define SID_NAME_COMPUTER ( 9 )
341 struct lsa_TranslatedSid
{
342 enum lsa_SidType sid_type
;
347 struct lsa_TransSidArray
{
348 uint32_t count
;/* [range(0,1000)] */
349 struct lsa_TranslatedSid
*sids
;/* [unique,size_is(count)] */
352 struct lsa_RefDomainList
{
353 uint32_t count
;/* [range(0,1000)] */
354 struct lsa_DomainInfo
*domains
;/* [unique,size_is(count)] */
358 enum lsa_LookupNamesLevel
359 #ifndef USE_UINT_ENUMS
361 LSA_LOOKUP_NAMES_ALL
=1,
362 LSA_LOOKUP_NAMES_DOMAINS_ONLY
=2,
363 LSA_LOOKUP_NAMES_PRIMARY_DOMAIN_ONLY
=3,
364 LSA_LOOKUP_NAMES_UPLEVEL_TRUSTS_ONLY
=4,
365 LSA_LOOKUP_NAMES_FOREST_TRUSTS_ONLY
=5,
366 LSA_LOOKUP_NAMES_UPLEVEL_TRUSTS_ONLY2
=6,
367 LSA_LOOKUP_NAMES_RODC_REFERRAL_TO_FULL_DC
=7
370 { __donnot_use_enum_lsa_LookupNamesLevel
=0x7FFFFFFF}
371 #define LSA_LOOKUP_NAMES_ALL ( 1 )
372 #define LSA_LOOKUP_NAMES_DOMAINS_ONLY ( 2 )
373 #define LSA_LOOKUP_NAMES_PRIMARY_DOMAIN_ONLY ( 3 )
374 #define LSA_LOOKUP_NAMES_UPLEVEL_TRUSTS_ONLY ( 4 )
375 #define LSA_LOOKUP_NAMES_FOREST_TRUSTS_ONLY ( 5 )
376 #define LSA_LOOKUP_NAMES_UPLEVEL_TRUSTS_ONLY2 ( 6 )
377 #define LSA_LOOKUP_NAMES_RODC_REFERRAL_TO_FULL_DC ( 7 )
381 struct lsa_TranslatedName
{
382 enum lsa_SidType sid_type
;
383 struct lsa_String name
;
387 struct lsa_TransNameArray
{
388 uint32_t count
;/* [range(0,1000)] */
389 struct lsa_TranslatedName
*names
;/* [unique,size_is(count)] */
392 struct lsa_LUIDAttribute
{
393 struct lsa_LUID luid
;
397 struct lsa_PrivilegeSet
{
398 uint32_t count
;/* [range(0,1000)] */
400 struct lsa_LUIDAttribute
*set
;/* [size_is(count)] */
403 /* bitmap lsa_SystemAccessModeFlags */
404 #define LSA_POLICY_MODE_INTERACTIVE ( 0x00000001 )
405 #define LSA_POLICY_MODE_NETWORK ( 0x00000002 )
406 #define LSA_POLICY_MODE_BATCH ( 0x00000004 )
407 #define LSA_POLICY_MODE_SERVICE ( 0x00000010 )
408 #define LSA_POLICY_MODE_PROXY ( 0x00000020 )
409 #define LSA_POLICY_MODE_DENY_INTERACTIVE ( 0x00000040 )
410 #define LSA_POLICY_MODE_DENY_NETWORK ( 0x00000080 )
411 #define LSA_POLICY_MODE_DENY_BATCH ( 0x00000100 )
412 #define LSA_POLICY_MODE_DENY_SERVICE ( 0x00000200 )
413 #define LSA_POLICY_MODE_REMOTE_INTERACTIVE ( 0x00000400 )
414 #define LSA_POLICY_MODE_DENY_REMOTE_INTERACTIVE ( 0x00000800 )
415 #define LSA_POLICY_MODE_ALL ( 0x00000FF7 )
416 #define LSA_POLICY_MODE_ALL_NT4 ( 0x00000037 )
418 struct lsa_DATA_BUF
{
421 uint8_t *data
;/* [unique,length_is(length),size_is(size)] */
422 }/* [flag(LIBNDR_PRINT_ARRAY_HEX)] */;
424 struct lsa_DATA_BUF2
{
425 uint32_t size
;/* [range(0,65536)] */
426 uint8_t *data
;/* [unique,size_is(size)] */
427 }/* [flag(LIBNDR_PRINT_ARRAY_HEX)] */;
429 enum lsa_TrustDomInfoEnum
430 #ifndef USE_UINT_ENUMS
432 LSA_TRUSTED_DOMAIN_INFO_NAME
=1,
433 LSA_TRUSTED_DOMAIN_INFO_CONTROLLERS
=2,
434 LSA_TRUSTED_DOMAIN_INFO_POSIX_OFFSET
=3,
435 LSA_TRUSTED_DOMAIN_INFO_PASSWORD
=4,
436 LSA_TRUSTED_DOMAIN_INFO_BASIC
=5,
437 LSA_TRUSTED_DOMAIN_INFO_INFO_EX
=6,
438 LSA_TRUSTED_DOMAIN_INFO_AUTH_INFO
=7,
439 LSA_TRUSTED_DOMAIN_INFO_FULL_INFO
=8,
440 LSA_TRUSTED_DOMAIN_INFO_AUTH_INFO_INTERNAL
=9,
441 LSA_TRUSTED_DOMAIN_INFO_FULL_INFO_INTERNAL
=10,
442 LSA_TRUSTED_DOMAIN_INFO_INFO_EX2_INTERNAL
=11,
443 LSA_TRUSTED_DOMAIN_INFO_FULL_INFO_2_INTERNAL
=12,
444 LSA_TRUSTED_DOMAIN_SUPPORTED_ENCRTYPION_TYPES
=13
447 { __donnot_use_enum_lsa_TrustDomInfoEnum
=0x7FFFFFFF}
448 #define LSA_TRUSTED_DOMAIN_INFO_NAME ( 1 )
449 #define LSA_TRUSTED_DOMAIN_INFO_CONTROLLERS ( 2 )
450 #define LSA_TRUSTED_DOMAIN_INFO_POSIX_OFFSET ( 3 )
451 #define LSA_TRUSTED_DOMAIN_INFO_PASSWORD ( 4 )
452 #define LSA_TRUSTED_DOMAIN_INFO_BASIC ( 5 )
453 #define LSA_TRUSTED_DOMAIN_INFO_INFO_EX ( 6 )
454 #define LSA_TRUSTED_DOMAIN_INFO_AUTH_INFO ( 7 )
455 #define LSA_TRUSTED_DOMAIN_INFO_FULL_INFO ( 8 )
456 #define LSA_TRUSTED_DOMAIN_INFO_AUTH_INFO_INTERNAL ( 9 )
457 #define LSA_TRUSTED_DOMAIN_INFO_FULL_INFO_INTERNAL ( 10 )
458 #define LSA_TRUSTED_DOMAIN_INFO_INFO_EX2_INTERNAL ( 11 )
459 #define LSA_TRUSTED_DOMAIN_INFO_FULL_INFO_2_INTERNAL ( 12 )
460 #define LSA_TRUSTED_DOMAIN_SUPPORTED_ENCRTYPION_TYPES ( 13 )
464 /* bitmap lsa_TrustDirection */
465 #define LSA_TRUST_DIRECTION_INBOUND ( 0x00000001 )
466 #define LSA_TRUST_DIRECTION_OUTBOUND ( 0x00000002 )
469 #ifndef USE_UINT_ENUMS
471 LSA_TRUST_TYPE_DOWNLEVEL
=0x00000001,
472 LSA_TRUST_TYPE_UPLEVEL
=0x00000002,
473 LSA_TRUST_TYPE_MIT
=0x00000003
476 { __donnot_use_enum_lsa_TrustType
=0x7FFFFFFF}
477 #define LSA_TRUST_TYPE_DOWNLEVEL ( 0x00000001 )
478 #define LSA_TRUST_TYPE_UPLEVEL ( 0x00000002 )
479 #define LSA_TRUST_TYPE_MIT ( 0x00000003 )
483 /* bitmap lsa_TrustAttributes */
484 #define LSA_TRUST_ATTRIBUTE_NON_TRANSITIVE ( 0x00000001 )
485 #define LSA_TRUST_ATTRIBUTE_UPLEVEL_ONLY ( 0x00000002 )
486 #define LSA_TRUST_ATTRIBUTE_QUARANTINED_DOMAIN ( 0x00000004 )
487 #define LSA_TRUST_ATTRIBUTE_FOREST_TRANSITIVE ( 0x00000008 )
488 #define LSA_TRUST_ATTRIBUTE_CROSS_ORGANIZATION ( 0x00000010 )
489 #define LSA_TRUST_ATTRIBUTE_WITHIN_FOREST ( 0x00000020 )
490 #define LSA_TRUST_ATTRIBUTE_TREAT_AS_EXTERNAL ( 0x00000040 )
491 #define LSA_TRUST_ATTRIBUTE_USES_RC4_ENCRYPTION ( 0x00000080 )
493 struct lsa_TrustDomainInfoName
{
494 struct lsa_StringLarge netbios_name
;
497 struct lsa_TrustDomainInfoControllers
{
499 struct lsa_StringLarge
*netbios_names
;/* [unique,size_is(entries)] */
502 struct lsa_TrustDomainInfoPosixOffset
{
503 uint32_t posix_offset
;
506 struct lsa_TrustDomainInfoPassword
{
507 struct lsa_DATA_BUF
*password
;/* [unique] */
508 struct lsa_DATA_BUF
*old_password
;/* [unique] */
511 struct lsa_TrustDomainInfoBasic
{
512 struct lsa_String netbios_name
;
513 struct dom_sid2
*sid
;/* [unique] */
516 struct lsa_TrustDomainInfoInfoEx
{
517 struct lsa_StringLarge domain_name
;
518 struct lsa_StringLarge netbios_name
;
519 struct dom_sid2
*sid
;/* [unique] */
520 uint32_t trust_direction
;
521 enum lsa_TrustType trust_type
;
522 uint32_t trust_attributes
;
525 enum lsa_TrustAuthType
526 #ifndef USE_UINT_ENUMS
528 TRUST_AUTH_TYPE_NONE
=0,
529 TRUST_AUTH_TYPE_NT4OWF
=1,
530 TRUST_AUTH_TYPE_CLEAR
=2,
531 TRUST_AUTH_TYPE_VERSION
=3
534 { __donnot_use_enum_lsa_TrustAuthType
=0x7FFFFFFF}
535 #define TRUST_AUTH_TYPE_NONE ( 0 )
536 #define TRUST_AUTH_TYPE_NT4OWF ( 1 )
537 #define TRUST_AUTH_TYPE_CLEAR ( 2 )
538 #define TRUST_AUTH_TYPE_VERSION ( 3 )
542 struct lsa_TrustDomainInfoBuffer
{
543 NTTIME last_update_time
;
544 enum lsa_TrustAuthType AuthType
;
545 struct lsa_DATA_BUF2 data
;
548 struct lsa_TrustDomainInfoAuthInfo
{
549 uint32_t incoming_count
;
550 struct lsa_TrustDomainInfoBuffer
*incoming_current_auth_info
;/* [unique] */
551 struct lsa_TrustDomainInfoBuffer
*incoming_previous_auth_info
;/* [unique] */
552 uint32_t outgoing_count
;
553 struct lsa_TrustDomainInfoBuffer
*outgoing_current_auth_info
;/* [unique] */
554 struct lsa_TrustDomainInfoBuffer
*outgoing_previous_auth_info
;/* [unique] */
557 struct lsa_TrustDomainInfoFullInfo
{
558 struct lsa_TrustDomainInfoInfoEx info_ex
;
559 struct lsa_TrustDomainInfoPosixOffset posix_offset
;
560 struct lsa_TrustDomainInfoAuthInfo auth_info
;
563 struct lsa_TrustDomainInfoAuthInfoInternal
{
564 struct lsa_DATA_BUF2 auth_blob
;
567 struct lsa_TrustDomainInfoFullInfoInternal
{
568 struct lsa_TrustDomainInfoInfoEx info_ex
;
569 struct lsa_TrustDomainInfoPosixOffset posix_offset
;
570 struct lsa_TrustDomainInfoAuthInfoInternal auth_info
;
573 struct lsa_TrustDomainInfoInfoEx2Internal
{
574 struct lsa_TrustDomainInfoInfoEx info_ex
;
575 uint32_t forest_trust_length
;
576 uint8_t *forest_trust_data
;/* [unique,size_is(forest_trust_length)] */
579 struct lsa_TrustDomainInfoFullInfo2Internal
{
580 struct lsa_TrustDomainInfoInfoEx2Internal info
;
581 struct lsa_TrustDomainInfoPosixOffset posix_offset
;
582 struct lsa_TrustDomainInfoAuthInfo auth_info
;
585 struct lsa_TrustDomainInfoSupportedEncTypes
{
589 union lsa_TrustedDomainInfo
{
590 struct lsa_TrustDomainInfoName name
;/* [case(LSA_TRUSTED_DOMAIN_INFO_NAME)] */
591 struct lsa_TrustDomainInfoControllers controllers
;/* [case(LSA_TRUSTED_DOMAIN_INFO_CONTROLLERS)] */
592 struct lsa_TrustDomainInfoPosixOffset posix_offset
;/* [case(LSA_TRUSTED_DOMAIN_INFO_POSIX_OFFSET)] */
593 struct lsa_TrustDomainInfoPassword password
;/* [case(LSA_TRUSTED_DOMAIN_INFO_PASSWORD)] */
594 struct lsa_TrustDomainInfoBasic info_basic
;/* [case(LSA_TRUSTED_DOMAIN_INFO_BASIC)] */
595 struct lsa_TrustDomainInfoInfoEx info_ex
;/* [case(LSA_TRUSTED_DOMAIN_INFO_INFO_EX)] */
596 struct lsa_TrustDomainInfoAuthInfo auth_info
;/* [case(LSA_TRUSTED_DOMAIN_INFO_AUTH_INFO)] */
597 struct lsa_TrustDomainInfoFullInfo full_info
;/* [case(LSA_TRUSTED_DOMAIN_INFO_FULL_INFO)] */
598 struct lsa_TrustDomainInfoAuthInfoInternal auth_info_internal
;/* [case(LSA_TRUSTED_DOMAIN_INFO_AUTH_INFO_INTERNAL)] */
599 struct lsa_TrustDomainInfoFullInfoInternal full_info_internal
;/* [case(LSA_TRUSTED_DOMAIN_INFO_FULL_INFO_INTERNAL)] */
600 struct lsa_TrustDomainInfoInfoEx2Internal info_ex2_internal
;/* [case(LSA_TRUSTED_DOMAIN_INFO_INFO_EX2_INTERNAL)] */
601 struct lsa_TrustDomainInfoFullInfo2Internal full_info2_internal
;/* [case(LSA_TRUSTED_DOMAIN_INFO_FULL_INFO_2_INTERNAL)] */
602 struct lsa_TrustDomainInfoSupportedEncTypes enc_types
;/* [case(LSA_TRUSTED_DOMAIN_SUPPORTED_ENCRTYPION_TYPES)] */
603 }/* [switch_type(lsa_TrustDomInfoEnum)] */;
605 struct lsa_DATA_BUF_PTR
{
606 struct lsa_DATA_BUF
*buf
;/* [unique] */
609 struct lsa_RightAttribute
{
610 const char *name
;/* [unique,charset(UTF16)] */
613 struct lsa_RightSet
{
614 uint32_t count
;/* [range(0,256)] */
615 struct lsa_StringLarge
*names
;/* [unique,size_is(count)] */
618 struct lsa_DomainListEx
{
620 struct lsa_TrustDomainInfoInfoEx
*domains
;/* [unique,size_is(count)] */
623 struct lsa_DomainInfoKerberos
{
624 uint32_t enforce_restrictions
;
625 uint64_t service_tkt_lifetime
;
626 uint64_t user_tkt_lifetime
;
627 uint64_t user_tkt_renewaltime
;
632 struct lsa_DomainInfoEfs
{
634 uint8_t *efs_blob
;/* [unique,size_is(blob_size)] */
637 enum lsa_DomainInfoEnum
638 #ifndef USE_UINT_ENUMS
640 LSA_DOMAIN_INFO_POLICY_EFS
=2,
641 LSA_DOMAIN_INFO_POLICY_KERBEROS
=3
644 { __donnot_use_enum_lsa_DomainInfoEnum
=0x7FFFFFFF}
645 #define LSA_DOMAIN_INFO_POLICY_EFS ( 2 )
646 #define LSA_DOMAIN_INFO_POLICY_KERBEROS ( 3 )
650 union lsa_DomainInformationPolicy
{
651 struct lsa_DomainInfoEfs efs_info
;/* [case(LSA_DOMAIN_INFO_POLICY_EFS)] */
652 struct lsa_DomainInfoKerberos kerberos_info
;/* [case(LSA_DOMAIN_INFO_POLICY_KERBEROS)] */
653 }/* [switch_type(uint16)] */;
655 struct lsa_TranslatedName2
{
656 enum lsa_SidType sid_type
;
657 struct lsa_String name
;
662 struct lsa_TransNameArray2
{
663 uint32_t count
;/* [range(0,1000)] */
664 struct lsa_TranslatedName2
*names
;/* [unique,size_is(count)] */
667 struct lsa_TranslatedSid2
{
668 enum lsa_SidType sid_type
;
674 struct lsa_TransSidArray2
{
675 uint32_t count
;/* [range(0,1000)] */
676 struct lsa_TranslatedSid2
*sids
;/* [unique,size_is(count)] */
679 struct lsa_TranslatedSid3
{
680 enum lsa_SidType sid_type
;
681 struct dom_sid2
*sid
;/* [unique] */
686 struct lsa_TransSidArray3
{
687 uint32_t count
;/* [range(0,1000)] */
688 struct lsa_TranslatedSid3
*sids
;/* [unique,size_is(count)] */
691 struct lsa_ForestTrustBinaryData
{
692 uint32_t length
;/* [range(0,131072)] */
693 uint8_t *data
;/* [unique,size_is(length)] */
696 struct lsa_ForestTrustDomainInfo
{
697 struct dom_sid2
*domain_sid
;/* [unique] */
698 struct lsa_StringLarge dns_domain_name
;
699 struct lsa_StringLarge netbios_domain_name
;
702 union lsa_ForestTrustData
{
703 struct lsa_String top_level_name
;/* [case(LSA_FOREST_TRUST_TOP_LEVEL_NAME)] */
704 struct lsa_StringLarge top_level_name_ex
;/* [case(LSA_FOREST_TRUST_TOP_LEVEL_NAME_EX)] */
705 struct lsa_ForestTrustDomainInfo domain_info
;/* [case(LSA_FOREST_TRUST_DOMAIN_INFO)] */
706 struct lsa_ForestTrustBinaryData data
;/* [default] */
707 }/* [switch_type(uint32)] */;
709 enum lsa_ForestTrustRecordType
710 #ifndef USE_UINT_ENUMS
712 LSA_FOREST_TRUST_TOP_LEVEL_NAME
=0,
713 LSA_FOREST_TRUST_TOP_LEVEL_NAME_EX
=1,
714 LSA_FOREST_TRUST_DOMAIN_INFO
=2,
715 LSA_FOREST_TRUST_RECORD_TYPE_LAST
=3
718 { __donnot_use_enum_lsa_ForestTrustRecordType
=0x7FFFFFFF}
719 #define LSA_FOREST_TRUST_TOP_LEVEL_NAME ( 0 )
720 #define LSA_FOREST_TRUST_TOP_LEVEL_NAME_EX ( 1 )
721 #define LSA_FOREST_TRUST_DOMAIN_INFO ( 2 )
722 #define LSA_FOREST_TRUST_RECORD_TYPE_LAST ( 3 )
726 struct lsa_ForestTrustRecord
{
728 enum lsa_ForestTrustRecordType level
;
730 union lsa_ForestTrustData forest_trust_data
;/* [switch_is(level)] */
733 struct lsa_ForestTrustInformation
{
734 uint32_t count
;/* [range(0,4000)] */
735 struct lsa_ForestTrustRecord
**entries
;/* [unique,size_is(count)] */
741 struct policy_handle
*handle
;/* [ref] */
745 struct policy_handle
*handle
;/* [ref] */
754 struct policy_handle
*handle
;/* [ref] */
764 struct lsa_EnumPrivs
{
766 struct policy_handle
*handle
;/* [ref] */
768 uint32_t *resume_handle
;/* [ref] */
772 struct lsa_PrivArray
*privs
;/* [ref] */
773 uint32_t *resume_handle
;/* [ref] */
780 struct lsa_QuerySecurity
{
782 struct policy_handle
*handle
;/* [ref] */
787 struct sec_desc_buf
**sdbuf
;/* [ref] */
794 struct lsa_SetSecObj
{
796 struct policy_handle
*handle
;/* [ref] */
798 struct sec_desc_buf
*sdbuf
;/* [ref] */
808 struct lsa_ChangePassword
{
816 struct lsa_OpenPolicy
{
818 uint16_t *system_name
;/* [unique] */
819 struct lsa_ObjectAttribute
*attr
;/* [ref] */
820 uint32_t access_mask
;
824 struct policy_handle
*handle
;/* [ref] */
831 struct lsa_QueryInfoPolicy
{
833 struct policy_handle
*handle
;/* [ref] */
834 enum lsa_PolicyInfo level
;
838 union lsa_PolicyInformation
**info
;/* [ref,switch_is(level)] */
845 struct lsa_SetInfoPolicy
{
847 struct policy_handle
*handle
;/* [ref] */
848 enum lsa_PolicyInfo level
;
849 union lsa_PolicyInformation
*info
;/* [ref,switch_is(level)] */
859 struct lsa_ClearAuditLog
{
867 struct lsa_CreateAccount
{
869 struct policy_handle
*handle
;/* [ref] */
870 struct dom_sid2
*sid
;/* [ref] */
871 uint32_t access_mask
;
875 struct policy_handle
*acct_handle
;/* [ref] */
882 struct lsa_EnumAccounts
{
884 struct policy_handle
*handle
;/* [ref] */
885 uint32_t num_entries
;/* [range(0,8192)] */
886 uint32_t *resume_handle
;/* [ref] */
890 struct lsa_SidArray
*sids
;/* [ref] */
891 uint32_t *resume_handle
;/* [ref] */
898 struct lsa_CreateTrustedDomain
{
900 struct policy_handle
*policy_handle
;/* [ref] */
901 struct lsa_DomainInfo
*info
;/* [ref] */
902 uint32_t access_mask
;
906 struct policy_handle
*trustdom_handle
;/* [ref] */
913 struct lsa_EnumTrustDom
{
915 struct policy_handle
*handle
;/* [ref] */
917 uint32_t *resume_handle
;/* [ref] */
921 struct lsa_DomainList
*domains
;/* [ref] */
922 uint32_t *resume_handle
;/* [ref] */
929 struct lsa_LookupNames
{
931 struct policy_handle
*handle
;/* [ref] */
932 uint32_t num_names
;/* [range(0,1000)] */
933 struct lsa_String
*names
;/* [size_is(num_names)] */
934 enum lsa_LookupNamesLevel level
;
935 struct lsa_TransSidArray
*sids
;/* [ref] */
936 uint32_t *count
;/* [ref] */
940 struct lsa_RefDomainList
**domains
;/* [ref] */
941 struct lsa_TransSidArray
*sids
;/* [ref] */
942 uint32_t *count
;/* [ref] */
949 struct lsa_LookupSids
{
951 struct policy_handle
*handle
;/* [ref] */
952 struct lsa_SidArray
*sids
;/* [ref] */
954 struct lsa_TransNameArray
*names
;/* [ref] */
955 uint32_t *count
;/* [ref] */
959 struct lsa_RefDomainList
**domains
;/* [ref] */
960 struct lsa_TransNameArray
*names
;/* [ref] */
961 uint32_t *count
;/* [ref] */
968 struct lsa_CreateSecret
{
970 struct policy_handle
*handle
;/* [ref] */
971 struct lsa_String name
;
972 uint32_t access_mask
;
976 struct policy_handle
*sec_handle
;/* [ref] */
983 struct lsa_OpenAccount
{
985 struct policy_handle
*handle
;/* [ref] */
986 struct dom_sid2
*sid
;/* [ref] */
987 uint32_t access_mask
;
991 struct policy_handle
*acct_handle
;/* [ref] */
998 struct lsa_EnumPrivsAccount
{
1000 struct policy_handle
*handle
;/* [ref] */
1004 struct lsa_PrivilegeSet
**privs
;/* [ref] */
1011 struct lsa_AddPrivilegesToAccount
{
1013 struct policy_handle
*handle
;/* [ref] */
1014 struct lsa_PrivilegeSet
*privs
;/* [ref] */
1024 struct lsa_RemovePrivilegesFromAccount
{
1026 struct policy_handle
*handle
;/* [ref] */
1028 struct lsa_PrivilegeSet
*privs
;/* [unique] */
1038 struct lsa_GetQuotasForAccount
{
1046 struct lsa_SetQuotasForAccount
{
1054 struct lsa_GetSystemAccessAccount
{
1056 struct policy_handle
*handle
;/* [ref] */
1060 uint32_t *access_mask
;/* [ref] */
1067 struct lsa_SetSystemAccessAccount
{
1069 struct policy_handle
*handle
;/* [ref] */
1070 uint32_t access_mask
;
1080 struct lsa_OpenTrustedDomain
{
1082 struct policy_handle
*handle
;/* [ref] */
1083 struct dom_sid2
*sid
;/* [ref] */
1084 uint32_t access_mask
;
1088 struct policy_handle
*trustdom_handle
;/* [ref] */
1095 struct lsa_QueryTrustedDomainInfo
{
1097 struct policy_handle
*trustdom_handle
;/* [ref] */
1098 enum lsa_TrustDomInfoEnum level
;
1102 union lsa_TrustedDomainInfo
**info
;/* [ref,switch_is(level)] */
1109 struct lsa_SetInformationTrustedDomain
{
1111 struct policy_handle
*trustdom_handle
;/* [ref] */
1112 enum lsa_TrustDomInfoEnum level
;
1113 union lsa_TrustedDomainInfo
*info
;/* [ref,switch_is(level)] */
1123 struct lsa_OpenSecret
{
1125 struct policy_handle
*handle
;/* [ref] */
1126 struct lsa_String name
;
1127 uint32_t access_mask
;
1131 struct policy_handle
*sec_handle
;/* [ref] */
1138 struct lsa_SetSecret
{
1140 struct policy_handle
*sec_handle
;/* [ref] */
1141 struct lsa_DATA_BUF
*new_val
;/* [unique] */
1142 struct lsa_DATA_BUF
*old_val
;/* [unique] */
1152 struct lsa_QuerySecret
{
1154 struct policy_handle
*sec_handle
;/* [ref] */
1155 struct lsa_DATA_BUF_PTR
*new_val
;/* [unique] */
1156 NTTIME
*new_mtime
;/* [unique] */
1157 struct lsa_DATA_BUF_PTR
*old_val
;/* [unique] */
1158 NTTIME
*old_mtime
;/* [unique] */
1162 struct lsa_DATA_BUF_PTR
*new_val
;/* [unique] */
1163 NTTIME
*new_mtime
;/* [unique] */
1164 struct lsa_DATA_BUF_PTR
*old_val
;/* [unique] */
1165 NTTIME
*old_mtime
;/* [unique] */
1172 struct lsa_LookupPrivValue
{
1174 struct policy_handle
*handle
;/* [ref] */
1175 struct lsa_String
*name
;/* [ref] */
1179 struct lsa_LUID
*luid
;/* [ref] */
1186 struct lsa_LookupPrivName
{
1188 struct policy_handle
*handle
;/* [ref] */
1189 struct lsa_LUID
*luid
;/* [ref] */
1193 struct lsa_StringLarge
**name
;/* [ref] */
1200 struct lsa_LookupPrivDisplayName
{
1202 struct policy_handle
*handle
;/* [ref] */
1203 struct lsa_String
*name
;/* [ref] */
1204 uint16_t language_id
;
1205 uint16_t language_id_sys
;
1209 struct lsa_StringLarge
**disp_name
;/* [ref] */
1210 uint16_t *returned_language_id
;/* [ref] */
1217 struct lsa_DeleteObject
{
1219 struct policy_handle
*handle
;/* [ref] */
1223 struct policy_handle
*handle
;/* [ref] */
1230 struct lsa_EnumAccountsWithUserRight
{
1232 struct policy_handle
*handle
;/* [ref] */
1233 struct lsa_String
*name
;/* [unique] */
1237 struct lsa_SidArray
*sids
;/* [ref] */
1244 struct lsa_EnumAccountRights
{
1246 struct policy_handle
*handle
;/* [ref] */
1247 struct dom_sid2
*sid
;/* [ref] */
1251 struct lsa_RightSet
*rights
;/* [ref] */
1258 struct lsa_AddAccountRights
{
1260 struct policy_handle
*handle
;/* [ref] */
1261 struct dom_sid2
*sid
;/* [ref] */
1262 struct lsa_RightSet
*rights
;/* [ref] */
1272 struct lsa_RemoveAccountRights
{
1274 struct policy_handle
*handle
;/* [ref] */
1275 struct dom_sid2
*sid
;/* [ref] */
1277 struct lsa_RightSet
*rights
;/* [ref] */
1287 struct lsa_QueryTrustedDomainInfoBySid
{
1289 struct policy_handle
*handle
;/* [ref] */
1290 struct dom_sid2
*dom_sid
;/* [ref] */
1291 enum lsa_TrustDomInfoEnum level
;
1295 union lsa_TrustedDomainInfo
**info
;/* [ref,switch_is(level)] */
1302 struct lsa_SetTrustedDomainInfo
{
1304 struct policy_handle
*handle
;/* [ref] */
1305 struct dom_sid2
*dom_sid
;/* [ref] */
1306 enum lsa_TrustDomInfoEnum level
;
1307 union lsa_TrustedDomainInfo
*info
;/* [ref,switch_is(level)] */
1317 struct lsa_DeleteTrustedDomain
{
1319 struct policy_handle
*handle
;/* [ref] */
1320 struct dom_sid2
*dom_sid
;/* [ref] */
1330 struct lsa_StorePrivateData
{
1338 struct lsa_RetrievePrivateData
{
1346 struct lsa_OpenPolicy2
{
1348 const char *system_name
;/* [unique,charset(UTF16)] */
1349 struct lsa_ObjectAttribute
*attr
;/* [ref] */
1350 uint32_t access_mask
;
1354 struct policy_handle
*handle
;/* [ref] */
1361 struct lsa_GetUserName
{
1363 const char *system_name
;/* [unique,charset(UTF16)] */
1364 struct lsa_String
**account_name
;/* [ref] */
1365 struct lsa_String
**authority_name
;/* [unique] */
1369 struct lsa_String
**account_name
;/* [ref] */
1370 struct lsa_String
**authority_name
;/* [unique] */
1377 struct lsa_QueryInfoPolicy2
{
1379 struct policy_handle
*handle
;/* [ref] */
1380 enum lsa_PolicyInfo level
;
1384 union lsa_PolicyInformation
**info
;/* [ref,switch_is(level)] */
1391 struct lsa_SetInfoPolicy2
{
1393 struct policy_handle
*handle
;/* [ref] */
1394 enum lsa_PolicyInfo level
;
1395 union lsa_PolicyInformation
*info
;/* [ref,switch_is(level)] */
1405 struct lsa_QueryTrustedDomainInfoByName
{
1407 struct policy_handle
*handle
;/* [ref] */
1408 struct lsa_String
*trusted_domain
;/* [ref] */
1409 enum lsa_TrustDomInfoEnum level
;
1413 union lsa_TrustedDomainInfo
**info
;/* [ref,switch_is(level)] */
1420 struct lsa_SetTrustedDomainInfoByName
{
1422 struct policy_handle
*handle
;/* [ref] */
1423 struct lsa_String trusted_domain
;
1424 enum lsa_TrustDomInfoEnum level
;
1425 union lsa_TrustedDomainInfo
*info
;/* [unique,switch_is(level)] */
1435 struct lsa_EnumTrustedDomainsEx
{
1437 struct policy_handle
*handle
;/* [ref] */
1439 uint32_t *resume_handle
;/* [ref] */
1443 struct lsa_DomainListEx
*domains
;/* [ref] */
1444 uint32_t *resume_handle
;/* [ref] */
1451 struct lsa_CreateTrustedDomainEx
{
1453 struct policy_handle
*policy_handle
;/* [ref] */
1454 struct lsa_TrustDomainInfoInfoEx
*info
;/* [ref] */
1455 struct lsa_TrustDomainInfoAuthInfoInternal
*auth_info
;/* [ref] */
1456 uint32_t access_mask
;
1460 struct policy_handle
*trustdom_handle
;/* [ref] */
1467 struct lsa_CloseTrustedDomainEx
{
1469 struct policy_handle
*handle
;/* [ref] */
1473 struct policy_handle
*handle
;/* [ref] */
1480 struct lsa_QueryDomainInformationPolicy
{
1482 struct policy_handle
*handle
;/* [ref] */
1487 union lsa_DomainInformationPolicy
**info
;/* [ref,switch_is(level)] */
1494 struct lsa_SetDomainInformationPolicy
{
1496 struct policy_handle
*handle
;/* [ref] */
1498 union lsa_DomainInformationPolicy
*info
;/* [unique,switch_is(level)] */
1508 struct lsa_OpenTrustedDomainByName
{
1510 struct policy_handle
*handle
;/* [ref] */
1511 struct lsa_String name
;
1512 uint32_t access_mask
;
1516 struct policy_handle
*trustdom_handle
;/* [ref] */
1523 struct lsa_TestCall
{
1531 struct lsa_LookupSids2
{
1533 struct policy_handle
*handle
;/* [ref] */
1534 struct lsa_SidArray
*sids
;/* [ref] */
1538 struct lsa_TransNameArray2
*names
;/* [ref] */
1539 uint32_t *count
;/* [ref] */
1543 struct lsa_RefDomainList
**domains
;/* [ref] */
1544 struct lsa_TransNameArray2
*names
;/* [ref] */
1545 uint32_t *count
;/* [ref] */
1552 struct lsa_LookupNames2
{
1554 struct policy_handle
*handle
;/* [ref] */
1555 uint32_t num_names
;/* [range(0,1000)] */
1556 struct lsa_String
*names
;/* [size_is(num_names)] */
1557 enum lsa_LookupNamesLevel level
;
1558 uint32_t lookup_options
;
1559 uint32_t client_revision
;
1560 struct lsa_TransSidArray2
*sids
;/* [ref] */
1561 uint32_t *count
;/* [ref] */
1565 struct lsa_RefDomainList
**domains
;/* [ref] */
1566 struct lsa_TransSidArray2
*sids
;/* [ref] */
1567 uint32_t *count
;/* [ref] */
1574 struct lsa_CreateTrustedDomainEx2
{
1576 struct policy_handle
*policy_handle
;/* [ref] */
1577 struct lsa_TrustDomainInfoInfoEx
*info
;/* [ref] */
1578 struct lsa_TrustDomainInfoAuthInfoInternal
*auth_info
;/* [ref] */
1579 uint32_t access_mask
;
1583 struct policy_handle
*trustdom_handle
;/* [ref] */
1590 struct lsa_CREDRWRITE
{
1598 struct lsa_CREDRREAD
{
1606 struct lsa_CREDRENUMERATE
{
1614 struct lsa_CREDRWRITEDOMAINCREDENTIALS
{
1622 struct lsa_CREDRREADDOMAINCREDENTIALS
{
1630 struct lsa_CREDRDELETE
{
1638 struct lsa_CREDRGETTARGETINFO
{
1646 struct lsa_CREDRPROFILELOADED
{
1654 struct lsa_LookupNames3
{
1656 struct policy_handle
*handle
;/* [ref] */
1657 uint32_t num_names
;/* [range(0,1000)] */
1658 struct lsa_String
*names
;/* [size_is(num_names)] */
1659 enum lsa_LookupNamesLevel level
;
1660 uint32_t lookup_options
;
1661 uint32_t client_revision
;
1662 struct lsa_TransSidArray3
*sids
;/* [ref] */
1663 uint32_t *count
;/* [ref] */
1667 struct lsa_RefDomainList
**domains
;/* [ref] */
1668 struct lsa_TransSidArray3
*sids
;/* [ref] */
1669 uint32_t *count
;/* [ref] */
1676 struct lsa_CREDRGETSESSIONTYPES
{
1684 struct lsa_LSARREGISTERAUDITEVENT
{
1692 struct lsa_LSARGENAUDITEVENT
{
1700 struct lsa_LSARUNREGISTERAUDITEVENT
{
1708 struct lsa_lsaRQueryForestTrustInformation
{
1710 struct policy_handle
*handle
;/* [ref] */
1711 struct lsa_String
*trusted_domain_name
;/* [ref] */
1716 struct lsa_ForestTrustInformation
**forest_trust_info
;/* [ref] */
1723 struct lsa_LSARSETFORESTTRUSTINFORMATION
{
1731 struct lsa_CREDRRENAME
{
1739 struct lsa_LookupSids3
{
1741 struct lsa_SidArray
*sids
;/* [ref] */
1745 struct lsa_TransNameArray2
*names
;/* [ref] */
1746 uint32_t *count
;/* [ref] */
1750 struct lsa_RefDomainList
**domains
;/* [ref] */
1751 struct lsa_TransNameArray2
*names
;/* [ref] */
1752 uint32_t *count
;/* [ref] */
1759 struct lsa_LookupNames4
{
1761 uint32_t num_names
;/* [range(0,1000)] */
1762 struct lsa_String
*names
;/* [size_is(num_names)] */
1763 enum lsa_LookupNamesLevel level
;
1764 uint32_t lookup_options
;
1765 uint32_t client_revision
;
1766 struct lsa_TransSidArray3
*sids
;/* [ref] */
1767 uint32_t *count
;/* [ref] */
1771 struct lsa_RefDomainList
**domains
;/* [ref] */
1772 struct lsa_TransSidArray3
*sids
;/* [ref] */
1773 uint32_t *count
;/* [ref] */
1780 struct lsa_LSAROPENPOLICYSCE
{
1788 struct lsa_LSARADTREGISTERSECURITYEVENTSOURCE
{
1796 struct lsa_LSARADTUNREGISTERSECURITYEVENTSOURCE
{
1804 struct lsa_LSARADTREPORTSECURITYEVENT
{
1811 #endif /* _HEADER_lsarpc */