Name Service Switch Sources


The following table provides a description of the kind of Name Service Switch Sources that can be listed in the switch file for the information types above.

Switch File Information Sources

Information Sources Description
filesA file stored in the client's /etc directory. For example, /etc/passwd
nisplusAn NIS+ table. For example, the hosts table.
NISAn NIS map. For example, the hosts map.
compatcompat can be used for password and group information to support old-style + or - syntax in /etc/passwd, /etc/shadow, and /etc/group files.
dnsCan be used to specify that host information be obtained from DNS.
mdnsSpecifies hosts information by using Multicast DNS (mDNS).
ldapCan be used to specify entries be obtained from the LDAP directory.

More Information#

There might be more information for this subject on one of the following: