Changeset 740 for vendor/current/librpc/idl/lsa.idl
- Timestamp:
- Nov 14, 2012, 12:59:34 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
vendor/current/librpc/idl/lsa.idl
r414 r740 114 114 /* Function: 0x06 */ 115 115 typedef struct { 116 uint32 len; /* ignored */116 uint3264 len; /* ignored */ 117 117 uint16 impersonation_level; 118 118 uint8 context_mode; … … 121 121 122 122 typedef struct { 123 uint32 len; /* ignored */123 uint3264 len; /* ignored */ 124 124 uint8 *root_dir; 125 125 [string,charset(UTF16)] uint16 *object_name; … … 520 520 521 521 const int LSA_REF_DOMAIN_LIST_MULTIPLIER = 32; 522 typedef struct {522 typedef [public] struct { 523 523 [range(0,1000)] uint32 count; 524 524 [size_is(count)] lsa_DomainInfo *domains; … … 534 534 */ 535 535 536 typedef enum {536 typedef [public] enum { 537 537 LSA_LOOKUP_NAMES_ALL = 1, 538 538 LSA_LOOKUP_NAMES_DOMAINS_ONLY = 2, … … 564 564 } lsa_TranslatedName; 565 565 566 typedef struct {566 typedef [public] struct { 567 567 [range(0,20480)] uint32 count; 568 568 [size_is(count)] lsa_TranslatedName *names; … … 640 640 [todo] NTSTATUS lsa_SetQuotasForAccount(); 641 641 642 typedef [bitmap32bit] bitmap {643 LSA_POLICY_MODE_INTERACTIVE = 0x00000001,644 LSA_POLICY_MODE_NETWORK = 0x00000002,645 LSA_POLICY_MODE_BATCH = 0x00000004,646 LSA_POLICY_MODE_SERVICE = 0x00000010,647 LSA_POLICY_MODE_PROXY = 0x00000020,648 LSA_POLICY_MODE_DENY_INTERACTIVE = 0x00000040,649 LSA_POLICY_MODE_DENY_NETWORK = 0x00000080,650 LSA_POLICY_MODE_DENY_BATCH = 0x00000100,651 LSA_POLICY_MODE_DENY_SERVICE = 0x00000200,652 LSA_POLICY_MODE_REMOTE_INTERACTIVE = 0x00000400,653 LSA_POLICY_MODE_DENY_REMOTE_INTERACTIVE = 0x00000800,654 LSA_POLICY_MODE_ALL = 0x00000FF7,655 LSA_POLICY_MODE_ALL_NT4 = 0x00000037656 } lsa_SystemAccessModeFlags;657 658 642 /* Function: 0x17 */ 659 643 NTSTATUS lsa_GetSystemAccessAccount( … … 677 661 678 662 typedef [flag(NDR_PAHEX)] struct { 679 uint32 length;680 uint32 size;663 uint3264 length; 664 uint3264 size; 681 665 [size_is(size),length_is(length)] uint8 *data; 682 666 } lsa_DATA_BUF; … … 771 755 } lsa_TrustDomainInfoBuffer; 772 756 773 typedef struct {757 typedef [public] struct { 774 758 uint32 incoming_count; 775 759 lsa_TrustDomainInfoBuffer *incoming_current_auth_info; … … 1041 1025 /**********************/ 1042 1026 /* Function 0x31 */ 1043 NTSTATUS lsa_SetTrustedDomainInfoByName(1027 [public] NTSTATUS lsa_SetTrustedDomainInfoByName( 1044 1028 [in] policy_handle *handle, 1045 [in ] lsa_Stringtrusted_domain,1029 [in,ref] lsa_String *trusted_domain, 1046 1030 [in] lsa_TrustDomInfoEnum level, 1047 [in, unique,switch_is(level)] lsa_TrustedDomainInfo *info1031 [in,ref,switch_is(level)] lsa_TrustedDomainInfo *info 1048 1032 ); 1049 1033 … … 1070 1054 [in] lsa_TrustDomainInfoInfoEx *info, 1071 1055 [in] lsa_TrustDomainInfoAuthInfoInternal *auth_info, 1072 [in] uint32access_mask,1056 [in] lsa_TrustedAccessMask access_mask, 1073 1057 [out] policy_handle *trustdom_handle 1074 1058 ); … … 1081 1065 1082 1066 /* Function 0x35 */ 1067 typedef [bitmap32bit] bitmap { 1068 LSA_POLICY_KERBEROS_VALIDATE_CLIENT = 0x00000080 1069 } lsa_krbAuthenticationOptions; 1083 1070 1084 1071 /* w2k3 returns either 0x000bbbd000000000 or 0x000a48e800000000 1085 for unknown6- gd */1086 typedef struct { 1087 uint32 enforce_restrictions;1072 for reserved - gd */ 1073 typedef struct { 1074 lsa_krbAuthenticationOptions authentication_options; 1088 1075 hyper service_tkt_lifetime; 1089 1076 hyper user_tkt_lifetime; 1090 1077 hyper user_tkt_renewaltime; 1091 1078 hyper clock_skew; 1092 hyper unknown6;1079 hyper reserved; 1093 1080 } lsa_DomainInfoKerberos; 1094 1081 … … 1126 1113 [in] policy_handle *handle, 1127 1114 [in] lsa_String name, 1128 [in] uint32access_mask,1115 [in] lsa_TrustedAccessMask access_mask, 1129 1116 [out] policy_handle *trustdom_handle 1130 1117 ); … … 1201 1188 [in] lsa_TrustDomainInfoInfoEx *info, 1202 1189 [in] lsa_TrustDomainInfoAuthInfoInternal *auth_info, 1203 [in] uint32access_mask,1190 [in] lsa_TrustedAccessMask access_mask, 1204 1191 [out] policy_handle *trustdom_handle 1205 1192 ); … … 1269 1256 /* Function 0x49 */ 1270 1257 typedef struct { 1271 [range(0,131072)] uint32 length;1258 [range(0,131072)] uint3264 length; 1272 1259 [size_is(length)] uint8 *data; 1273 1260 } lsa_ForestTrustBinaryData; … … 1280 1267 1281 1268 typedef [switch_type(uint32)] union { 1282 [case(LSA_FOREST_TRUST_TOP_LEVEL_NAME)] lsa_String top_level_name;1269 [case(LSA_FOREST_TRUST_TOP_LEVEL_NAME)] lsa_StringLarge top_level_name; 1283 1270 [case(LSA_FOREST_TRUST_TOP_LEVEL_NAME_EX)] lsa_StringLarge top_level_name_ex; 1284 1271 [case(LSA_FOREST_TRUST_DOMAIN_INFO)] lsa_ForestTrustDomainInfo domain_info; … … 1295 1282 typedef struct { 1296 1283 uint32 flags; 1297 lsa_ForestTrustRecordType level;1298 hyper unknown;1299 [switch_is( level)] lsa_ForestTrustData forest_trust_data;1284 lsa_ForestTrustRecordType type; 1285 hyper time; 1286 [switch_is(type)] lsa_ForestTrustData forest_trust_data; 1300 1287 } lsa_ForestTrustRecord; 1301 1288 … … 1312 1299 ); 1313 1300 1314 /* Function 0x4a */ 1315 [todo] NTSTATUS lsa_LSARSETFORESTTRUSTINFORMATION(); 1301 /***************** 1302 * Function 0x4a */ 1303 1304 typedef [v1_enum] enum { 1305 LSA_FOREST_TRUST_COLLISION_TDO = 0, 1306 LSA_FOREST_TRUST_COLLISION_XREF = 1, 1307 LSA_FOREST_TRUST_COLLISION_OTHER = 2 1308 } lsa_ForestTrustCollisionRecordType; 1309 1310 /* if type is CollisionTdo, flags can be */ 1311 typedef [bitmap32bit] bitmap { 1312 LSA_TLN_DISABLED_NEW = 0x00000001, 1313 LSA_TLN_DISABLED_ADMIN = 0x00000002, 1314 LSA_TLN_DISABLED_CONFLICT = 0x00000004 1315 } lsa_ForestTrustCollisionTDOFlags; 1316 1317 /* if type is CollisionXref, flags can be */ 1318 typedef [bitmap32bit] bitmap { 1319 LSA_SID_DISABLED_ADMIN = 0x00000001, 1320 LSA_SID_DISABLED_CONFLICT = 0x00000002, 1321 LSA_NB_DISABLED_ADMIN = 0x00000004, 1322 LSA_NB_DISABLED_CONFLICT = 0x00000008 1323 } lsa_ForestTrustCollisionXrefFlags; 1324 1325 typedef [nodiscriminant] union { 1326 [case(LSA_FOREST_TRUST_COLLISION_TDO)] lsa_ForestTrustCollisionTDOFlags flags; 1327 [case(LSA_FOREST_TRUST_COLLISION_XREF)] lsa_ForestTrustCollisionXrefFlags flags; 1328 [default] uint32 flags; 1329 } lsa_ForestTrustCollisionFlags; 1330 1331 typedef struct { 1332 uint32 index; 1333 lsa_ForestTrustCollisionRecordType type; 1334 [switch_is(type)] lsa_ForestTrustCollisionFlags flags; 1335 lsa_String name; 1336 } lsa_ForestTrustCollisionRecord; 1337 1338 typedef struct { 1339 uint32 count; 1340 [size_is(count)] lsa_ForestTrustCollisionRecord **entries; 1341 } lsa_ForestTrustCollisionInfo; 1342 1343 [public] NTSTATUS lsa_lsaRSetForestTrustInformation( 1344 [in] policy_handle *handle, 1345 [in,ref] lsa_StringLarge *trusted_domain_name, 1346 [in] uint16 highest_record_type, 1347 [in,ref] lsa_ForestTrustInformation *forest_trust_info, 1348 [in] uint8 check_only, 1349 [out,ref] lsa_ForestTrustCollisionInfo **collision_info 1350 ); 1316 1351 1317 1352 /* Function 0x4b */
Note:
See TracChangeset
for help on using the changeset viewer.