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.

Caution – Potential delay issues:■■ipnodes defaults to files. During the transition from IPv4 to IPv6, where allnaming services are not aware of IPv6 addresses, accept the files default.Otherwise, unnecessary delays, such as boot timing delays, might result during theresolution of addresses.An application searches all ipnodes databases for IPv4 addresses before searchingfor IPv4 addresses in the hosts databases. Before specifying ipnodes, considerthe inherent delay of searching both databases for IPv4 addresses.Ensuring Compatibility With +/- SyntaxIf +/- is used in /etc/passwd, /etc/shadow, <strong>and</strong> /etc/group files, you need tomodify the nsswitch.conf file to insure compatibility.■<strong>NIS</strong>+. To provide +/- semantics with <strong>NIS</strong>+, change the passwd <strong>and</strong> groupssources to compat. Then, add a passwd_compat: nisplus entry to thensswitch.conf file after the passwd or group entry as shown below.passwd: compatpasswd_compat: nisplusgroup: compatgroup_compat: nisplus■The above specifies that client routines obtain their network information from/etc files <strong>and</strong> <strong>NIS</strong>+ tables as indicated by the +/- entries in the files.<strong>NIS</strong>. To provide the same syntax as in the Solaris 4.x release, change the passwd<strong>and</strong> groups sources to compat.passwd: compatgroup: compatSpecifies the /etc files <strong>and</strong> <strong>NIS</strong> maps as indicated by the +/- entries in the files.Note – Users working on a client machine being served by an <strong>NIS</strong>+ server runningin <strong>NIS</strong> compatibility mode cannot run ypcat on the netgroup table. Doing sogives you results as if the table were empty even if the table has entries.Chapter 2 • The Name Service Switch (Overview) 43

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

Saved successfully!

Ooh no, something went wrong!