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

#define MSG_HELP_START L"%1!-14s! - "
#define MSG_NEWLINE L"\n"
#define CMD_GROUP_ADD L"add"
#define CMD_GROUP_DEL L"delete"
#define CMD_GROUP_SHOW L"show"
#define CMD_GROUP_SET L"set"
#define CMD_GROUP_ENABLE L"enable"
#define CMD_GROUP_DISABLE L"disable"
#define CMD_GROUP_REGISTER L"register"
#define CMD_GROUP_UNREGISTER L"unregister"
#define CMD_RAS_HELP1 L"help"
#define CMD_RAS_HELP2 L"?"
#define CMD_RAS_DUMP L"dump"
#define CMD_RASFLAG_SET L"rasflag"
#define CMD_RASFLAG_SHOW L"rasflag"
#define CMD_RASFLAG_AUTHMODE_SET L"authmode"
#define CMD_RASFLAG_AUTHMODE_SHOW L"authmode"
#define CMD_RASFLAG_AUTHTYPE_ADD L"authtype"
#define CMD_RASFLAG_AUTHTYPE_DEL L"authtype"
#define CMD_RASFLAG_AUTHTYPE_SHOW L"authtype"
#define CMD_RASFLAG_LINK_ADD L"link"
#define CMD_RASFLAG_LINK_DEL L"link"
#define CMD_RASFLAG_LINK_SHOW L"link"
#define CMD_RASFLAG_MLINK_ADD L"multilink"
#define CMD_RASFLAG_MLINK_DEL L"multilink"
#define CMD_RASFLAG_MLINK_SHOW L"multilink"
#define CMD_RASUSER_SHOW L"user"
#define CMD_RASUSER_SET L"user"
#define CMD_DOMAIN_REGISTER L"registeredserver"
#define CMD_DOMAIN_UNREGISTER L"registeredserver"
#define CMD_DOMAIN_SHOWREG L"registeredserver"
#define CMD_SHOW_SERVERS L"activeservers"
#define CMD_SHOW_CLIENT L"client"
#define DMP_RASFLAG_SET L"set rasflag"
#define DMP_RASFLAG_SHOW L"show rasflag"
#define DMP_RASFLAG_AUTHMODE_SET L"set authmode"
#define DMP_RASFLAG_AUTHMODE_SHOW L"show authmode"
#define DMP_RASFLAG_AUTHTYPE_ADD L"add authtype"
#define DMP_RASFLAG_AUTHTYPE_DEL L"delete authtype"
#define DMP_RASFLAG_AUTHTYPE_SHOW L"show authtype"
#define DMP_RASFLAG_LINK_ADD L"add link"
#define DMP_RASFLAG_LINK_DEL L"delete link"
#define DMP_RASFLAG_LINK_SHOW L"show link"
#define DMP_RASFLAG_MLINK_ADD L"add multilink"
#define DMP_RASFLAG_MLINK_DEL L"delete multilink"
#define DMP_RASFLAG_MLINK_SHOW L"show multilink"
#define DMP_RASUSER_SHOW L"show user"
#define DMP_RASUSER_SET L"set user"
#define DMP_DOMAIN_REGISTER L"add registeredserver"
#define DMP_DOMAIN_UNREGISTER L"delete registeredserver"
#define DMP_DOMAIN_SHOWREG L"show registeredserver"
#define DMP_SHOW_SERVERS L"show activeservers"
#define DMP_SHOW_CLIENT L"show client"
#define TOKEN_NAME L"name"
#define TOKEN_DIALIN L"dialin"
#define TOKEN_CBPOLICY L"cbpolicy"
#define TOKEN_CBNUMBER L"cbnumber"
#define TOKEN_PERMIT L"permit"
#define TOKEN_POLICY L"policy"
#define TOKEN_DENY L"deny"
#define TOKEN_NONE L"none"
#define TOKEN_ADMIN L"admin"
#define TOKEN_CALLER L"caller"
#define TOKEN_FILE L"file"
#define TOKEN_PASSWORD L"password"
#define TOKEN_FULLNAME L"fullname"
#define TOKEN_ADDSET L"addset"
#define TOKEN_MODE L"mode"
#define TOKEN_SET L"set"
#define TOKEN_ADD L"add"
#define TOKEN_DELETE L"delete"
#define TOKEN_REPORT L"report"
#define TOKEN_DOMAIN L"domain"
#define TOKEN_SERVER L"server"
#define TOKEN_FLAG L"flag"
#define TOKEN_LEVEL L"level"
#define TOKEN_STANDARD L"standard"
#define TOKEN_LEGACY L"legacy"
#define TOKEN_STATE L"state"
#define TOKEN_ENABLED L"enabled"
#define TOKEN_DISABLED L"disabled"
#define TOKEN_NODCC L"nodcc"
#define TOKEN_BYPASS L"bypass"
#define TOKEN_PAP L"PAP"
#define TOKEN_SPAP L"SPAP"
#define TOKEN_MD5CHAP L"MD5CHAP"
#define TOKEN_MSCHAP L"MSCHAP"
#define TOKEN_MSCHAP2 L"MSCHAPv2"
#define TOKEN_EAP L"EAP"
#define TOKEN_TYPE L"type"
#define TOKEN_COMPONENT L"component"
#define TOKEN_SWC L"SWC"
#define TOKEN_LCP L"LCP"
#define TOKEN_MULTI L"MULTI"
#define TOKEN_BACP L"BACP"
#define DMP_RAS_PUSHD L"pushd ras\n\n"
#define DMP_RAS_POPD L"\npopd\n"
//
// Strings used by the 'ras ip' context
//
#define CMD_RASIP_HELP1 L"help"
#define CMD_RASIP_HELP2 L"?"
#define CMD_RASIP_DUMP L"dump"
#define CMD_RASIP_SHOW_CONFIG L"config"
#define CMD_RASIP_SET_NEGOTIATION L"negotiation"
#define CMD_RASIP_SET_ACCESS L"access"
#define CMD_RASIP_SET_ASSIGNMENT L"addrassign"
#define CMD_RASIP_SET_CALLERSPEC L"addrreq"
#define CMD_RASIP_SET_NETBTBCAST L"broadcastnameresolution"
#define CMD_RASIP_ADD_RANGE L"range"
#define CMD_RASIP_DEL_RANGE L"range"
#define CMD_RASIP_DEL_POOL L"pool"
#define DMP_RASIP_SHOW_CONFIG L"show config"
#define DMP_RASIP_SET_NEGOTIATION L"set negotiation"
#define DMP_RASIP_SET_ACCESS L"set access"
#define DMP_RASIP_SET_ASSIGNMENT L"set addrassign"
#define DMP_RASIP_SET_CALLERSPEC L"set addrreq"
#define DMP_RASIP_SET_NETBTBCAST L"set broadcastnameresolution"
#define DMP_RASIP_ADD_RANGE L"add range"
#define DMP_RASIP_DEL_RANGE L"delete range"
#define DMP_RASIP_DEL_POOL L"delete pool"
#define TOKEN_METHOD L"method"
#define TOKEN_FROM L"from"
#define TOKEN_TO L"to"
#define TOKEN_MODE L"mode"
#define TOKEN_AUTO L"auto"
#define TOKEN_POOL L"pool"
#define TOKEN_ALLOW L"allow"
#define TOKEN_DENY L"deny"
#define TOKEN_ALL L"all"
#define TOKEN_SERVERONLY L"serveronly"
#define DMP_RASIP_PUSHD L"pushd ras ip\n\n"
#define DMP_RASIP_POPD L"\npopd\n"
//
// Strings used by the 'ras ipx' context
//
#define CMD_RASIPX_HELP1 L"help"
#define CMD_RASIPX_HELP2 L"?"
#define CMD_RASIPX_DUMP L"dump"
#define TOKEN_AUTOSAME L"autosame"
#define TOKEN_POOLSAME L"poolsame"
#define TOKEN_FIRSTNET L"firstnet"
#define TOKEN_SIZE L"size"
#define TOKEN_DYNAMIC L"dynamic"
#define CMD_RASIPX_SHOW_CONFIG L"config"
#define CMD_RASIPX_SET_NEGOTIATION L"negotiation"
#define CMD_RASIPX_SET_ACCESS L"access"
#define CMD_RASIPX_SET_ASSIGNMENT L"netassign"
#define CMD_RASIPX_SET_POOL L"pool"
#define CMD_RASIPX_SET_CALLERSPEC L"nodereq"
#define DMP_RASIPX_SHOW_CONFIG L"show config"
#define DMP_RASIPX_SET_NEGOTIATION L"set negotiation"
#define DMP_RASIPX_SET_ACCESS L"set access"
#define DMP_RASIPX_SET_ASSIGNMENT L"set netassign"
#define DMP_RASIPX_SET_POOL L"set pool"
#define DMP_RASIPX_SET_CALLERSPEC L"set nodereq"
#define DMP_RASIPX_PUSHD L"pushd ras ipx\n\n"
#define DMP_RASIPX_POPD L"\npopd\n"
//
// Strings used by the 'ras nbf' context
//
#define CMD_RASNBF_HELP1 L"help"
#define CMD_RASNBF_HELP2 L"?"
#define CMD_RASNBF_DUMP L"dump"
#define CMD_RASNBF_SHOW_CONFIG L"config"
#define CMD_RASNBF_SET_NEGOTIATION L"negotiation"
#define CMD_RASNBF_SET_ACCESS L"access"
#define DMP_RASNBF_SHOW_CONFIG L"show config"
#define DMP_RASNBF_SET_NEGOTIATION L"set negotiation"
#define DMP_RASNBF_SET_ACCESS L"set access"
#define DMP_RASNBF_PUSHD L"pushd ras netbeui\n\n"
#define DMP_RASNBF_POPD L"\npopd\n"
//
// Strings used by the 'ras at' context
//
#define CMD_RASAT_HELP1 L"help"
#define CMD_RASAT_HELP2 L"?"
#define CMD_RASAT_DUMP L"dump"
#define CMD_RASAT_SHOW_CONFIG L"config"
#define CMD_RASAT_SET_NEGOTIATION L"negotiation"
#define DMP_RASAT_SHOW_CONFIG L"show config"
#define DMP_RASAT_SET_NEGOTIATION L"set negotiation"
#define DMP_RASAT_PUSHD L"pushd ras appletalk\n\n"
#define DMP_RASAT_POPD L"\npopd\n"
//
// Strings used by the 'ras aaaa' context
//
#define CMD_RASAAAA_HELP1 L"help"
#define CMD_RASAAAA_HELP2 L"?"
#define CMD_RASAAAA_DUMP L"dump"
#define CMD_RASAAAA_ADD_AUTHSERV L"authserver"
#define CMD_RASAAAA_ADD_ACCTSERV L"acctserver"
#define CMD_RASAAAA_DEL_AUTHSERV L"authserver"
#define CMD_RASAAAA_DEL_ACCTSERV L"acctserver"
#define CMD_RASAAAA_SET_AUTH L"authentication"
#define CMD_RASAAAA_SET_ACCT L"accounting"
#define CMD_RASAAAA_SET_AUTHSERV L"authserver"
#define CMD_RASAAAA_SET_ACCTSERV L"acctserver"
#define CMD_RASAAAA_SHOW_AUTH L"authentication"
#define CMD_RASAAAA_SHOW_ACCT L"accounting"
#define CMD_RASAAAA_SHOW_AUTHSERV L"authserver"
#define CMD_RASAAAA_SHOW_ACCTSERV L"acctserver"
#define DMP_RASAAAA_ADD_AUTHSERV L"add authserver"
#define DMP_RASAAAA_ADD_ACCTSERV L"add acctserver"
#define DMP_RASAAAA_DEL_AUTHSERV L"delete authserver"
#define DMP_RASAAAA_DEL_ACCTSERV L"delete acctserver"
#define DMP_RASAAAA_SET_AUTH L"set authentication"
#define DMP_RASAAAA_SET_ACCT L"set accounting"
#define DMP_RASAAAA_SET_AUTHSERV L"set authserver"
#define DMP_RASAAAA_SET_ACCTSERV L"set acctserver"
#define DMP_RASAAAA_SHOW_AUTH L"show authentication"
#define DMP_RASAAAA_SHOW_ACCT L"show accounting"
#define DMP_RASAAAA_SHOW_AUTHSERV L"show authserver"
#define DMP_RASAAAA_SHOW_ACCTSERV L"show acctserver"
#define TOKEN_SECRET L"secret"
#define TOKEN_PORT L"port"
#define TOKEN_INITSCORE L"init-score"
#define TOKEN_TIMEOUT L"timeout"
#define TOKEN_SIGNATURE L"signature"
#define TOKEN_MESSAGES L"messages"
#define TOKEN_WINDOWS L"windows"
#define TOKEN_RADIUS L"radius"
#define TOKEN_PROVIDER L"provider"
#define TOKEN_RASAAAA_ALLSERVERS L"*"
#define DMP_RASAAAA_PUSHD L"pushd ras aaaa\n\n"
#define DMP_RASAAAA_POPD L"\npopd\n"
//
// Strings used by the 'ras diag' context
//
#define CMD_TRACE_SET L"tracing"
#define CMD_TRACE_SHOW L"tracing"
#define CMD_RASDIAG_SET_TRACEALL L"tracefacilities"
#define CMD_RASDIAG_SHOW_TRACEALL L"tracefacilities"
#define CMD_RASDIAG_SET_RASTRACE L"rastracing"
#define CMD_RASDIAG_SHOW_RASTRACE L"rastracing"
#define DMP_TRACE_SET L"set rastracing"
#define CMD_RASDIAG_SET_MODEMTRACE L"modemtracing"
#define CMD_RASDIAG_SHOW_MODEMTRACE L"modemtracing"
#define DMP_RASDIAG_SET_MODEMTRACE L"set modemtracing"
#define CMD_RASDIAG_SET_CMTRACE L"cmtracing"
#define CMD_RASDIAG_SHOW_CMTRACE L"cmtracing"
#define DMP_RASDIAG_SET_CMTRACE L"set cmtracing"
#define CMD_RASDIAG_SET_AUDITING L"securityeventlog"
#define CMD_RASDIAG_SHOW_AUDITING L"securityeventlog"
#define DMP_RASDIAG_SET_AUDITING L"set securityeventlogs"
#define CMD_RASDIAG_SHOW_LOGS L"logs"
#define CMD_RASDIAG_SHOW_ALL L"all"
#define CMD_RASDIAG_SHOW_RASCHK L"installation"
#define CMD_RASDIAG_SHOW_CONFIG L"configuration"
#define CMD_RASDIAG_SHOW_NETCOMP L"netcomponents"
#define CMD_RASDIAG_ADD_NETCOMP L"netcomponents"
#define CMD_RASDIAG_DEL_NETCOMP L"netcomponents"
#define CMD_RASDIAG_REPAIR L"repair"
#define TOKEN_NETADAPTERS L"netadapters"
#define TOKEN_NETPROTOCOL L"netprotocols"
#define TOKEN_NETSERVICES L"netservices"
#define TOKEN_NETCLIENTS L"netclients"
#define TOKEN_ANSWERFILE L"answerfile"
#define TOKEN_CLEARED L"clear"
#define TOKEN_HOURS L"hours"
#define TOKEN_COMPRESSION L"compression"
#define TOKEN_EMAIL L"email"
#define TOKEN_DESTINATION L"destination"
#define TOKEN_VERBOSE L"verbose"
#define DMP_RASDIAG_PUSHD L"pushd ras diagnostics\n\n"
#define DMP_RASDIAG_POPD L"\npopd\n"