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.

25 lines
671 B

  1. //+----------------------------------------------------------------------------
  2. //
  3. // DS Administration MMC snapin.
  4. //
  5. // Microsoft Windows
  6. // Copyright (C) Microsoft Corporation, 1992 - 2002
  7. //
  8. // File: globals.cpp
  9. //
  10. // Contents: Definitions of constants and globals used in DSAdmin files.
  11. //
  12. // History: 2002/06/28-ArtM Created
  13. //
  14. //-----------------------------------------------------------------------------
  15. #include "stdafx.h"
  16. #include "globals.h"
  17. // Maximum size for passwords.
  18. const unsigned int MAX_PASSWORD_LENGTH = 127;
  19. // Maximum length downlevel user logon names.
  20. const unsigned int MAX_NT4_LOGON_LENGTH = 20;