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.

136 lines
4.2 KiB

  1. //+--------------------------------------------------------------------------
  2. // Module Name: Dfsstr.h
  3. //
  4. // Copyright 1985-96, Microsoft Corporation
  5. //
  6. // Contents: This module is a common place for all strings in DFS.
  7. //
  8. //---------------------------------------------------------------------------
  9. #ifndef _DFSSTRING_H_
  10. #define _DFSSTRING_H_
  11. //
  12. // Display names for use by Dfs related code
  13. //
  14. #define DFS_COMPONENT_NAME L"Distributed File System"
  15. #define DFS_PROVIDER_NAME DFS_COMPONENT_NAME
  16. //
  17. // Commonly used strings and characters
  18. //
  19. #define UNICODE_PATH_SEP_STR L"\\"
  20. #define UNICODE_PATH_SEP L'\\'
  21. #define UNICODE_DRIVE_SEP_STR L":"
  22. #define UNICODE_DRIVE_SEP L':'
  23. //
  24. // Registry key and value names for storing Dfs volume information
  25. //
  26. #define DFSHOST_DIR L"SOFTWARE\\Microsoft\\DfsHost"
  27. #define VOLUMES_DIR DFSHOST_DIR L"\\volumes\\"
  28. #define REBOOT_KEY DFSHOST_DIR L"\\Reboot\\"
  29. #define CHANGE_LOG_DIR DFSHOST_DIR L"\\ChangeLog\\"
  30. #define REG_VALUE_REBOOT L"RebootNow"
  31. #define LDAP_VOLUMES_DIR L"\\"
  32. #define DOMAIN_ROOT_VOL L"domainroot"
  33. #define SITE_ROOT L"siteroot"
  34. #define ROOT_SHARE_VALUE_NAME L"RootShare"
  35. #define FTDFS_VALUE_NAME L"FTDfs"
  36. #define FTDFS_DN_VALUE_NAME L"FTDfsObjectDN"
  37. #define CHANGE_ID_VALUE_NAME L"ChangeId"
  38. #define MAX_CHANGES_VALUE_NAME L"MaxChanges"
  39. #define NUM_CHANGES_VALUE_NAME L"NumberOfChanges"
  40. #define MACHINE_VALUE_NAME L"LastMachineName"
  41. #define CLUSTER_VALUE_NAME L"MachineName"
  42. #define DOMAIN_VALUE_NAME L"LastDomainName"
  43. #define CHANGES_KEY_NAME L"Changes"
  44. #define SITE_VALUE_NAME L"SiteTable"
  45. //
  46. // Registry name for timeouts
  47. //
  48. #define SYNC_INTERVAL_NAME L"SyncIntervalInSeconds"
  49. #define DCLOCK_INTERVAL_NAME L"DcLockIntervalInSeconds"
  50. //
  51. // The share to connect with to get a referral
  52. //
  53. #define ROOT_SHARE_NAME L"\\IPC$"
  54. #define ROOT_SHARE_NAME_NOBS L"IPC$"
  55. //
  56. // Names of driver created objects
  57. //
  58. #define DFS_DEVICE_DIR L"\\Device\\WinDfs"
  59. #define ORG_NAME L"Root"
  60. #define DFS_DEVICE_ROOT L"\\Device\\WinDfs\\Root"
  61. #define DFS_DEVICE_ORG DFS_DEVICE_ROOT
  62. //
  63. // The share name used to identify UNC access to a Dfs name
  64. //
  65. #define DFS_SHARENAME L"\\DFS"
  66. #define DFS_SHARENAME_NOBS L"DFS"
  67. //
  68. // Registry key and value names for storing local volume information
  69. //
  70. #define REG_KEY_DFSDRIVER L"SYSTEM\\CurrentControlSet\\Services\\DfsDriver"
  71. #define REG_KEY_DFSSVC L"SYSTEM\\CurrentControlSet\\Services\\Dfs"
  72. #define REG_KEY_LOCAL_VOLUMES REG_KEY_DFSDRIVER L"\\LocalVolumes"
  73. #define REG_VALUE_ENTRY_PATH L"EntryPath"
  74. #define REG_VALUE_SHORT_PATH L"ShortEntryPath"
  75. #define REG_VALUE_ENTRY_TYPE L"EntryType"
  76. #define REG_VALUE_STORAGE_ID L"StorageId"
  77. #define REG_VALUE_SHARE_NAME L"ShareName"
  78. #define REG_VALUE_TIMETOLIVE L"TimeToLiveInSecs"
  79. #define REG_VALUE_VERBOSE L"DfsSvcVerbose"
  80. #define REG_VALUE_LDAP L"DfsSvcLdap"
  81. #define REG_VALUE_DFSDNSCONFIG L"DfsDnsConfig"
  82. #define REG_VALUE_IDFSVOL L"IDfsVolInfoLevel"
  83. #define REG_VALUE_DFSSVC L"DfsSvcInfoLevel"
  84. #define REG_VALUE_DFSIPC L"DfsIpcInfoLevel"
  85. //
  86. // Registry key and value name for retrieving list of trusted domain names
  87. //
  88. #define REG_KEY_TRUSTED_DOMAINS L"SYSTEM\\CurrentControlSet\\Services\\NetLogon\\Parameters"
  89. #define REG_VALUE_TRUSTED_DOMAINS L"TrustedDomainList"
  90. //
  91. // Registry key to enable domain dfs
  92. //
  93. #define REG_KEY_ENABLE_DOMAIN_DFS L"SYSTEM\\CurrentControlSet\\Control\\EnableDomainDfs"
  94. //
  95. // Registry keys for event logging verbosity
  96. //
  97. #define REG_KEY_EVENTLOG L"SOFTWARE\\MicroSoft\\Windows NT\\CurrentVersion\\Diagnostics"
  98. #define REG_VALUE_EVENTLOG_GLOBAL L"RunDiagnosticLoggingGlobal"
  99. #define REG_VALUE_EVENTLOG_DFS L"RunDiagnosticLoggingDfs"
  100. //
  101. // The following two are related and must be kept in sync. One is the name
  102. // of the named pipe as used by user-level processes. The second names the
  103. // same pipe for kernel-mode code.
  104. //
  105. #define DFS_MESSAGE_PIPE L"\\\\.\\pipe\\DfsSvcMessage"
  106. #define DFS_KERNEL_MESSAGE_PIPE L"\\Device\\NamedPipe\\DfsSvcMessage"
  107. #endif //_DFSSTRING_H_