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.

79 lines
1.9 KiB

  1. /*++
  2. Copyright (c) 1991 Microsoft Corporation
  3. Module Name:
  4. nlvars.c
  5. Abstract:
  6. This module contains variables used within the msv1_0 authentication
  7. package.
  8. Author:
  9. Cliff Van Dyke (CliffV) 29-Apr-1991
  10. Environment:
  11. User mode - msv1_0 authentication package DLL
  12. Revision History:
  13. Chandana Surlu 21-Jul-96 Stolen from \\kernel\razzle3\src\security\msv1_0\nlvars.c
  14. --*/
  15. #include "msp.h"
  16. #include "nlp.h"
  17. ////////////////////////////////////////////////////////////////////////
  18. // //
  19. // READ ONLY Variables //
  20. // //
  21. ////////////////////////////////////////////////////////////////////////
  22. //
  23. // Null copies of Lanman and NT OWF password.
  24. //
  25. LM_OWF_PASSWORD NlpNullLmOwfPassword;
  26. NT_OWF_PASSWORD NlpNullNtOwfPassword;
  27. ////////////////////////////////////////////////////////////////////////
  28. // //
  29. // READ/WRITE Variables //
  30. // //
  31. ////////////////////////////////////////////////////////////////////////
  32. //
  33. // Define the list of active interactive logons.
  34. //
  35. // The NlpActiveLogonLock must be locked while referencing the list or
  36. // any of its elements.
  37. //
  38. RTL_CRITICAL_SECTION NlpActiveLogonLock;
  39. PACTIVE_LOGON NlpActiveLogons;
  40. //
  41. // Define the running enumeration handle.
  42. //
  43. // This variable defines the enumeration handle to assign to a logon
  44. // session. It will be incremented prior to assigning it value to
  45. // the next created logon session. Access is serialize using
  46. // NlpActiveLogonLocks.
  47. ULONG NlpEnumerationHandle;
  48. //
  49. // Define the number of successful/unsuccessful logons attempts.
  50. //
  51. ULONG NlpLogonAttemptCount;