Leaked source code of windows server 2003
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.

312 lines
7.0 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("{bba3add2-c229-4cdb-ae2b-57eb6966b0c4}"),
  9. locale("MS\\0x409")]
  10. class MSKerbTrace :EventTrace
  11. {
  12. };
  13. [Dynamic,
  14. Description("Kerberos Logon User Handler") : amended,
  15. Guid("{8a3b8d86-db1e-47a9-9264-146e097b3c64}"),
  16. DisplayName("KerbLogonUser"),
  17. locale("MS\\0x409")
  18. ]
  19. class KerbLogonUser:MSKerbTrace
  20. {
  21. };
  22. [Dynamic,
  23. Description("Kerberos Logon User Handler") : amended,
  24. EventType(1),
  25. EventTypeName("Start"),
  26. locale("MS\\0x409")
  27. ]
  28. class KerbLogonUser_Start:KerbLogonUser
  29. {
  30. };
  31. [Dynamic,
  32. Description("Kerberos Logon User Handler") : amended,
  33. EventType(2),
  34. EventTypeName("End"),
  35. locale("MS\\0x409")
  36. ]
  37. class KerbLogonUser_End:KerbLogonUser
  38. {
  39. [WmiDataId(1),
  40. Description("Status") : amended,
  41. format("x"),
  42. read]
  43. uint32 Status;
  44. [WmiDataId(2),
  45. Description("Logon Type") : amended,
  46. StringTermination("Counted"),
  47. format("w"),
  48. read]
  49. string LogonType;
  50. [WmiDataId(3),
  51. Description("User Name") : amended,
  52. StringTermination("Counted"),
  53. format("w"),
  54. read]
  55. string UserName;
  56. [WmiDataId(4),
  57. Description("Logon Domain") : amended,
  58. StringTermination("Counted"),
  59. format("w"),
  60. read]
  61. string LogonDomain;
  62. };
  63. [Dynamic,
  64. Description("Kerberos Initialize Security Context Handler") : amended,
  65. Guid("{52e82f1a-7cd4-47ed-b5e5-fde7bf64cea6}"),
  66. DisplayName("KerbInitSecurityContext"),
  67. locale("MS\\0x409")
  68. ]
  69. class KerbInitSecurityContext:MSKerbTrace
  70. {
  71. };
  72. [Dynamic,
  73. Description("Kerberos Initialize Security Context Handler") : amended,
  74. EventType(1),
  75. EventTypeName("Start"),
  76. locale("MS\\0x409")
  77. ]
  78. class KerbInitSecurityContext_Start:KerbInitSecurityContext
  79. {
  80. };
  81. [Dynamic,
  82. Description("Kerberos Initialize Security Context Handler") : amended,
  83. EventType(2),
  84. EventTypeName("End"),
  85. locale("MS\\0x409")
  86. ]
  87. class KerbInitSecurityContext_End:KerbInitSecurityContext
  88. {
  89. [WmiDataId(1),
  90. Description("Status") : amended,
  91. format("x"),
  92. read]
  93. uint32 Status;
  94. [WmiDataId(2),
  95. Description("Credentials Source") : amended,
  96. StringTermination("Counted"),
  97. format("w"),
  98. read]
  99. string CredSource;
  100. [WmiDataId(3),
  101. Description("Domain Name") : amended,
  102. StringTermination("Counted"),
  103. format("w"),
  104. read]
  105. string DomainName;
  106. [WmiDataId(4),
  107. Description("User Name") : amended,
  108. StringTermination("Counted"),
  109. format("w"),
  110. read]
  111. string UserName;
  112. [WmiDataId(5),
  113. Description("Target") : amended,
  114. StringTermination("Counted"),
  115. format("w"),
  116. read]
  117. string Target;
  118. [WmiDataId(6),
  119. Description("Extended Error Code") : amended,
  120. format("x"),
  121. read]
  122. uint32 ExtError;
  123. [WmiDataId(7),
  124. Description("Extended Error klininfo") : amended,
  125. format("x"),
  126. read]
  127. uint32 klininfo;
  128. };
  129. [Dynamic,
  130. Description("Kerberos Accept Security Context Handler") : amended,
  131. Guid("{94acefe3-9e56-49e3-9895-7240a231c371}"),
  132. DisplayName("KerbAcceptSecurityContext"),
  133. locale("MS\\0x409")
  134. ]
  135. class KerbAcceptSecurityContext:MSKerbTrace
  136. {
  137. };
  138. [Dynamic,
  139. Description("Kerberos Accept Security Context Handler") : amended,
  140. EventType(1),
  141. EventTypeName("Start"),
  142. locale("MS\\0x409")
  143. ]
  144. class KerbAcceptSecurityContext_Start:KerbAcceptSecurityContext
  145. {
  146. };
  147. [Dynamic,
  148. Description("Kerberos Accept Security Context Handler") : amended,
  149. EventType(2),
  150. EventTypeName("End"),
  151. locale("MS\\0x409")
  152. ]
  153. class KerbAcceptSecurityContext_End:KerbAcceptSecurityContext
  154. {
  155. [WmiDataId(1),
  156. Description("Status") : amended,
  157. format("x"),
  158. read]
  159. uint32 Status;
  160. [WmiDataId(2),
  161. Description("Credentials Source") : amended,
  162. StringTermination("Counted"),
  163. format("w"),
  164. read]
  165. string CredSource;
  166. [WmiDataId(3),
  167. Description("Domain Name") : amended,
  168. StringTermination("Counted"),
  169. format("w"),
  170. read]
  171. string DomainName;
  172. [WmiDataId(4),
  173. Description("User Name") : amended,
  174. StringTermination("Counted"),
  175. format("w"),
  176. read]
  177. string UserName;
  178. [WmiDataId(5),
  179. Description("Target") : amended,
  180. StringTermination("Counted"),
  181. format("w"),
  182. read]
  183. string Target;
  184. };
  185. [Dynamic,
  186. Description("Kerberos Set Password") : amended,
  187. Guid("{94c79108-b23b-4418-9b7f-e6d75a3a0ab2}"),
  188. DisplayName("KerbSetPassword"),
  189. locale("MS\\0x409")
  190. ]
  191. class KerbSetPassword:MSKerbTrace
  192. {
  193. };
  194. [Dynamic,
  195. Description("Kerberos Set Password") : amended,
  196. EventType(1),
  197. EventTypeName("Start"),
  198. locale("MS\\0x409")
  199. ]
  200. class KerbSetPassword_Start:KerbSetPassword
  201. {
  202. };
  203. [Dynamic,
  204. Description("Kerberos Set Password") : amended,
  205. EventType(2),
  206. EventTypeName("End"),
  207. locale("MS\\0x409")
  208. ]
  209. class KerbSetPassword_End:KerbSetPassword
  210. {
  211. [WmiDataId(1),
  212. Description("Status") : amended,
  213. format("x"),
  214. read]
  215. uint32 Status;
  216. [WmiDataId(2),
  217. Description("Account Name") : amended,
  218. StringTermination("Counted"),
  219. format("w"),
  220. read]
  221. string AccountName;
  222. [WmiDataId(3),
  223. Description("Account Realm") : amended,
  224. StringTermination("Counted"),
  225. format("w"),
  226. read]
  227. string AccountRealm;
  228. [WmiDataId(4),
  229. Description("Client Name") : amended,
  230. StringTermination("Counted"),
  231. format("w"),
  232. read]
  233. string ClientName;
  234. [WmiDataId(5),
  235. Description("Client Realm") : amended,
  236. StringTermination("Counted"),
  237. format("w"),
  238. read]
  239. string ClientRealm;
  240. [WmiDataId(6),
  241. Description("KDC Address") : amended,
  242. StringTermination("Counted"),
  243. format("w"),
  244. read]
  245. string KdcAddress;
  246. };
  247. [Dynamic,
  248. Description("Kerberos Change Password") : amended,
  249. Guid("{c55e606b-334a-488b-b907-384abaa97b04}"),
  250. DisplayName("KerbChangePassword"),
  251. locale("MS\\0x409")
  252. ]
  253. class KerbChangePassword:MSKerbTrace
  254. {
  255. };
  256. [Dynamic,
  257. Description("Kerberos Change Password") : amended,
  258. EventType(1),
  259. EventTypeName("Start"),
  260. locale("MS\\0x409")
  261. ]
  262. class KerbChangePassword_Start:KerbChangePassword
  263. {
  264. };
  265. [Dynamic,
  266. Description("Kerberos Change Password") : amended,
  267. EventType(2),
  268. EventTypeName("End"),
  269. locale("MS\\0x409")
  270. ]
  271. class KerbChangePassword_End:KerbChangePassword
  272. {
  273. [WmiDataId(1),
  274. Description("Status") : amended,
  275. format("x"),
  276. read]
  277. uint32 Status;
  278. [WmiDataId(2),
  279. Description("Account Name") : amended,
  280. StringTermination("Counted"),
  281. format("w"),
  282. read]
  283. string AccountName;
  284. [WmiDataId(3),
  285. Description("Account Realm") : amended,
  286. StringTermination("Counted"),
  287. format("w"),
  288. read]
  289. string DomainName;
  290. };