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.

239 lines
9.5 KiB

  1. //////////////////////////////////////////////////////////////////////////////
  2. //
  3. // Copyright (c) Microsoft Corporation
  4. //
  5. // Module Name:
  6. //
  7. // aaaamon.rc
  8. //
  9. //////////////////////////////////////////////////////////////////////////////
  10. #include "strdefs.h"
  11. STRINGTABLE
  12. {
  13. MSG_NULL, ""
  14. HLP_AAAA_HELP1, "Displays help.\n"
  15. HLP_AAAA_HELP1_EX, "\
  16. \nUsage: %1!s!\n\
  17. \n Displays help.\n\n"
  18. HLP_AAAA_DUMP, "Dumps aaaa configuration info in script form.\n"
  19. HLP_AAAA_DUMP_EX "\
  20. \n%1!s! \
  21. \n \
  22. \n Dumps aaaa configuration information in script form. \
  23. \n\n"
  24. HLP_GROUP_SET, "Sets configuration information.\n"
  25. HLP_GROUP_SHOW, "Displays information.\n"
  26. HLP_AAAACONFIG_SHOW, "Dumps aaaa configuration info in script form.\n"
  27. HLP_AAAACONFIG_SET, "Sets the configuration of the aaaa server from a script.\n"
  28. HLP_AAAAVERSION_SHOW, "Displays the version of a aaaa configuration database.\n"
  29. HLP_AAAACONFIG_SERVER_SETTINGS, "Dumps aaaa server settings in script form.\n"
  30. HLP_AAAACONFIG_CLIENTS, "Dumps aaaa clients settings in script form.\n"
  31. HLP_AAAACONFIG_CONNECTION_REQUEST_POLICIES, "Dumps aaaa connection request policies settings in script form.\n"
  32. HLP_AAAACONFIG_LOGGING, "Dumps aaaa logging settings in script form.\n"
  33. HLP_AAAACONFIG_REMOTE_ACCESS_POLICIES, "Dumps aaaa remote access policies settings in script form.\n"
  34. HLP_AAAACONFIG_SHOW_EX, "\
  35. \n %1!s! \
  36. \n \
  37. \n Displays (dump) the state of the aaaa configuration. \
  38. \n \
  39. \n\n"
  40. HLP_AAAACONFIG_SET_EX, "\
  41. \n %1!s! [type=server_settings | clients | connection_request_policies | logging | remote_access_policies] blob = {\
  42. \n DataBlock \
  43. \n } \
  44. \n \
  45. \n Set the configuration of the aaaa engine. \
  46. \n \
  47. \n \
  48. \n Running the set config command manually is not supported. This command is\
  49. \n used only within a Netsh command script that is created by using the dump\
  50. \n or show commands. \
  51. \n \
  52. \n To view the version of the IAS database on which the Netsh script is \
  53. \n being run, use the show version command. Scripts older than those \
  54. \n created by a member of the Windows Server 2003 family are \
  55. \n supported. \
  56. \n \
  57. \n The configuration of IAS Servers running on products in the Windows 2000\
  58. \n Server family can be imported into products in the Windows \
  59. \n Server 2003 family with set config. The reverse, however, is not \
  60. \n possible. \
  61. \n \
  62. \n"
  63. HLP_AAAAVERSION_SHOW_EX, "\
  64. \n %1!s! \
  65. \n \
  66. \n Displays the version of the aaaa engine. \
  67. \n \
  68. \n\n"
  69. HLP_AAAACONFIG_SERVER_SETTINGS_EX, "\
  70. \n %1!s! \
  71. \n \
  72. \n Displays (dump) aaaa server settings in script form.
  73. \n \
  74. \n\n"
  75. HLP_AAAACONFIG_CLIENTS_EX, "\
  76. \n %1!s! \
  77. \n \
  78. \n Displays (dump) aaaa clients settings in script form.
  79. \n \
  80. \n\n"
  81. HLP_AAAACONFIG_CONNECTION_REQUEST_POLICIES_EX, "\
  82. \n %1!s! \
  83. \n \
  84. \n Displays (dump) aaaa connection request policies settings in script form.
  85. \n \
  86. \n\n"
  87. HLP_AAAACONFIG_LOGGING_EX, "\
  88. \n %1!s! \
  89. \n \
  90. \n Displays (dump) aaaa logging settings in script form.
  91. \n \
  92. \n\n"
  93. HLP_AAAACONFIG_REMOTE_ACCESS_POLICIES_EX, "\
  94. \n %1!s! \
  95. \n \
  96. \n Displays (dump) aaaa remote access policies settings in script form.
  97. \n \
  98. \n\n"
  99. MSG_CMD_NOT_IMPLEMENTED, "\n%1!s! command not yet implemented.\n\n"
  100. MSG_AAAA_SCRIPTHEADER, "\
  101. \n \
  102. \n# ----------------------------------------- \
  103. \n# aaaa Configuration \
  104. \n# ----------------------------------------- \
  105. \n# This script will NOT work across different versions of IAS.\
  106. \n# ----------------------------------------- \
  107. \n"
  108. MSG_AAAA_SCRIPTFOOTER, "\
  109. \n# End of aaaa configuration. \
  110. \n \
  111. \n \
  112. \n"
  113. MSG_AAAACONFIG_SET_SUCCESS, "\
  114. \naaaa server configuration successfully set. \
  115. \n \
  116. \n"
  117. MSG_AAAACONFIG_SET_FAIL, "\
  118. \nFailed attempting to set the aaaa configuration. \
  119. \n \
  120. \n"
  121. MSG_AAAACONFIG_SHOW_SUCCESS, "\
  122. \naaaa server configuration successfully dumped: \
  123. \n \
  124. \n"
  125. MSG_AAAACONFIG_SHOW_FAIL, "\
  126. \nFailed attempting to show the aaaa configuration. \
  127. \n \
  128. \n"
  129. MSG_AAAAVERSION_SHOW_SUCCESS, "\
  130. \naaaa server version successfully retrieved. \
  131. \n \
  132. \n"
  133. MSG_AAAAVERSION_SHOW_FAIL, "\
  134. \nFailed attempting to show the aaaa version. \
  135. \n \
  136. \n"
  137. MSG_AAAACONFIG_SHOW_HEADER, "\
  138. \n# aaaa configuration script. \
  139. \n# Known Issues and limitations: \
  140. \n# Import/Export between different versions is not supported.\
  141. \n"
  142. MSG_AAAACONFIG_SHOW_FOOTER, "\
  143. \n# End of aaaa show config\
  144. \n"
  145. MSG_AAAAVERSION_GET_FAIL, "\
  146. \nFailed getting the version information. \
  147. \n"
  148. MSG_AAAACONFIG_SHOW_INVALID_SYNTAX, "\
  149. \naaaa Show config Syntax Error. \
  150. \n"
  151. MSG_AAAACONFIG_SET_REGISTRY_FAIL, "\
  152. \nThe registry couldn't be updated. \
  153. \n"
  154. MSG_AAAACONFIG_SET_REFRESH_FAIL "\
  155. \n aaaa server configuration was successfully set, \
  156. \n but the service configuration was not refreshed. \
  157. \n Restart the service to implement the new configuration.\
  158. \n"
  159. MSG_AAAACONFIG_LICENSE_VIOLATION, "\
  160. \nFailed attempting to set the aaaa configuration due to license violation. \
  161. \n \
  162. \n"
  163. EMSG_AAAACONFIG_SHOW_FAIL "\
  164. \n aaaa show version failed.\
  165. \n Unexpected error.\n"
  166. EMSG_TAG_ALREADY_PRESENT, "\
  167. Two or more arguments in the command have the same tag.\n"
  168. EMSG_CANT_FIND_EOPT, "\
  169. One or more essential parameters not specified\n"
  170. EMSG_BAD_OPTION_VALUE, "\
  171. %1!s! is not an acceptable value for %2!s!.\n"
  172. EMSG_INCOMPLETE_COMMAND, "\
  173. The command is incomplete. The possible completions are:\n\n"
  174. EMSG_UNABLE_TO_CREATE_FILE, "\
  175. Unable to create file %1!s!. Error %2!d!\n"
  176. EMSG_OPEN_DB_FAILED,"\
  177. OpenJetDatabase failed\n"
  178. EMSG_AAAACONFIG_UPGRADE_FAIL, "\
  179. \n The configuration cannot be set from this script.\
  180. \n \n"
  181. }
  182. #include <windows.h>
  183. #include <ntverp.h>
  184. #define VER_FILETYPE VFT_DLL
  185. #define VER_FILESUBTYPE VFT2_UNKNOWN
  186. #define VER_FILEDESCRIPTION_STR "Aaaa Monitor DLL"
  187. #define VER_INTERNALNAME_STR "aaaamon.dll"
  188. #define VER_ORIGINALFILENAME_STR "aaaamon.dll"
  189. #include "common.ver" // NT5.0 version file.