Skip Navigation Links | |
Exit Print View | |
Working With Naming and Directory Services in Oracle Solaris 11.1 Oracle Solaris 11.1 Information Library |
Part I About Naming and Directory Services
1. Naming and Directory Services (Overview)
2. Name Service Switch (Overview)
Databases and Sources for the Name Service Switch
Search Criteria for the Name Service Switch
Status Messages for the Name Service Switch
Switch Action Options for the Name Service Switch
Default Search Criteria for the Name Service Switch
timezone and the Name Service Switch
keyserv and publickey Entries in the Name Service Switch
Managing the Name Service Switch
How to Use a Legacy nsswitch.conf File
Name Service Switch and Password Information
4. Setting Up Oracle Solaris Active Directory Clients (Tasks)
Part II NIS Setup and Administration
5. Network Information Service (Overview)
6. Setting Up and Configuring NIS (Tasks)
9. Introduction to LDAP Naming Services (Overview)
10. Planning Requirements for LDAP Naming Services (Tasks)
11. Setting Up Oracle Directory Server Enterprise Edition With LDAP Clients (Tasks)
12. Setting Up LDAP Clients (Tasks)
13. LDAP Troubleshooting (Reference)
14. LDAP Naming Service (Reference)
When you change a machine's naming service, you need to modify that machine's name service switch information accordingly. For example, if you change a machine's naming service from files to NIS, you need to configure the name service switch to use NIS.
For more information, see How to Use Your Assigned Administrative Rights in Oracle Solaris 11.1 Administration: Security Services.
Make sure to name the file /etc/nsswitch.conf.
# nscfg import -f svc:/system/name-service/switch:default
# svcadm refresh name-service/switch
For more information, see How to Use Your Assigned Administrative Rights in Oracle Solaris 11.1 Administration: Security Services.
In this example, the database search order is first files, then nis.
# svccfg -s system/name-service/switch svc:/system/name-service/switch> setprop config/host = astring: "files nis" svc:/system/name-service/switch> quit
# svcadm refresh name-service/switch
For more information, see How to Use Your Assigned Administrative Rights in Oracle Solaris 11.1 Administration: Security Services.
This property should use the source definition that is most common. In this example, the database search order is first files, then nis.
# svccfg -s system/name-service/switch svc:/system/name-service/switch> setprop config/default = astring: "files nis" svc:/system/name-service/switch> quit
Use this command to change the source definition for any database that does not use the order that is selected in the config/default property.
# svccfg -s system/name-service/switch svc:/system/name-service/switch> setprop config/host = astring: "files dns nis" svc:/system/name-service/switch> quit
# svcadm refresh name-service/switch