Creating a simple group map

Applies To: Windows Server 2003 R2

To create a simple group map from the Windows interface

  1. Open Microsoft Services for Network File System: click Start, point to Programs, point to Administrative Tools, and then click Microsoft Services for Network File System.

  2. If necessary, connect to the computer you want to manage.

  3. Right-click User Name Mapping and select Properties.

  4. Click the Simple Maps tab.

  5. Select Use simple maps.

  6. Click Add.

  7. If you are creating a simple map using Network Information Service (NIS) data, in the NIS domain name box, type the name of the NIS domain. If the master server of the NIS domain is located on a different subnet than the User Name Mapping server, then in the NIS Server name box, type the name of the master server.

  8. Select the Windows domain for which you are creating a simple map.

  9. Click OK.

  10. To add another simple map between a Windows and an NIS domain, repeat the previous step.

  11. To remove a simple map between a Windows and an NIS domain, select the map, and then click Remove.

  12. To reposition a simple map between a Windows and an NIS domain in the list, select the map, and then click Move up or Move down.

  13. To save the settings, click Apply.

    Note

    You can create multiple simple maps between Windows and NIS domains. Maps are evaluated from the top of the list of maps to the bottom.

To create a simple group map from the command line

  1. Open the command prompt.

  2. At the command prompt, do one of the following:

    • To supply required information for authentication using password and group files, type:

      mapadmin [ComputerName] [–uUser**] [–pPassword] adddomainmap –dntDomain–fPasswd/**GroupDirectory

    • To supply required information for Network Information Service (NIS) authentication, type:

      mapadmin [ComputerName] [–uUser**] [–pPassword] adddomainmap –dntDomain–y**nisDomain

    Argument Description

    ComputerName

    The name of the computer you want to manage.

    User

    The name of the user who has administrative credentials on the computer, if different from the current user.

    Password

    The password for the person who has administrative credentials on the computer, if different from the current user.

    ntDomain

    The name of the Windows domain.

    Password/GroupDirectory

    The fully qualified path of the directory on the User Name Mapping computer where the password and group files are located.

    nisDomain

    The name of the NIS domain.

    Note

    Password and group files must be stored on the computer that is running User Name Mapping. Typically, these files are the /etc/passwd and /etc/group files that are copied from a UNIX host and then periodically updated by the administrator of the computer that is running User Name Mapping. To view the complete syntax for this command, at a command prompt, type: mapadmin /?