<code>#
# nsswitch.conf(5) - name service switch configuration file
# $FreeBSD: src/etc/nsswitch.conf,v 1.1.10.1.4.1 2010/06/14 02:09:06 kensmith Exp $
#
group: files
group
compat: nis
hosts: files dns
networks: files
passwd: files
passwdcompat: nis
shells: files
services: compat
services
compat: nis
protocols: files
rpc: files</code>
* FreeBSD7系以前は、ldapの設定をするためにはnss_ldapをインストール後に以下のように書いた。
* <code>#
# nsswitch.conf(5) - name service switch configuration file
# $FreeBSD: src/etc/nsswitch.conf,v 1.1.12.1 2010/02/10 00:26:20 kensmith Exp $
#
group: compat
groupcompat: ldap nis
hosts: files dns
networks: files
passwd: compat
passwd
compat: ldap nis
shells: files
services: compat
servicescompat: nis
protocols: files
rpc: files</code>