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.

41 lines
952 B

  1. //+-----------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. //
  5. // Copyright (c) Microsoft Corporation 2001
  6. //
  7. // File: krbaudit.h
  8. //
  9. // Contents: Auditing routines
  10. //
  11. //
  12. // History: 27-April-2001 Created kumarp
  13. //
  14. //------------------------------------------------------------------------
  15. NTSTATUS
  16. KerbGetLogonGuid(
  17. IN PKERB_PRIMARY_CREDENTIAL pPrimaryCredentials,
  18. IN PKERB_ENCRYPTED_KDC_REPLY pKdcReplyBody,
  19. OUT LPGUID pLogonGuid
  20. );
  21. NTSTATUS
  22. KerbGenerateAuditForLogonUsingExplicitCreds(
  23. IN PKERB_LOGON_SESSION CurrentUserLogonSession,
  24. IN PKERB_PRIMARY_CREDENTIAL NewUserPrimaryCredentials,
  25. IN LPGUID pNewUserLogonGuid
  26. );
  27. NTSTATUS
  28. KerbAuditLogon(
  29. IN NTSTATUS LogonStatus,
  30. IN NTSTATUS LogonSubStatus,
  31. IN PKERB_ENCRYPTED_TICKET pEncryptedTicket,
  32. IN PSID pUserSid,
  33. IN PUNICODE_STRING pWorkstationName,
  34. IN PLUID pLogonId
  35. );