Skip to content

Instantly share code, notes, and snippets.

@scottslowe
Created December 22, 2014 01:12
Show Gist options
  • Save scottslowe/55f2ddd14214499a629c to your computer and use it in GitHub Desktop.
Save scottslowe/55f2ddd14214499a629c to your computer and use it in GitHub Desktop.
This nsswitch.conf is for a SLED 10 workstation integrated into Active Directory.
###############
# /etc/nsswitch.conf
###############
# An example Name Service Switch config file. This file should be
# sorted with the most-used services at the beginning.
#
# The entry [NOTFOUND=return] means that the search for an
# entry should stop if the search in the previous entry turned
# up nothing. Note that if the search failed due to some other reason
# (like no NIS server responding) then the search continues with the
# next entry.
#
# Legal entries are:
#
# compat Use compatibility setup
# nisplus Use NIS+ (NIS version 3)
# nis Use NIS (NIS version 2), also called YP
# dns Use DNS (Domain Name Service)
# files Use the local files
# [NOTFOUND=return] Stop searching if not found so far
#
# For more information, please read the nsswitch.conf.5 manual page.
#
# passwd: files nis
# shadow: files nis
# group: files nis
passwd: files ldap
shadow: files ldap
group: files ldap
hosts: files dns wins
networks: files dns
services: files
protocols: files
rpc: files
ethers: files
netmasks: files
netgroup: files nis
publickey: files
bootparams: files
automount: files nis
aliases: files
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment