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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Note – In some contexts machine names are referred to has host names or machinenames. This discussion uses machine, but some screen messages or <strong>NIS</strong> map namesmight use host or machine.<strong>NIS</strong> Architecture<strong>NIS</strong> uses a client-server arrangement. <strong>NIS</strong> servers provide services to <strong>NIS</strong> clients. Theprincipal servers are called master servers, <strong>and</strong> for reliability, they have backup, orslave servers. Both master <strong>and</strong> slave servers use the <strong>NIS</strong> information retrieval software<strong>and</strong> both store <strong>NIS</strong> maps.<strong>NIS</strong> uses domains to arrange the machines, users, <strong>and</strong> networks in its namespace.However, it does not use a domain hierarchy; an <strong>NIS</strong> namespace is flat.192.44.0.0Thus, this physical network would be arranged into one <strong>NIS</strong> domain.The doc domain192.44.0.0192.44.1.0 192.44.2.0An <strong>NIS</strong> domain cannot be connected directly to the Internet using just <strong>NIS</strong>. However,organizations that want to use <strong>NIS</strong> <strong>and</strong> also be connected to the Internet can combine<strong>NIS</strong> with <strong>DNS</strong>. You can use <strong>NIS</strong> to manage all local information <strong>and</strong> use <strong>DNS</strong> forInternet host lookup. <strong>NIS</strong> provides a forwarding service that forwards host lookups to<strong>DNS</strong> if the information cannot be found in an <strong>NIS</strong> map. The Solaris system also allowsyou to set up the nsswitch.conf file so that hosts lookup requests go only to <strong>DNS</strong>,or to <strong>DNS</strong> <strong>and</strong> then <strong>NIS</strong> if not found by <strong>DNS</strong>, or to <strong>NIS</strong> <strong>and</strong> then <strong>DNS</strong> if not found by<strong>NIS</strong>. See Chapter 2 for details.68 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!