Documentation Home
> Solaris Naming Setup and Configuration Guide
Solaris Naming Setup and Configuration Guide
Book Information
Preface
Part I Naming Service Setup
Chapter 1 Setting Up the Name Service Switch
Name Service Switch
The nsswitch.conf File
Default NIS+ Version of Switch File
Default NIS Version of Switch File
Default Files Version of Switch File
Selecting a Different Configuration File
Security Considerations
How to Select a Different Configuration File
Enabling a Machine to Use DNS
Prerequisites
Security Considerations
How to Enable an NIS+ Client to Use DNS
Adding Compatibility With +/- Syntax
Security Considerations
How to Add DNS Compatibility With +/- Syntax
Part II NIS+ Setup and Configuration
Chapter 2 Getting Started With NIS+
NIS+ Overview
Setup and Configuration Preparation
Preparing the Existing Namespace
Two Configuration Methods
Chapter 3 NIS+ Setup Scripts--Introduction
About the NIS+ Scripts
What the NIS+ Scripts Will Do
What the NIS+ Scripts Won't Do
Chapter 4 Configuring NIS+ With Scripts
NIS+ Configuration Overview
Creating a Sample NIS+ Namespace
Summary of NIS+ Scripts Command Lines
Setting Up NIS+ Root Servers
Prerequisites to Running nisserver
Information You Need
Creating a Root Master Server
Changing Incorrect Information
Populating NIS+ Tables
Prerequisites to Running nispopulate
Information You Need
Populating the Root Master Server Tables
Setting Up NIS+ Client Machines
Prerequisites to Running nisclient
Information You Need
Initializing a New Client Machine
Creating Additional Client Machines
Initializing NIS+ Client Users
Prerequisites to Running nisclient
Information You Need
Initializing an NIS+ User
Setting Up NIS+ Servers
Prerequisites to Running rpc.nisd
Information You Need
Configuring a Client as an NIS+ Server
How to Configure a Server Without NIS Compatibility
How to Configure a Server With NIS Compatibility
How to Configure a Server With DNS and NIS Compatibility
Creating Additional Servers
Creating a Root Replica Server
Prerequisites to Running nisserver
Information You Need
Creating a Root Replica
Creating a Subdomain
Prerequisites to Running nisserver
Information You Need
Creating a New Non-Root Domain
Creating Additional Domains
Populating the New Subdomain's Tables
Prerequisites to Running nispopulate
Information You Need
Populating the Master Server Tables
How to Populate the Tables From Files
How to Populate the Tables From NIS Maps
Creating Subdomain Replicas
Prerequisites to Running nisserver
Information You Need
Creating a Replica
Initializing Subdomain NIS+ Client Machines
Prerequisites to Running nisclient
Information You Need
How to Initialize a New Subdomain Client Machine
Initializing Subdomain NIS+ Client Users
Prerequisites to Running nisclient
Information You Need
How to Initialize an NIS+ Subdomain User
Summary of Commands for the Sample NIS+ Namespace
Chapter 5 Setting Up the Root Domain
Introduction to Setting Up the Root Domain
Standard Versus NIS-Compatible Configuration Procedures
Establishing the Root Domain
Summary of Steps
Security Considerations
Prerequisites
Information You Need
How to Configure a Root Domain
Root Domain Configuration Summary
Chapter 6 Configuring NIS+ Clients
Introduction to Setting Up NIS+ Clients
Client Configuration
Security Considerations
Prerequisites
Information You Need
How to Configure an NIS+ Client
Changing a Workstation's Domain
Security Considerations
Information You Need
How to Change a Client's Domain Name
Initializing an NIS+ Client
Broadcast Initialization
Security Considerations
Prerequisites
Information You Need
How to Initialize a Client--Broadcast Method
Host-Name Initialization
Security Considerations
Prerequisites
Information You Need
How to Initialize a Client--Host-name Method
Cold-Start File Initialization
Security Considerations
Prerequisites
Information You Need
How to Initialize a Client--Cold-Start Method
NIS+ Client Configuration Summary
Chapter 7 Configuring NIS+ Servers
Setting Up an NIS+ Server
Standard Versus NIS-Compatible Configuration Procedures
Security Considerations
Prerequisites
Information You Need
How to Configure an NIS+ Server
Adding a Replica to an Existing Domain
Using NIS+ Commands to Configure a Replica Server
Security Considerations
Prerequisites
Information You Need
How to Configure a Replica Server With NIS+ Commands
Using nisrestore to Load Data on to a Replica Server
Security Considerations
Prerequisites
How to Load Namespace Data--nisrestore Method
Using nisping to Load Data on to a Replica Server
Security Considerations
Prerequisites
How to Load Namespace Data--nisping Method
Server Configuration Summary
Chapter 8 Configuring a Non-root Domain
Setting Up a Non-root Domain
Standard Versus NIS-Compatible Configuration Procedures
Security Considerations
Prerequisites
Information You Need
How to Configure a Non-root Domain
Subdomain Configuration Summary
Chapter 9 Setting Up NIS+ Tables
Setting Up Tables
Populating Tables--Options
Populating NIS+ Tables From Files
Files Security Considerations
Prerequisites
Information You Need
How to Populate NIS+ Tables From Files
Populating NIS+ Tables From NIS Maps
Maps Security Considerations
Prerequisites
Information You Need
How to Populate Tables From Maps
Transferring Information From NIS+ to NIS
NIS to NIS+ Security Considerations
Prerequisites
How to Transfer Information From NIS+ to NIS
Limiting Access to the Passwd Column to Owners and Administrators
Passwd Column Security Considerations
Prerequisites
Information You Need
How to Limit Read Access to the Passwd Column
Table Population Summaries
Part III NIS Setup and Configuration
Chapter 10 Configuring NIS Service
NIS in the Solaris 2.6 release
NSKit Discontinued
Enhanced ypupdated Daemon
Before You Begin Configuring NIS
Planning Your NIS Domain
Planning the Domain
Identify Your NIS Servers
Identify Your NIS Client Machines
NIS Configuration Steps
Preparing the Master Server
Source Files Directory
Passwd Files and Namespace Security
Source Files
Preparing the Makefile
Setting Up the Master Server With ypinit
Master Supporting Multiple NIS Domains
Starting NIS Service on the Master Server
Starting NIS Service Automatically
Starting NIS From the Command Line
DNS Forwarding
Stopping NIS with ypstop
Setting Up NIS Slave Servers
Preparing a Slave Server
Setting Up a Slave Server
Starting NIS Service on a Slave Server
Setting Up NIS Clients
Configuring a Machine to Use NIS
NIS Maps
Default NIS Maps
Modifying NIS Maps
NIS Administration, Problem Solving, and Error Messages
Part IV FNS Setup and Configuration
Chapter 11 FNS Setup and Configuration
Setting Up FNS--Overview
Determining Resource Requirements
Preparing the Namespace for FNS
Preparing NIS+ Service for FNS
Preparing NIS Service for FNS
Preparing Files-Based Naming for FNS
Globally Creating FNS Namespace Contexts
Creating Namespace Contexts Under NIS+
Creating Namespace Contexts Under NIS
Creating Namespace Contexts Under Local Files
Replicating FNS Service
Replicating FNS Under NIS+
Replicating FNS Under NIS
Replicating FNS Under Files-Based Naming
FNS Administration, Problem Solving, and Error Messages
Part V DNS Setup and Configuration
Chapter 12 Setting Up DNS Clients
Solaris DNS BIND Implementation
Setting Up DNS Service
Client Set Up
The Resolver
Creating the resolv.conf File
Modifying the /etc/nsswitch.conf File
Chapter 13 Setting Up DNS Servers
Setting Up DNS Servers
Server Boot and Data File Names
Boot File
Names of DNS Data Files
Data Files
$INCLUDE Files
Domain Names
Default Domain Name
Trailing Dots in Domain Names
Setting Up the resolv.conf File
Setting Up the Boot File
The directory Line
The cache Line
The Server Role Lines
Specifying Server Function
Specifying a Primary Master Server
Specifying a Secondary Master Server
Specifying a Cache-Only Server
Setting Up the Data Files
Resource Record Types
Setting Up the named.ca File
Internet named.ca File
Non-Internet named.ca File
Setting Up the hosts File
Setting Up the hosts.rev File
Setting Up the named.local File
Initializing the Server
Testing Your Installation
Setting Up Subdomains
Setting Up Subdomains--Same Zone
Setting Up Subdomains--Different Zones
Setting Up a Non-Internet Root Master
A Practical Example
Example Boot Files
Example resolv.conf Files
Example named.local File
Example hosts Files
Example hosts.rev Files
Example name.ca File
Index
Numbers and Symbols
A
B
C
D
E
F
G
H
I
K
L
M
N
O
P
R
S
T
U
V
W
X
Y
Z
© 2010, Oracle Corporation and/or its affiliates