Solaris Naming Setup and Configuration Guide

How to Create Namespace Contexts Under NIS

When your primary enterprise-level name service is NIS, there is only one domain for the enterprise. Namespace contexts are created for that enterprise-wide domain.

For example, create the contexts for the doc.com domain, on the machine named fns_master, which is also the NIS master server:

    On the domain master, run fncreate as shown below:


    fns_master# fncreate -t org org//

    This creates the organization context for the NIS domain doc.com, and contexts and associated subcontexts for all users found in NIS servers's passwd map and all hosts found in the server's hosts map.


    Note -

    After you have created your context maps, you can assign the same machine to be the master server, using the same procedure that you would to assign a different master for any other NIS map. The FNS maps all have names starting with fns_ and ending with either .ctx or .attr. See Solaris Naming Administration Guide for details.