Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

191 lines
3.9 KiB

  1. //*********************************************
  2. // *** Active Directory Service Provider: KDC
  3. //*********************************************
  4. #pragma classflags("forceupdate")
  5. #pragma namespace ("\\\\.\\Root\\WMI")
  6. [Dynamic,
  7. Description("Active Directory: Kerberos") : amended,
  8. Guid("{24db8964-e6bc-11d1-916a-0000f8045b04}"),
  9. locale("MS\\0x409")]
  10. class MSKdcTrace:EventTrace
  11. {
  12. };
  13. [Dynamic,
  14. Description("Kdc GetASTicket") : amended,
  15. Guid("{50af5304-e6bc-11d1-916a-0000f8045b04}"),
  16. DisplayName("GetASTicket"),
  17. locale("MS\\0x409")
  18. ]
  19. class GetASTicket:MSKdcTrace
  20. {
  21. };
  22. [Dynamic,
  23. Description("Kdc GetASTicket") : amended,
  24. EventType(1),
  25. EventTypeName("Start"),
  26. locale("MS\\0x409")
  27. ]
  28. class GetASTicket_Start:GetASTicket
  29. {
  30. [WmiDataId(1),
  31. Description("KdcOption") : amended,
  32. format("x"),
  33. read]
  34. uint32 KdcOption;
  35. };
  36. [Dynamic,
  37. Description("Kdc GetASTicket") : amended,
  38. EventType(2),
  39. EventTypeName("End"),
  40. locale("MS\\0x409")
  41. ]
  42. class GetASTicket_End:GetASTicket
  43. {
  44. [WmiDataId(1),
  45. Description("Error Code") : amended,
  46. format("x"),
  47. read]
  48. uint32 KerbErr;
  49. [WmiDataId(2),
  50. Description("Client Name") : amended,
  51. StringTermination("Counted"),
  52. format("w"),
  53. read]
  54. string Client;
  55. [WmiDataId(3),
  56. Description("Server Name") : amended,
  57. StringTermination("Counted"),
  58. format("w"),
  59. read]
  60. string Server;
  61. [WmiDataId(4),
  62. Description("Client Source Realm") : amended,
  63. StringTermination("Counted"),
  64. format("w"),
  65. read]
  66. string RequestRealm;
  67. };
  68. [Dynamic,
  69. Description("Kdc TGSRequest") : amended,
  70. Guid("{c11cf384-e6bd-11d1-916a-0000f8045b04}"),
  71. DisplayName("TGSRequest"),
  72. locale("MS\\0x409")
  73. ]
  74. class TGSRequest:MSKdcTrace
  75. {
  76. };
  77. [Dynamic,
  78. Description("Kdc TGSRequest") : amended,
  79. EventType(1),
  80. EventTypeName("Start"),
  81. locale("MS\\0x409")
  82. ]
  83. class TGSRequest_Start:TGSRequest
  84. {
  85. [WmiDataId(1),
  86. Description("KdcOption") : amended,
  87. format("x"),
  88. read]
  89. uint32 KdcOption;
  90. };
  91. [Dynamic,
  92. Description("Kdc TGSRequest") : amended,
  93. EventType(2),
  94. EventTypeName("End"),
  95. locale("MS\\0x409")
  96. ]
  97. class TGSRequest_End:TGSRequest
  98. {
  99. [WmiDataId(1),
  100. Description("Error Code") : amended,
  101. format("x"),
  102. read]
  103. uint32 KerbErr;
  104. [WmiDataId(2),
  105. Description("Client Name") : amended,
  106. StringTermination("Counted"),
  107. format("w"),
  108. read]
  109. string Client;
  110. [WmiDataId(3),
  111. Description("Server Name") : amended,
  112. StringTermination("Counted"),
  113. format("w"),
  114. read]
  115. string ServerAcct;
  116. [WmiDataId(4),
  117. Description("Client Source Realm") : amended,
  118. StringTermination("Counted"),
  119. format("w"),
  120. read]
  121. string ClientRealm;
  122. };
  123. [Dynamic,
  124. Description("KDC Password Change") : amended,
  125. Guid("{a34d7f52-1dd0-434e-88a1-423e2a199946}"),
  126. DisplayName("KdcChangePass"),
  127. locale("MS\\0x409")
  128. ]
  129. class KdcChangePass:MSKdcTrace
  130. {
  131. };
  132. [Dynamic,
  133. Description("KDC Password Change") : amended,
  134. EventType(1),
  135. EventTypeName("Start"),
  136. locale("MS\\0x409")
  137. ]
  138. class KdcChangePass_Start:KdcChangePass
  139. {
  140. };
  141. [Dynamic,
  142. Description("KDC Password Change") : amended,
  143. EventType(2),
  144. EventTypeName("End"),
  145. locale("MS\\0x409")
  146. ]
  147. class KdcChangePass_End:KdcChangePass
  148. {
  149. [WmiDataId(1),
  150. Description("KerbError code") : amended,
  151. format("x"),
  152. read]
  153. uint32 KerbErr;
  154. [WmiDataId(2),
  155. Description("Extended Error Status") : amended,
  156. format("x"),
  157. read]
  158. uint32 ExtErr;
  159. [WmiDataId(3),
  160. Description("Extended Error klininfo") : amended,
  161. format("x"),
  162. read]
  163. uint32 Klininfo;
  164. [WmiDataId(4),
  165. Description("Client Realm") : amended,
  166. StringTermination("Counted"),
  167. format("w"),
  168. read]
  169. string ClientRealm;
  170. [WmiDataId(5),
  171. Description("Account Name") : amended,
  172. StringTermination("Counted"),
  173. format("w"),
  174. read]
  175. string AccountName;
  176. };