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.

42 lines
1.0 KiB

  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. IN PKERB_INTERNAL_NAME pTargetName
  27. );
  28. NTSTATUS
  29. KerbAuditLogon(
  30. IN NTSTATUS LogonStatus,
  31. IN NTSTATUS LogonSubStatus,
  32. IN PKERB_CONTEXT Context,
  33. IN PUNICODE_STRING pWorkstationName,
  34. IN PLUID pLogonId,
  35. IN PLSA_ADT_STRING_LIST pTransittedServices
  36. );