13.07.2015 Views

Naming and Directory Services (DNS, NIS, and LDAP)

Naming and Directory Services (DNS, NIS, and LDAP)

Naming and Directory Services (DNS, NIS, and LDAP)

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

map uses a different key. For example, the names <strong>and</strong> addresses of machines arestored in two maps: hosts.byname <strong>and</strong> hosts.byaddr. When a server has amachine’s name <strong>and</strong> needs to find its address, it looks in the hosts.byname map.When it has the address <strong>and</strong> needs to find the name, it looks in the hosts.byaddrmap.An <strong>NIS</strong> Makefile is stored in the /var/yp directory of machines designated as an<strong>NIS</strong> server at installation time. Running make in that directory causes makedbm tocreate or modify the default <strong>NIS</strong> maps from the input files.Note – Always create maps on the master server, as maps created on a slave will notautomatically be pushed to the master server.Default <strong>NIS</strong> MapsA default set of <strong>NIS</strong> maps are provided in the Solaris system. You might want to useall these maps or only some of them. <strong>NIS</strong> can also use whatever maps you create oradd when you install other software products.Default maps for an <strong>NIS</strong> domain are located in each server’s /var/yp/domainnamedirectory. For example, the maps that belong to the domain test.com are located ineach server’s /var/yp/test.com directory.Table 4–3 describes the default <strong>NIS</strong> maps, information they contain, <strong>and</strong> whether thesoftware consults the corresponding administrative files when <strong>NIS</strong> is running.TABLE 4–3 <strong>NIS</strong> Map DescriptionsMap NameCorresponding <strong>NIS</strong>Admin FileDescriptionaudit_user audit_user Contains user auditing preselection data.auth_attr auth_attr Contains authorization names <strong>and</strong>descriptions.bootparams bootparams Contains path names of files clients needduring boot: root, swap, possibly others.ethers.byaddr ethers Contains machine names <strong>and</strong> Ethernetaddresses. The Ethernet address is thekey in the map.ethers.byname ethers Same as ethers.byaddr, except thekey is machine name instead of theEthernet address.exec_attr exec_attr Contains profile execution attributes.72 System Administration Guide: <strong>Naming</strong> <strong>and</strong> <strong>Directory</strong> <strong>Services</strong> (<strong>DNS</strong>, <strong>NIS</strong>, <strong>and</strong> <strong>LDAP</strong>) • January 2005

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!