Skip Navigation Links | |
Exit Print View | |
System Administration Guide: Naming and Directory Services (DNS, NIS, and LDAP) |
Part I About Naming and Directory Services
1. Naming and Directory Services (Overview)
2. The Name Service Switch (Overview)
Part II DNS Setup and Administration
3. DNS Setup and Administration (Reference)
Part III NIS Setup and Administration
4. Network Information Service (NIS) (Overview)
5. Setting Up and Configuring NIS Service
Password Files and Namespace Security
How to Add a New NIS User to an NIS Domain
Changing a Map's Master Server
How to Change a Map's Master Server
How to Modify Configuration Files
Modifying and Using the Makefile
Changing Makefile Macros/Variables
How to Modify the Makefile to Use Specific Databases
How to Modify the Makefile to Delete Databases
Updating and Modifying Existing Maps
How to Update Maps Supplied With the Default Set
Using Shell Scripts With cron and ypxfr
Using makedbm to Modify a Non-Default Map
Creating New Maps from Text Files
Adding Entries to a File-Based Map
Creating Maps From Standard Input
Modifying Maps Made From Standard Input
Changing a Machine's NIS Domain
How to Change a Machine's NIS Domain Name
Using NIS in Conjunction With DNS
How to Configure Machine Name and Address Lookup Through NIS and DNS
Dealing with Mixed NIS Domains
Part IV LDAP Naming Services Setup and Administration
8. Introduction to LDAP Naming Services (Overview/Reference)
9. LDAP Basic Components and Concepts (Overview)
10. Planning Requirements for LDAP Naming Services (Tasks)
11. Setting Up Sun Java System Directory Server With LDAP Clients (Tasks)
12. Setting Up LDAP Clients (Tasks)
13. LDAP Troubleshooting (Reference)
14. LDAP General Reference (Reference)
15. Transitioning From NIS to LDAP (Overview/Tasks)
16. Transitioning From NIS+ to LDAP
A. Solaris 10 Software Updates to DNS, NIS, and LDAP
Use the following steps to bind to an NIS server that you specify. For more information, see the ypinit(1M), ypstart(1M), and svcadm(1M) man pages.
Add the hostname of the NIS server and its IP address to the /etc/hosts file.
Run the domainname command to populate the /etc/defaultdomain file.
# /usr/bin/domainname name-of-NIS-domain
Prompt for the NIS server host name.
# /usr/sbin/ypinit -c Server name: Type the NIS server hostname
Restart the NIS services by performing one of the following steps.
For the services to persist across reboots, run the svcadm command:
# svcadm enable -r svc:/network/nis/client
For the services to persist until reboot only, run the ypstop and ypstart commands:
# /usr/lib/netsvc/yp/ypstop # /usr/lib/netsvc/yp/ypstart