Forcing a search of the local services file on Unix systems |
|
Release 9.3 |
NOTE: Applies to geodatabases created with an ArcGIS Server Enterprise license only
Some UNIX systems direct applications to search the Network Information Service (NIS) file rather than the local services file. If you want to have the operating system search the local services file instead, you must force it to do so.# /etc/nsswitch.conf:
#This file uses NIS (YP) 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: files nis
group: files nis
# consult /etc "files" only if nis is down.
hosts: files nis dns
networks: nis [NOTFOUND=return] files
protocols: nis [NOTFOUND=return] files
rpc: nis [NOTFOUND=return] files
ethers: nis [NOTFOUND=return] files
netmasks: nis [NOTFOUND=return] files
bootparams: nis [NOTFOUND=return] files
publickey: nis [NOTFOUND=return] files
netgroup: nis
automount: files nis
aliases: files nis
# for efficient getservbyname() avoid nis
services: files nis
sendmailvars: files
services=local.nis