Creating new NIS maps in Active Directory

If you cannot import network information from existing NIS maps, you can create new maps by adding the appropriate information directly to Active Directory using Access Manager. Once you add the information to Active Directory, adnisd can use the information to automatically generate a local cache of the map data and make the information in those generated maps available to NIS clients.

Note:   If you are creating NIS maps manually, keep in mind that the Network Information Service can return a maximum of 1024 characters of data in response to a query from any NIS map, so make sure all NIS map entries have less than 1024 characters of data.

To create a new network NIS map in Active Directory

  1. Open Access Manager.
  2. Navigate to the specific zone for which you want to create maps.
  3. Expand the console tree to display NIS Maps.
  4. Select NIS Maps, right-click, then click New and select the type of map you want to create.

    For most map types, you can only use the recognized map name for the new map. Recognized map names enable you to use derived maps to retrieve information using different keys. If you are creating a new Automaster map, you must choose either auto_master or auto.master as the map name to retrieve the names of the automount maps.

    If you select the Generic Map option, you can create a custom NIS map for any key/value pairs that you want to make available to NIS clients. For more information, see Creating generic custom maps.

  5. Select the new empty map, right-click, then click New > Map Entry or New > netgroup to add a new individual map record.

    The file format and the specific fields used in individual map records depend on the type of map you are working with.

  6. Type the appropriate information for the fields listed, then click OK to save a record in the new map.

    For more information about the fields required in any NIS map, see the man page for the type of map you are creating. For example, see the man page for netgroup to see detailed information about required and optional fields and the format of netgroup maps.

    You can use Active Directory groups in netgroup records. Using Active Directory groups in netgroup records enables dynamic changes to user and computer pairings based on their Active Directory group membership. If you have existing processes for adding and removing users and computers in Active Directory groups, you can leverage those processes in netgroup records.