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.

33 lines
1.5 KiB

  1. //+---------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. // Copyright (C) Microsoft Corporation 1996-2001.
  5. //
  6. // File: defaults.h
  7. //
  8. //----------------------------------------------------------------------------
  9. #ifndef __SECMGR_DEFAULTS__
  10. #define __SECMGR_DEFAULTS__
  11. #define RNH_AUTODISCONNECT_NAME L"MACHINE\\System\\CurrentControlSet\\Services\\LanManServer\\Parameters\\AutoDisconnect"
  12. #define RNH_AUTODISCONNECT_LOW 1
  13. #define RNH_AUTODISCONNECT_HIGH 99999
  14. #define RNH_AUTODISCONNECT_FLAGS DW_VALUE_FOREVER | DW_VALUE_NOZERO
  15. #define RNH_AUTODISCONNECT_SPECIAL_STRING IDS_RNH_AUTODISCONNECT_SPECIAL
  16. #define RNH_AUTODISCONNECT_STATIC_STRING IDS_RNH_AUTODISCONNECT_STATIC
  17. #define RNH_CACHED_LOGONS_NAME L"MACHINE\\Software\\Microsoft\\Windows NT\\CurrentVersion\\Winlogon\\CachedLogonsCount"
  18. #define RNH_CACHED_LOGONS_LOW 0
  19. #define RNH_CACHED_LOGONS_HIGH 50
  20. #define RNH_CACHED_LOGONS_FLAGS DW_VALUE_NEVER
  21. #define RNH_CACHED_LOGONS_SPECIAL_STRING IDS_RNH_CACHED_LOGONS_SPECIAL
  22. #define RNH_CACHED_LOGONS_STATIC_STRING IDS_RNH_CACHED_LOGONS_STATIC
  23. #define RNH_PASSWORD_WARNINGS_NAME L"MACHINE\\Software\\Microsoft\\Windows NT\\CurrentVersion\\Winlogon\\PasswordExpiryWarning"
  24. #define RNH_PASSWORD_WARNINGS_LOW 0
  25. #define RNH_PASSWORD_WARNINGS_HIGH 999
  26. #define RNH_PASSWORD_WARNINGS_FLAGS 0
  27. #define RNH_PASSWORD_WARNINGS_SPECIAL_STRING 0
  28. #define RNH_PASSWORD_WARNINGS_STATIC_STRING IDS_RNH_PASSWORD_WARNINGS_STATIC
  29. #endif