NFS Services Administrator's Guide

Configuring and Administering NIS+
Overview of NIS+
Chapter 5204
Structure of an NIS+ Domain
An NIS+ domain is an NIS+ directory whose name is the domain name.
An NIS+ directory is not an HP-UX directory. You must use the nisls(1)
command to see the directory structure of an NIS+ domain. Figure 5-2
shows the NIS+ directory structure of the Wiz.Com.and Eng.Wiz.Com.
domains.
Each NIS+ domain contains two NIS+ subdirectories, called groups_dir
and org_dir. The groups_dir subdirectory contains NIS+ groups, which
are like HP-UX groups except they are used only to determine access to
NIS+ objects. The org_dir subdirectory contains all the standard NIS+
tables. Any other NIS+ directories are subdomains. In the example in
Figure 5-2, Eng.Wiz.Com. is a subdomain.
Figure 5-2 NIS+ Directory Structure of the β€œWiz.Com.” and β€œEng.Wiz.Com.”
Domains
The full name of an NIS+ object includes the names of all the NIS+
directories in its directory path. For example, the full name of the hosts
table in the Wiz.Com. domain is hosts.org_dir.Wiz.Com. To specify an
entry in this table, you need to specify enough column values to uniquely
identify it. For example, to identify a host whose canonical name in the
cname column is romney, you would specify
[cname=romney],hosts.org_dir.Wiz.Com. If the default domain on
the local host is Wiz.Com., you can leave off the domain name and type
Wiz.Com.
groups_dir org_dir
Eng.Wiz.Com.
groups_dir org_dir
. . .
admin
Hosts
Passwd
Group
. . .
admin
Hosts
Passwd
Group