Task 1: Install Server for NIS on a Domain Controller

Applies To: Windows Server 2003 R2

Server for Network Information Service (NIS) must be installed on a Windows Server operating system that is an Active Directory domain controller. The option to install Server for NIS is unavailable on a computer unless it is a domain controller.

This topic contains the following sections:

Verify that your computer is a domain controller

Promote your computer to a domain controller

Install Server for NIS

Continue with Server for NIS Setup

Verify that your computer is a domain controller

If you are uncertain whether the computer on which you want to install Server for NIS is a domain controller, click Start, click Administrative Tools, and then click Manage Your Server. The Manage Your Server window lists the roles installed on the computer under the text Your server has been configured with the following roles, and specifies whether a computer is a domain controller.

Domain controllers also include tools installed with Administrative Tools that are not available on other computers, such as Active Directory Domains and Trusts, Active Directory Sites and Services, and Active Directory Users and Computers.

If the computer is not a domain controller, follow the procedure Promote your computer to a domain controller. Otherwise, proceed to Install Server for NIS.

Promote your computer to a domain controller

If the computer on which you want to install Server for NIS is not a domain controller, perform the steps in this section. Otherwise, proceed to Install Server for NIS.

Important

Because promoting your computer to a domain controller requires domain administrator access, and can remove the computer from your network, read Domain controllers and all related topics, in the Active Directory Help before promoting your computer to a domain controller.

  1. Click Start, click Run, type dcpromo in the text box, and then click OK.

    The Active Directory Installation Wizard opens.

  2. Click Next.

  3. On the Operating System Compatibility page, read the information and then click Next.

    If this is the first time you have installed Active Directory on a server running Windows Server 2003, click Compatibility Help for more information.

  4. On the Domain Controller Type page, click to select one of two options:

    • Additional domain controller for an existing domain

      This option requires that you are a member of the Domain Admins group for the target domain.

      If you choose this option, keep in mind that if Server for NIS is already running as an NIS master server on a domain controller within the existing domain, then Server for NIS must function as an NIS subordinate (also known as slave) server on this computer.

    • Domain controller for a new domain

      If you choose this option, you must configure this installation of Server for NIS as the NIS master server, until one or more additional domain controllers are configured within the new domain.

  5. Click Next.

    • If you chose Additional domain controller for an existing domain, follow the procedure Create an additional domain controller in the Windows Server 2003 Help, starting with Step 4.

    • If you chose Domain controller for a new domain, go on to the next step in this section.

  6. On the Create New Domain page, choose one of the following options:

Note

If you choose to create a new domain, you must configure this installation of Server for NIS as the NIS master server, until one or more additional domain controllers are configured within the new domain.

  • Child domain in an existing domain tree

    You must be a member of the Enterprise Admins group to continue with this installation.

  • Domain tree in an existing forest

    You must be a member of the Enterprise Admins group to continue with this installation.

  • Domain in a new forest

    Creating a new forest requires some advance planning. Before creating a new forest, decide on a practical Domain Name System (DNS) name for this computer, as well as a NetBIOS name. For more information, see Namespace planning for DNS in Windows Server 2003 Help.

  1. Click Next.

  2. Complete setup using the Windows Server 2003 Help procedure for the domain option you selected in Step 6 of this section.

  3. When you have completed the Active Directory Installation Wizard and successfully configured your domain controller, proceed to Install Server for NIS.

Install Server for NIS

You can install Server for NIS using either the Windows interface, or by using command-line tools.

To install Server for NIS by using the Windows interface

To install Server for NIS by using command-line tools

To install Server for NIS by using the Windows interface

Before installing Server for NIS, have your Windows Server 2003 product CD available, or have available the network path to your Windows Server 2003 R2 installation files. The Server for NIS installation process may prompt you to locate required files that are stored on the product CD.

  1. Click Start, click Control Panel, and then click Add or Remove Programs.

  2. Click Add/Remove Windows Components.

  3. When the Windows Components Wizard opens, click to fill the Active Directory Services check box.

  4. With Active Directory Services highlighted, click Details.

  5. When the Active Directory Services dialog box opens, click to fill the Identity Management for UNIX check box.

  6. With Identity Management for UNIX highlighted, click Details.

  7. When the Identity Management for UNIX dialog box opens, click to fill the Server for NIS check box.

    Because Administration Components are required for Server for NIS operation, this item is automatically selected for installation when you select Server for NIS.

  8. Click OK.

    The Windows Components Wizard begins installing the Identity Management for UNIX components you selected.

  9. If you are prompted to locate files required for Server for NIS installation, insert the Windows Server 2003 R2 product CD, or browse to the network location of your Windows Server 2003 R2 installation files.

  10. If NIS map data compatible with Windows Services for UNIX 3.5 is stored in Active Directory, the Server for NIS installation process automatically migrates the data, and uses it to populate Server for NIS maps.

  11. When installation completes, restart your computer to begin working with Server for NIS.

To install Server for NIS by using command-line tools

You can use an answer file to run the Identity Management for UNIX Installation Wizard without your having to be present for interactive responses. Create the answer file, and then run it at a command prompt on the installation computer.

Have your Windows Server 2003 product CD available for this command-line installation.

Perform the following steps to install Server for NIS by using a command-line environment:

  1. Create an unattended answer file in %windir% with the following contents.

    Note

    The unattended answer file is a plain text file that Windows Server uses to respond to prompts about your installation preferences. For more information about unattended installations, see Unattended Installation Fundamentals in the Windows Server 2003 Deployment Guide.

    [Components]

    Snis=on

    Psync=on

    Idmumgmt=on

  2. At a command prompt, type the following, and press Enter.

    synocmgr /i:%windir%\inf\sysoc.inf /u:<answerfile.txt> /q

Continue with Server for NIS Setup

To continue setting up Server for NIS, go on to Task 2: Migrate NIS Maps to Active Directory.

See Also

Other Resources

Checklist: Installing a domain controller Installing and uninstalling Server for NIS How Unattended Installation Works Unattended Installation Fundamentals