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.
 
 
 
 
 
 

294 lines
15 KiB

#include <winver.h>
#if defined(USE_DS_VER)
#include <dsverp.h>
#else
#include <ntverp.h>
#endif
#define VER_FILETYPE VFT_DLL
#define VER_FILESUBTYPE VFT2_UNKNOWN
#define VER_FILEDESCRIPTION_STR "ADMT Module"
#define VER_INTERNALNAME_STR "ADMTScript"
#define VER_ORIGINALFILENAME_STR VER_INTERNALNAME_STR ".dll"
#include <common.ver>
//Microsoft Developer Studio generated resource script.
//
#include "resource.h"
#define APSTUDIO_READONLY_SYMBOLS
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 2 resource.
//
#include "winres.h"
/////////////////////////////////////////////////////////////////////////////
#undef APSTUDIO_READONLY_SYMBOLS
/////////////////////////////////////////////////////////////////////////////
// English (U.S.) resources
#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
#ifdef _WIN32
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
#pragma code_page(1252)
#endif //_WIN32
#ifdef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// TEXTINCLUDE
//
1 TEXTINCLUDE DISCARDABLE
BEGIN
"resource.h\0"
END
2 TEXTINCLUDE DISCARDABLE
BEGIN
"#include ""winres.h""\r\n"
"\0"
END
3 TEXTINCLUDE DISCARDABLE
BEGIN
"1 TYPELIB ""ADMTScript.tlb""\r\n"
"2 TYPELIB ""Internal.tlb""\r\n"
"\0"
END
#endif // APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// REGISTRY
//
IDR_MIGRATION REGISTRY DISCARDABLE "Migration.rgs"
/////////////////////////////////////////////////////////////////////////////
//
// String Table
//
STRINGTABLE DISCARDABLE
BEGIN
IDS_PROJNAME "ADMTScript"
IDS_STARTED_USER_MIGRATION
"Active Directory Migration Tool - scripted user migration started."
IDS_STARTED_GROUP_MIGRATION
"Active Directory Migration Tool - scripted group migration started."
IDS_STARTED_COMPUTER_MIGRATION
"Active Directory Migration Tool - scripted computer migration started."
IDS_STARTED_SECURITY_TRANSLATION
"Active Directory Migration Tool - scripted security translation started."
IDS_STARTED_SERVICE_ACCOUNT_ENUMERATION
"Active Directory Migration Tool - scripted service account enumeration started."
IDS_E_LOCAL_ADMIN_CHECK_FAILED "You have to be a member of Local Administrators group in order to run ADMT."
IDS_E_UPDATE_REGISTRY_FAILED "Failed to update the ADMT-related registry."
IDS_E_CREATE_USER_MIGRATION "Unable to create user migration instance."
IDS_E_CREATE_GROUP_MIGRATION "Unable to create group migration instance."
IDS_E_CREATE_COMPUTER_MIGRATION
"Unable to create computer migration instance."
IDS_E_CREATE_SECURITY_TRANSLATION
"Unable to create security translation instance."
IDS_E_CREATE_SERVICE_ACCOUNT_ENUMERATION
"Unable to create service account enumeration instance."
END
STRINGTABLE DISCARDABLE
BEGIN
IDS_E_CANT_MIGRATE_USERS "Unable to migrate users."
IDS_E_CANT_MIGRATE_GROUPS "Unable to migrate groups."
IDS_E_CANT_CREATE_CONTAINER_THAT_DEEPLY_NESTED "Too many nested levels -- unable to create a container '%s' under the container '%s'."
IDS_E_CANT_MIGRATE_COMPUTERS "Unable to migrate computers."
IDS_E_CANT_TRANSLATE_SECURITY "Unable to translate security."
IDS_E_CANT_ENUMERATE_SERVICE_ACCOUNTS
"Unable to enumerate service accounts."
IDS_E_CONFLICT_OPTION_INVALID "The specified conflict option is invalid."
IDS_E_CONFLICT_FLAGS_NOT_ALLOWED
"The specified conflict option flags may only be specified if the conflict option is replace conflicting."
IDS_E_DISABLE_OPTION_INVALID "The specified disable option is invalid."
IDS_E_PASSWORD_OPTION_INVALID "The specified password option is invalid."
IDS_E_RENAME_OPTION_INVALID "The specified rename option is invalid."
IDS_E_RESTART_DELAY_INVALID
"The specified restart delay is out of range or invalid. The restart delay must be 1 to 10 minutes or the constant admtNoExpiration (-1)."
IDS_E_SOURCE_EXPIRATION_INVALID
"The specified source expiration is invalid."
IDS_E_TRANSLATION_OPTION_INVALID
"The specified translation option is invalid."
IDS_E_DOMAIN_SPECIFIED "Do not specify the domain name. '%s' will not be processed."
IDS_E_NOT_SOURCE_DOMAIN "Either the domain is not the source domain or the DNS domain name was not specified. '%s' will not be processed."
IDS_E_INVALID_FILTER_STRING "The filter string '%s' is invalid."
END
STRINGTABLE DISCARDABLE
BEGIN
IDS_E_CANT_GET_DOMAIN_INFORMATION
"Unable to get domain information for domain '%s'."
IDS_E_CANT_GET_DOMAIN_CONTROLLER
"Unable to get domain controller name for domain '%s'."
IDS_E_CANT_GET_GLOBAL_CATALOG_SERVER
"Unable to get global catalog server name for forest '%s'."
IDS_E_CANT_GET_DISTINGUISHED_NAME
"Unable to get distinguished name for '%s'."
IDS_E_CANT_CONNECT_TO_DIRECTORY_SERVICE
"Unable to connect to directory service on domain '%s'."
IDS_E_CANT_CREATE_CONTAINER_NT4
"The scripting interface tried to create container in Windows NT 4.x or earlier. Please report this error to Microsoft Product Support Services."
IDS_E_CANT_ADD_GROUP "Unable to add group '%s'. : %s"
IDS_E_CANT_ADD_USER "Unable to add user '%s'. : %s"
IDS_E_CANT_CONNECT_TO_DOMAIN "Unable to connect to domain '%s'. : %s"
IDS_E_CANT_ADD_COMPUTER "Unable to add computer '%s'. : %s"
IDS_E_CANT_EXECUTE_SEARCH "Unable to execute search."
IDS_E_NOT_INTER_FOREST "Inter-forest was specified but source domain '%s' and target domain '%s' are intra-forest."
IDS_E_NOT_INTRA_FOREST "Intra-forest was specified but source domain '%s' and target domain '%s' are inter-forest."
IDS_E_INVALID_OPTION "Invalid option specified."
IDS_E_INVALID_EXCLUDE_DATA_TYPE
"Invalid data type for exclude list. The data type must be either a string specifying a file or an array of strings or an array of variant strings."
IDS_E_INVALID_DATA_OPTION_DATA_TYPE
"Invalid data type for data option. The data type must be a string, an array of strings or an array of variant strings."
END
STRINGTABLE DISCARDABLE
BEGIN
IDS_E_INVALID_FILE_OPTION_DATA_TYPE
"Invalid data type for file option. The data type must be a string."
IDS_E_DATA_OPTION_FLAGS_NOT_ALLOWED
"The specified data option flags may only be specified if the data option is domain."
IDS_E_PASSWORD_DC_INVALID
"The domain controller '%s' specified for password migration is invalid."
IDS_E_PASSWORD_DC_NOT_SPECIFIED
"A domain controller must be specified for the copy password option."
IDS_E_USER_NOT_FOUND "User '%s' was not found or excluded."
IDS_E_GROUP_NOT_FOUND "Group '%s' was not found or excluded."
IDS_E_COMPUTER_NOT_FOUND "Computer '%s' was not found or excluded."
IDS_E_CANT_DO_BUILTIN "Cannot migrate built-in account '%s'."
IDS_E_DOMAIN_NOT_VALID "Domain '%s' is not valid."
IDS_STARTED_REPORT_GENERATION
"Active Directory Migration Tool - scripted report generation started."
IDS_E_REPORT_TYPE_INVALID "The specified report type is invalid."
IDS_E_CANT_GENERATE_REPORT "Unable to generate report."
IDS_E_CREATE_REPORT_GENERATION
"Unable to create report generation instance."
IDS_E_PASSWORD_DC_NOT_NT
"'%s' is not running Windows NT, or greater, and therefore cannot be a password export server."
IDS_E_PASSWORD_DC_NOT_DC
"'%s' is not a domain controller and therefore cannot be a password export server."
IDS_E_PASSWORD_DC_WRONG_DOMAIN
"'%s' is not a domain controller for the source domain and therefore cannot be the password export server."
END
STRINGTABLE DISCARDABLE
BEGIN
IDS_E_INTRA_FOREST_REPLACE
"The conflict replace option is not valid for intra-forest migrations."
IDS_E_ADMT_PROCESS_RUNNING
"Unable to perform migration task as a process from a previous migration operation is still running."
IDS_E_PASSWORD_DC_NOT_FOUND
"Unable to retrieve information on password export server '%s'."
IDS_E_SID_MAPPING_FILE "The specified SID mapping file '%s' is invalid."
IDS_E_NO_RENAME_PREFIX "Rename with prefix was specified but no prefix was specified."
IDS_E_RENAME_NO_SUFFIX "Rename with suffix was specified but no suffix was specified."
IDS_E_NO_CONFLICT_PREFIX
"Rename with prefix conflict option specified but no prefix was specified."
IDS_E_NO_CONFLICT_SUFFIX
"Rename with suffix conflict option specified but no suffix was specified."
IDS_E_PREFIX_SUFFIX_TOO_LONG
"The total length of rename prefix or suffix and/or conflict prefix or suffix exceeds the maximum length allowed. The maximum length allowed is %d characters."
IDS_E_NOT_ADMINISTRATOR "You are not an administrator on target domain '%s'. You must be an administrator on the target domain in order to perform a migration task with ADMT."
IDS_E_INVALID_RENAME_PREFIX_SUFFIX
"The specified rename option prefix or suffix contains invalid characters."
END
STRINGTABLE DISCARDABLE
BEGIN
IDS_E_INVALID_CONFLICT_PREFIX_SUFFIX
"The specified conflict option prefix or suffix contains invalid characters."
IDS_E_UNABLE_TO_UPDATE_DATABASE
"Unable to update the database. The database is a previous version and must be updated before any migration tasks may be performed."
IDS_E_CANT_MIGRATE_DOMAIN_CONTROLLERS
"Unable to add computer '%s'. The computer is a domain controller."
IDS_E_CANT_FIND_COMPUTER
"Unable to add computer '%s'. The computer was not found in the domain."
IDS_E_CANT_ENUMERATE_COMPUTERS
"Unable to enumerate computers in domain '%s'."
IDS_E_DOMAIN_NAME_NOT_SPECIFIED "A domain name was not specified."
IDS_E_CAN_ADD_SID_HISTORY
"Unable to verify configuration required for SID history."
IDS_E_SID_HISTORY_CONFIGURATION
"The following configuration required for SID history has not been performed. %s"
IDS_E_NO_AUDITING_SOURCE
" Auditing has not been enabled in the source domain."
IDS_E_NO_AUDITING_TARGET
" Auditing has not been enabled in the target domain."
IDS_E_NO_SID_HISTORY_LOCAL_GROUP
" Local group, <source_domain_name>$$$, required for auditing has not been created in source domain."
IDS_E_NO_SID_HISTORY_REGISTRY_ENTRY
" The TcpipClientSupport registry key has not been created or set on the source domain controller."
IDS_E_REPORT_FOLDER "The specified report folder '%s' is invalid."
IDS_E_TARGET_CONTAINER_PATH_TOO_LONG
"The specified target organizational unit's path is greater than 999 characters."
IDS_E_PASSWORD_FILE "The specified password file '%s' is invalid."
IDS_E_INCLUDE_NAMES_FILE "Unable to process include names file '%s'."
END
STRINGTABLE DISCARDABLE
BEGIN
IDS_E_REMOVING_SERVICE_ACCOUNTS
"Unable to remove service accounts from the list of accounts to be migrated."
IDS_E_FIX_HIERARCHY_MOVE_OBJECT
"Unable to successfully move object '%s' to container '%s'. %s"
IDS_E_FIX_HIERARCHY_BIND_TO_CONTAINER
"Unable to bind to container '%s'. %s"
IDS_E_CANNOT_GET_CONTAINER "Unable to bind to container '%s'."
IDS_E_CANNOT_MIGRATE_DOMAIN_CONTROLLERS
"The computer '%s' is a domain controller. Domain controllers cannot be migrated."
IDS_E_CANNOT_PROCESS_ACCOUNTS_IN_DOMAIN
"Unable to process accounts in domain '%s'. %s 0x%08lX"
IDS_E_CANNOT_RESOLVE_NAME "The name '%s' could not be resolved."
IDS_E_ACCOUNT_EXCLUDED "Account '%s' was excluded."
IDS_E_OBJECT_NOT_OF_CLASS
"Account '%s' was not included because it is not the correct object class."
IDS_E_TARGET_DOMAIN_NOT_NATIVE_MODE
"The target domain '%s' is not in native mode."
IDS_E_CANNOT_CREATE_CONTAINER
"Unable to create organizational unit '%s' in container '%s'."
IDS_E_SID_HISTORY_MUST_RUN_ON_DOMAIN_CONTROLLER
"SID history requires that this program is run on a domain controller in the target domain when the source domain is Windows NT 4 or earlier."
IDS_E_SID_HISTORY_SOURCE_MUST_TRUST_TARGET
"SID history requires that the source domain trust the target domain when the source domain is Windows NT 4 or earlier."
IDS_E_NO_SID_HISTORY_DOMAIN_ADMIN
" You must be a domain administrator in the target domain."
IDS_E_CALLER_NOT_DELEGATED
"Caller's acccount is marked as sensitive and cannot be delegated. In order to perform an intra-forest move operation ADMT must be run with an account that may be delegated."
IDS_E_UNABLE_VERIFY_CALLER_NOT_DELEGATED
"Unable to verify whether caller's account may be delegated."
END
STRINGTABLE DISCARDABLE
BEGIN
IDS_E_UNABLE_SET_EXCLUDED_SYSTEM_PROPERTIES
"Unable to set default excluded system properties."
END
#endif // English (U.S.) resources
/////////////////////////////////////////////////////////////////////////////
#ifndef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 3 resource.
//
1 TYPELIB "ADMTScript.tlb"
2 TYPELIB "Internal.tlb"
/////////////////////////////////////////////////////////////////////////////
#endif // not APSTUDIO_INVOKED