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.

320 lines
15 KiB

  1. #define MSG_HELP_START L"%1!-14s! - "
  2. #define MSG_NEWLINE L"\n"
  3. #define CMD_GROUP_ADD L"add"
  4. #define CMD_GROUP_DEL L"delete"
  5. #define CMD_GROUP_SHOW L"show"
  6. #define CMD_GROUP_SET L"set"
  7. #define CMD_GROUP_ENABLE L"enable"
  8. #define CMD_GROUP_DISABLE L"disable"
  9. #define CMD_GROUP_REGISTER L"register"
  10. #define CMD_GROUP_UNREGISTER L"unregister"
  11. #define CMD_RAS_HELP1 L"help"
  12. #define CMD_RAS_HELP2 L"?"
  13. #define CMD_RAS_DUMP L"dump"
  14. #define CMD_RASFLAG_SET L"rasflag"
  15. #define CMD_RASFLAG_SHOW L"rasflag"
  16. #define CMD_RASFLAG_AUTHMODE_SET L"authmode"
  17. #define CMD_RASFLAG_AUTHMODE_SHOW L"authmode"
  18. #define CMD_RASFLAG_AUTHTYPE_ADD L"authtype"
  19. #define CMD_RASFLAG_AUTHTYPE_DEL L"authtype"
  20. #define CMD_RASFLAG_AUTHTYPE_SHOW L"authtype"
  21. #define CMD_RASFLAG_LINK_ADD L"link"
  22. #define CMD_RASFLAG_LINK_DEL L"link"
  23. #define CMD_RASFLAG_LINK_SHOW L"link"
  24. #define CMD_RASFLAG_MLINK_ADD L"multilink"
  25. #define CMD_RASFLAG_MLINK_DEL L"multilink"
  26. #define CMD_RASFLAG_MLINK_SHOW L"multilink"
  27. #define CMD_RASUSER_SHOW L"user"
  28. #define CMD_RASUSER_SET L"user"
  29. #define CMD_DOMAIN_REGISTER L"registeredserver"
  30. #define CMD_DOMAIN_UNREGISTER L"registeredserver"
  31. #define CMD_DOMAIN_SHOWREG L"registeredserver"
  32. #define CMD_SHOW_SERVERS L"activeservers"
  33. #define CMD_SHOW_CLIENT L"client"
  34. #define DMP_RASFLAG_SET L"set rasflag"
  35. #define DMP_RASFLAG_SHOW L"show rasflag"
  36. #define DMP_RASFLAG_AUTHMODE_SET L"set authmode"
  37. #define DMP_RASFLAG_AUTHMODE_SHOW L"show authmode"
  38. #define DMP_RASFLAG_AUTHTYPE_ADD L"add authtype"
  39. #define DMP_RASFLAG_AUTHTYPE_DEL L"delete authtype"
  40. #define DMP_RASFLAG_AUTHTYPE_SHOW L"show authtype"
  41. #define DMP_RASFLAG_LINK_ADD L"add link"
  42. #define DMP_RASFLAG_LINK_DEL L"delete link"
  43. #define DMP_RASFLAG_LINK_SHOW L"show link"
  44. #define DMP_RASFLAG_MLINK_ADD L"add multilink"
  45. #define DMP_RASFLAG_MLINK_DEL L"delete multilink"
  46. #define DMP_RASFLAG_MLINK_SHOW L"show multilink"
  47. #define DMP_RASUSER_SHOW L"show user"
  48. #define DMP_RASUSER_SET L"set user"
  49. #define DMP_DOMAIN_REGISTER L"add registeredserver"
  50. #define DMP_DOMAIN_UNREGISTER L"delete registeredserver"
  51. #define DMP_DOMAIN_SHOWREG L"show registeredserver"
  52. #define DMP_SHOW_SERVERS L"show activeservers"
  53. #define DMP_SHOW_CLIENT L"show client"
  54. #define TOKEN_NAME L"name"
  55. #define TOKEN_DIALIN L"dialin"
  56. #define TOKEN_CBPOLICY L"cbpolicy"
  57. #define TOKEN_CBNUMBER L"cbnumber"
  58. #define TOKEN_PERMIT L"permit"
  59. #define TOKEN_POLICY L"policy"
  60. #define TOKEN_DENY L"deny"
  61. #define TOKEN_NONE L"none"
  62. #define TOKEN_ADMIN L"admin"
  63. #define TOKEN_CALLER L"caller"
  64. #define TOKEN_FILE L"file"
  65. #define TOKEN_PASSWORD L"password"
  66. #define TOKEN_FULLNAME L"fullname"
  67. #define TOKEN_ADDSET L"addset"
  68. #define TOKEN_MODE L"mode"
  69. #define TOKEN_SET L"set"
  70. #define TOKEN_ADD L"add"
  71. #define TOKEN_DELETE L"delete"
  72. #define TOKEN_REPORT L"report"
  73. #define TOKEN_DOMAIN L"domain"
  74. #define TOKEN_SERVER L"server"
  75. #define TOKEN_FLAG L"flag"
  76. #define TOKEN_LEVEL L"level"
  77. #define TOKEN_STANDARD L"standard"
  78. #define TOKEN_LEGACY L"legacy"
  79. #define TOKEN_STATE L"state"
  80. #define TOKEN_ENABLED L"enabled"
  81. #define TOKEN_DISABLED L"disabled"
  82. #define TOKEN_NODCC L"nodcc"
  83. #define TOKEN_BYPASS L"bypass"
  84. #define TOKEN_PAP L"PAP"
  85. #define TOKEN_SPAP L"SPAP"
  86. #define TOKEN_MD5CHAP L"MD5CHAP"
  87. #define TOKEN_MSCHAP L"MSCHAP"
  88. #define TOKEN_MSCHAP2 L"MSCHAPv2"
  89. #define TOKEN_EAP L"EAP"
  90. #define TOKEN_TYPE L"type"
  91. #define TOKEN_COMPONENT L"component"
  92. #define TOKEN_SWC L"SWC"
  93. #define TOKEN_LCP L"LCP"
  94. #define TOKEN_MULTI L"MULTI"
  95. #define TOKEN_BACP L"BACP"
  96. #define DMP_RAS_PUSHD L"pushd ras\n\n"
  97. #define DMP_RAS_POPD L"\npopd\n"
  98. //
  99. // Strings used by the 'ras ip' context
  100. //
  101. #define CMD_RASIP_HELP1 L"help"
  102. #define CMD_RASIP_HELP2 L"?"
  103. #define CMD_RASIP_DUMP L"dump"
  104. #define CMD_RASIP_SHOW_CONFIG L"config"
  105. #define CMD_RASIP_SET_NEGOTIATION L"negotiation"
  106. #define CMD_RASIP_SET_ACCESS L"access"
  107. #define CMD_RASIP_SET_ASSIGNMENT L"addrassign"
  108. #define CMD_RASIP_SET_CALLERSPEC L"addrreq"
  109. #define CMD_RASIP_SET_NETBTBCAST L"broadcastnameresolution"
  110. #define CMD_RASIP_ADD_RANGE L"range"
  111. #define CMD_RASIP_DEL_RANGE L"range"
  112. #define CMD_RASIP_DEL_POOL L"pool"
  113. #define DMP_RASIP_SHOW_CONFIG L"show config"
  114. #define DMP_RASIP_SET_NEGOTIATION L"set negotiation"
  115. #define DMP_RASIP_SET_ACCESS L"set access"
  116. #define DMP_RASIP_SET_ASSIGNMENT L"set addrassign"
  117. #define DMP_RASIP_SET_CALLERSPEC L"set addrreq"
  118. #define DMP_RASIP_SET_NETBTBCAST L"set broadcastnameresolution"
  119. #define DMP_RASIP_ADD_RANGE L"add range"
  120. #define DMP_RASIP_DEL_RANGE L"delete range"
  121. #define DMP_RASIP_DEL_POOL L"delete pool"
  122. #define TOKEN_METHOD L"method"
  123. #define TOKEN_FROM L"from"
  124. #define TOKEN_TO L"to"
  125. #define TOKEN_MODE L"mode"
  126. #define TOKEN_AUTO L"auto"
  127. #define TOKEN_POOL L"pool"
  128. #define TOKEN_ALLOW L"allow"
  129. #define TOKEN_DENY L"deny"
  130. #define TOKEN_ALL L"all"
  131. #define TOKEN_SERVERONLY L"serveronly"
  132. #define DMP_RASIP_PUSHD L"pushd ras ip\n\n"
  133. #define DMP_RASIP_POPD L"\npopd\n"
  134. //
  135. // Strings used by the 'ras ipx' context
  136. //
  137. #define CMD_RASIPX_HELP1 L"help"
  138. #define CMD_RASIPX_HELP2 L"?"
  139. #define CMD_RASIPX_DUMP L"dump"
  140. #define TOKEN_AUTOSAME L"autosame"
  141. #define TOKEN_POOLSAME L"poolsame"
  142. #define TOKEN_FIRSTNET L"firstnet"
  143. #define TOKEN_SIZE L"size"
  144. #define TOKEN_DYNAMIC L"dynamic"
  145. #define CMD_RASIPX_SHOW_CONFIG L"config"
  146. #define CMD_RASIPX_SET_NEGOTIATION L"negotiation"
  147. #define CMD_RASIPX_SET_ACCESS L"access"
  148. #define CMD_RASIPX_SET_ASSIGNMENT L"netassign"
  149. #define CMD_RASIPX_SET_POOL L"pool"
  150. #define CMD_RASIPX_SET_CALLERSPEC L"nodereq"
  151. #define DMP_RASIPX_SHOW_CONFIG L"show config"
  152. #define DMP_RASIPX_SET_NEGOTIATION L"set negotiation"
  153. #define DMP_RASIPX_SET_ACCESS L"set access"
  154. #define DMP_RASIPX_SET_ASSIGNMENT L"set netassign"
  155. #define DMP_RASIPX_SET_POOL L"set pool"
  156. #define DMP_RASIPX_SET_CALLERSPEC L"set nodereq"
  157. #define DMP_RASIPX_PUSHD L"pushd ras ipx\n\n"
  158. #define DMP_RASIPX_POPD L"\npopd\n"
  159. //
  160. // Strings used by the 'ras nbf' context
  161. //
  162. #define CMD_RASNBF_HELP1 L"help"
  163. #define CMD_RASNBF_HELP2 L"?"
  164. #define CMD_RASNBF_DUMP L"dump"
  165. #define CMD_RASNBF_SHOW_CONFIG L"config"
  166. #define CMD_RASNBF_SET_NEGOTIATION L"negotiation"
  167. #define CMD_RASNBF_SET_ACCESS L"access"
  168. #define DMP_RASNBF_SHOW_CONFIG L"show config"
  169. #define DMP_RASNBF_SET_NEGOTIATION L"set negotiation"
  170. #define DMP_RASNBF_SET_ACCESS L"set access"
  171. #define DMP_RASNBF_PUSHD L"pushd ras netbeui\n\n"
  172. #define DMP_RASNBF_POPD L"\npopd\n"
  173. //
  174. // Strings used by the 'ras at' context
  175. //
  176. #define CMD_RASAT_HELP1 L"help"
  177. #define CMD_RASAT_HELP2 L"?"
  178. #define CMD_RASAT_DUMP L"dump"
  179. #define CMD_RASAT_SHOW_CONFIG L"config"
  180. #define CMD_RASAT_SET_NEGOTIATION L"negotiation"
  181. #define DMP_RASAT_SHOW_CONFIG L"show config"
  182. #define DMP_RASAT_SET_NEGOTIATION L"set negotiation"
  183. #define DMP_RASAT_PUSHD L"pushd ras appletalk\n\n"
  184. #define DMP_RASAT_POPD L"\npopd\n"
  185. //
  186. // Strings used by the 'ras aaaa' context
  187. //
  188. #define CMD_RASAAAA_HELP1 L"help"
  189. #define CMD_RASAAAA_HELP2 L"?"
  190. #define CMD_RASAAAA_DUMP L"dump"
  191. #define CMD_RASAAAA_ADD_AUTHSERV L"authserver"
  192. #define CMD_RASAAAA_ADD_ACCTSERV L"acctserver"
  193. #define CMD_RASAAAA_DEL_AUTHSERV L"authserver"
  194. #define CMD_RASAAAA_DEL_ACCTSERV L"acctserver"
  195. #define CMD_RASAAAA_SET_AUTH L"authentication"
  196. #define CMD_RASAAAA_SET_ACCT L"accounting"
  197. #define CMD_RASAAAA_SET_AUTHSERV L"authserver"
  198. #define CMD_RASAAAA_SET_ACCTSERV L"acctserver"
  199. #define CMD_RASAAAA_SHOW_AUTH L"authentication"
  200. #define CMD_RASAAAA_SHOW_ACCT L"accounting"
  201. #define CMD_RASAAAA_SHOW_AUTHSERV L"authserver"
  202. #define CMD_RASAAAA_SHOW_ACCTSERV L"acctserver"
  203. #define DMP_RASAAAA_ADD_AUTHSERV L"add authserver"
  204. #define DMP_RASAAAA_ADD_ACCTSERV L"add acctserver"
  205. #define DMP_RASAAAA_DEL_AUTHSERV L"delete authserver"
  206. #define DMP_RASAAAA_DEL_ACCTSERV L"delete acctserver"
  207. #define DMP_RASAAAA_SET_AUTH L"set authentication"
  208. #define DMP_RASAAAA_SET_ACCT L"set accounting"
  209. #define DMP_RASAAAA_SET_AUTHSERV L"set authserver"
  210. #define DMP_RASAAAA_SET_ACCTSERV L"set acctserver"
  211. #define DMP_RASAAAA_SHOW_AUTH L"show authentication"
  212. #define DMP_RASAAAA_SHOW_ACCT L"show accounting"
  213. #define DMP_RASAAAA_SHOW_AUTHSERV L"show authserver"
  214. #define DMP_RASAAAA_SHOW_ACCTSERV L"show acctserver"
  215. #define TOKEN_SECRET L"secret"
  216. #define TOKEN_PORT L"port"
  217. #define TOKEN_INITSCORE L"init-score"
  218. #define TOKEN_TIMEOUT L"timeout"
  219. #define TOKEN_SIGNATURE L"signature"
  220. #define TOKEN_MESSAGES L"messages"
  221. #define TOKEN_WINDOWS L"windows"
  222. #define TOKEN_RADIUS L"radius"
  223. #define TOKEN_PROVIDER L"provider"
  224. #define TOKEN_RASAAAA_ALLSERVERS L"*"
  225. #define DMP_RASAAAA_PUSHD L"pushd ras aaaa\n\n"
  226. #define DMP_RASAAAA_POPD L"\npopd\n"
  227. //
  228. // Strings used by the 'ras diag' context
  229. //
  230. #define CMD_TRACE_SET L"tracing"
  231. #define CMD_TRACE_SHOW L"tracing"
  232. #define CMD_RASDIAG_SET_TRACEALL L"tracefacilities"
  233. #define CMD_RASDIAG_SHOW_TRACEALL L"tracefacilities"
  234. #define CMD_RASDIAG_SET_RASTRACE L"rastracing"
  235. #define CMD_RASDIAG_SHOW_RASTRACE L"rastracing"
  236. #define DMP_TRACE_SET L"set rastracing"
  237. #define CMD_RASDIAG_SET_MODEMTRACE L"modemtracing"
  238. #define CMD_RASDIAG_SHOW_MODEMTRACE L"modemtracing"
  239. #define DMP_RASDIAG_SET_MODEMTRACE L"set modemtracing"
  240. #define CMD_RASDIAG_SET_CMTRACE L"cmtracing"
  241. #define CMD_RASDIAG_SHOW_CMTRACE L"cmtracing"
  242. #define DMP_RASDIAG_SET_CMTRACE L"set cmtracing"
  243. #define CMD_RASDIAG_SET_AUDITING L"securityeventlog"
  244. #define CMD_RASDIAG_SHOW_AUDITING L"securityeventlog"
  245. #define DMP_RASDIAG_SET_AUDITING L"set securityeventlogs"
  246. #define CMD_RASDIAG_SHOW_LOGS L"logs"
  247. #define CMD_RASDIAG_SHOW_ALL L"all"
  248. #define CMD_RASDIAG_SHOW_RASCHK L"installation"
  249. #define CMD_RASDIAG_SHOW_CONFIG L"configuration"
  250. #define CMD_RASDIAG_SHOW_NETCOMP L"netcomponents"
  251. #define CMD_RASDIAG_ADD_NETCOMP L"netcomponents"
  252. #define CMD_RASDIAG_DEL_NETCOMP L"netcomponents"
  253. #define CMD_RASDIAG_REPAIR L"repair"
  254. #define TOKEN_NETADAPTERS L"netadapters"
  255. #define TOKEN_NETPROTOCOL L"netprotocols"
  256. #define TOKEN_NETSERVICES L"netservices"
  257. #define TOKEN_NETCLIENTS L"netclients"
  258. #define TOKEN_ANSWERFILE L"answerfile"
  259. #define TOKEN_CLEARED L"clear"
  260. #define TOKEN_HOURS L"hours"
  261. #define TOKEN_COMPRESSION L"compression"
  262. #define TOKEN_EMAIL L"email"
  263. #define TOKEN_DESTINATION L"destination"
  264. #define TOKEN_VERBOSE L"verbose"
  265. #define DMP_RASDIAG_PUSHD L"pushd ras diagnostics\n\n"
  266. #define DMP_RASDIAG_POPD L"\npopd\n"