The Correct Configuration Settings for the "/etc/nsswitch.conf" File When Using LDAP in a Solaris Cl
Q:What is the "nsswitch.conf" file supposed to look like in an SC3.3u1 environment when using LDAP ??
One example I have is:
#
# /etc/nsswitch.ldap:
#
# An example file that could be copied over to /etc/nsswitch.conf; it
# uses LDAP in conjunction with files.
#
# "hosts:" and "services:" in this file are used only if the
# /etc/netconfig file has a "-" for nametoaddr_libs of "inet" transports.
# the following two lines obviate the "+" entry in /etc/passwd and /etc/group.
passwd: compat
passwd_compat: ldap
shadow: compat
shadow_compat: ldap
group: files
# consult /etc "files" only if ldap is down.
One example I have is:
#
# /etc/nsswitch.ldap:
#
# An example file that could be copied over to /etc/nsswitch.conf; it
# uses LDAP in conjunction with files.
#
# "hosts:" and "services:" in this file are used only if the
# /etc/netconfig file has a "-" for nametoaddr_libs of "inet" transports.
# the following two lines obviate the "+" entry in /etc/passwd and /etc/group.
passwd: compat
passwd_compat: ldap
shadow: compat
shadow_compat: ldap
group: files
# consult /etc "files" only if ldap is down.
0