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.

40 lines
1.0 KiB

  1. //+-----------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. //
  5. // Copyright (c) Microsoft Corporation 1992 - 1996
  6. //
  7. // File: tktlogon.h
  8. //
  9. // Contents: Structures and prototypes for ticket logon
  10. //
  11. //
  12. // History: 17-February-1999 Created MikeSw
  13. //
  14. //------------------------------------------------------------------------
  15. #ifndef __TKTLOGON_H__
  16. #define __TKTLOGON_H__
  17. NTSTATUS
  18. KerbExtractForwardedTgt(
  19. IN PKERB_LOGON_SESSION LogonSession,
  20. IN PKERB_MESSAGE_BUFFER ForwardedTgt,
  21. IN PKERB_ENCRYPTED_TICKET WorkstationTicket
  22. );
  23. NTSTATUS
  24. KerbCreateTicketLogonSession(
  25. IN PVOID ProtocolSubmitBuffer,
  26. IN PVOID ClientBufferBase,
  27. IN ULONG SubmitBufferSize,
  28. IN SECURITY_LOGON_TYPE LogonType,
  29. OUT PKERB_LOGON_SESSION * NewLogonSession,
  30. OUT PLUID LogonId,
  31. OUT PKERB_TICKET_CACHE_ENTRY * WorkstationTicket,
  32. OUT PKERB_MESSAGE_BUFFER ForwardedTgt
  33. );
  34. #endif // __TKTLOGON_H__