E-Book Overview
Cross-platform file sharing under Network File System (NFS) is so reliable that in most organizations, it works pretty much unattended. Ditto for the directory services that Network Information System (NIS) provides. Managing NFS and NIS is for people who want to know more about how NFS and NIS do their vital work, and how to make them operate in unusual circumstances. Focused on the Solaris and Linux implementations of NFS and NIS, this book is ideal for the Unix system administrator who's familiar with TCP/IP networking and everyday system administration. The second edition of this book eliminates much of the programming material that appeared in its predecessor and replaces it with information on NFS 3, its support of IPsec and Kerberos security, and its operation under Solaris 8.This is a blue O'Reilly book, packed to the gunwales with information of interest to people in a hurry to optimize their systems and resolve difficulties. It's easy to locate the passage you need via the index or through the table of contents, and most entries provide a great mix of how-to material (in the form of input-and-output listings) and explanatory text (expert commentary, often with notes on applicable variations). If there's a command, option, or configuration parameter associated with NIS or NFS, you'll find documentation of it here.
E-Book Content
Table of Contents Preface .......................................................... 1 Who this book is for ................................................ 2 Versions ........................................................ 2 Organization ..................................................... 3 Conventions used in this book ......................................... 4 Differences between the first edition and second edition ...................... 5 Comments and questions ............................................ 5 Hal's acknowledgments from the first edition .............................. 6 Acknowledgments for the second edition ................................. 6 1. Networking Fundamentals ......................................... 9 1.1 Networking overview ............................................ 9 1.2 Physical and data link layers ...................................... 11 1.3 Network layer ................................................ 12 1.4 Transport layer ................................................ 18 1.5 The session and presentation layers ................................. 19 2. Introduction to Directory Services ................................... 24 2.1 Purpose of directory services ...................................... 24 2.2 Brief survey of common directory services ............................ 25 2.3 Name service switch ............................................ 29 2.4 Which directory service to use ..................................... 29 3. Network Information Service Operation .............................. 31 3.1 Masters, slaves, and clients ....................................... 31 3.2 Basics of NIS management ....................................... 34 3.3 Files managed under NIS ........................................ 41 3.4 Trace of a key match ............................................ 52 4. System Management Using NIS ..................................... 56 4.1 NIS network design ............................................ 56 4.2 Managing map files ............................................ 58 4.3 Advanced NIS server administration ................................ 65 4.4 Managing multiple domains ...................................... 67 5. Living with Multiple Directory Servers ............................... 70 5.1 Domain name servers ........................................... 70 5.2 Implementation ............................................... 72 5.3 Fully qualified and unqualified hostnames ............................ 74 5.4 Centralized versus dis