Adding or removing UNIX subordinate servers

Applies To: Windows Server 2008 R2, Windows Server 2012

Adding or removing UNIX-based subordinate servers

  • Using the Windows interface

  • Using a command line

Using the Windows interface

The following procedures are carried out in the Identity Management for UNIX management console.

Adding a UNIX-based subordinate server

To add a UNIX-based subordinate server

  1. Open the Identity Management for UNIX management console by clicking Start , pointing to Administrative Tools , and then clicking MicrosoftIdentity Management for UNIX .

    You can also open the Identity Management for UNIX management console from within Server Manager, by expanding Roles and then Active Directory Domain Services in the hierarchy pane, and then selecting Microsoft Identity Management for UNIX .

  2. If necessary, connect to the computer you want to manage by using the procedure in Connect to another computer you want to manage.

  3. Click Server for NIS in the hierarchy pane.

  4. In the console tree, expand Server for NIS and view the list of Network Information Service (NIS) domains.

  5. In the domain you want to modify, click the NIS Servers node.

  6. With the NIS Servers node selected, do one of the following:

    • Right-click NIS Servers , and then click Add NIS Server .

    • Click Add NIS Server in the Actions pane.

    • On the Action menu, click Add NIS Server .

  7. On the Add NIS Server dialog box, specify the name of the UNIX-based computer you want to add, or its IP address.

  8. Click OK .

Removing a UNIX-based subordinate server

To remove a UNIX-based subordinate server

  1. Open the Identity Management for UNIX snap-in by clicking Start , pointing to All Programs , and then clicking Identity Management for UNIX .

  2. If necessary, connect to the computer you want to manage by using the procedure in Connect to another computer you want to manage.

  3. Click Server for NIS in the hierarchy pane.

  4. In the console tree, expand Server for NIS and view the list of Network Information Service (NIS) domains.

  5. In the domain you want to modify, click the NIS Servers node.

  6. In the results pane, select the UNIX-based subordinate server that you want to remove.

  7. With the computer selected in the results pane, do one of the following:

    • Right-click the computer, and then click Delete .

    • Click Delete in the Actions pane.

    • On the Action menu, click Delete .

  8. If you are sure you want to delete the computer from control by this domain, click OK when prompted by Server for NIS.

Using a command line

Note

To view the complete syntax for this command, at a command prompt, type: nismap /?

To add or remove UNIX-based subordinate servers by using the command line

  1. To add a UNIX-based subordinate server, at a command prompt, type the following, where Subordinate represents the name or IP address of the computer you want to add, and NISDomain represents the name of the NIS domain to which you want to add the computer.

    nismap add -e "Subordinate"-aNISDomainypservers

    To remove a server, at a command prompt, type the following, where Subordinate represents the name or IP address of the computer you want to remove, and NISDomain represents the name of the NIS domain from which you want to remove the computer.

    nismap del -k   Subordinate   -a   NISDomain   ypservers  

  2. Press ENTER .

The following table describes the parameters for the nismap command that are used in this procedure. For more about the nismap command, see nismap.

Argument Description

add

Adds a map entry. The following options and arguments are used with add :

-e " mapentry "   Specifies the new map entry as a string in the appropriate NIS map format. The string must be enclosed in quotation marks ( " " ).

del

Deletes an existing map entry. The following option and argument are required with del :

-kkey    Specifies the search key that identifies the map entry to be deleted.

Subordinate

The UNIX Network Information Service (NIS) server on which you want the nismap command to act.

NISDomain

The name of the NIS domain to which you want to add or remove UNIX-based subordinate servers.

See Also

Concepts

Server for NIS Administration