Article ID: 324222 - Last Review: October 30, 2006 - Revision: 5.1 HOW TO: Migrate User and Group InformationThis article was previously published under Q324222 On This PageSUMMARY
When you migrate from Apache and UNIX to Windows and Internet Information Services (IIS), you must migrate user authentication information. This article describes how to migrate most of the Apache-based user and group information to Windows. Migrating File-Based User and Group DataIf you are using Apache or httpd password files under Apache and UNIX or if you are using the UNIX authentication system (/etc/passwd), the user and group information is stored in a simple text file. You must create all users under Windows in the Windows 2000 folder, as if the user is a standard user. However, if you perform this task manually, it may take a long period of time.You can use the addusers command, which is part of the Windows 2000 Resource Kit, to automatically create a number of users and groups based on the information in a text file. The format of the file is a little different from the file that is used by Apache; therefore, you must copy the existing files to a new text file before you use the file with the addusers command. The file uses the Windows .ini file format, which means that the file is logically split into sections by [section] headers. Data in each section is separated by commas. The following text is an example of the users section in this file:
[Users]
Unfortunately, you must reset the password information unless you have a copy of the unencrypted password as part of your Web site.
Additional sections are [Global] for global groups (the groups that are propagated through Active Directory to other hosts) and [Local] for groups that are local to the current computer. User Name , Full name, Password, Description, HomeDrive, Homepath, Profile, Script The following text is an example of the format for these sections:
[Global]
Note that lines in this section must end with a comma (,).
The following text is an example of the file that you use to create two users and a global group:
Global Group Name, Comment, UserName1 , UserName2, ... [Local] Local Group Name, Comment, UserName1 , UserName2 ...
[User] smith,Smith Jeff,,,,,, kim, Kim Abercrombie,,,,,, [Global] DevTeam,Development Team,jeff,kim, Importing Users and Groups from a UNIX System
Migrating NIS DataIf you are using Network Information Service (NIS) servers to hold the user information that is used to authenticate users in Apache, Microsoft recommends that you consider migrating the NIS data to the NIS Server by using the Windows Services for UNIX program kit. As part of the migration process, NIS data is migrated to Windows 2000 Active Directory. Existing UNIX platforms can continue to use the NIS data that is provided and Windows 2000-based servers can use the Active Directory-based information for authenticating users.Using the IIS Migration WizardYou can use the IIS Migration Wizard to migrate data and user and group information for a Web site from a UNIX and Apache host to Windows 2000 and IIS.REFERENCES
For more information about Windows Services for UNIX 3.0 and the NIS migration tool, visit the following Microsoft Web site: http://www.microsoft.com/presspass/press/2002/may02/05-08sfu30rtmpr.mspx (http://www.microsoft.com/presspass/press/2002/may02/05-08sfu30rtmpr.mspx) For additional information about using the IIS Migration Wizard, click the article number below to view the article in the Microsoft Knowledge Base: 324063
(http://support.microsoft.com/kb/324063/EN-US/
)
HOW TO: Use the IIS Migration Wizard for a UNIX-to-Windows Migration
For additional information about securing IIS for a UNIX-to-Windows Migration, click the article number below to view the article in the Microsoft Knowledge Base: 324216
(http://support.microsoft.com/kb/324216/EN-US/
)
HOW TO: Secure IIS in a UNIX-to-Windows Migration
APPLIES TO
| Article Translations
|
Back to the top
