1ypwhich(1)                  General Commands Manual                 ypwhich(1)
2
3
4

NAME

6       ypwhich - return name of NIS server or map master
7

SYNOPSIS

9       ypwhich [ -d domain ] [ -Vn ] [ hostname ]
10       ypwhich [ -d domain ] [ -t ] -m [ mname ]
11       ypwhich -x
12

DESCRIPTION

14       ypwhich  returns  the name of the NIS server that supplies the NIS ser‐
15       vices to a NIS client, or which is the master for a  map.   If  invoked
16       without  arguments,  it  gives the NIS server for the local machine. If
17       hostname is specified, that machine is queried to find  out  which  NIS
18       master it is using.
19

OPTIONS

21       -d domain
22              Specify a domain other than the default domain.
23
24       -t     This option inhibits map nickname translation.
25
26       -m mname
27              Find the master NIS server for a map.  No hostname can be speci‐
28              fied with the -m option.  mname can be a mapname or nickname for
29              a  map.   If  mname  is  omitted, ypwhich will produce a list of
30              available maps.
31
32       -x     Display the map nickname translation table.
33
34       -Vn    Version of ypbind(8), V3 is default. Use V2 for NIS clients  not
35              supporting IPv6.
36
37

FILES

39       /var/yp/nicknames
40              map nickname translation table.
41

SEE ALSO

43       domainname(8),    nicknames(5),    ypbind(8),   ypcat(1),   ypmatch(1),
44       yppoll(8), ypserv(8), ypset(8)
45

AUTHOR

47       ypwhich is part of the yp-tools package, which was written by  Thorsten
48       Kukuk <kukuk@linux-nis.org>.
49
50
51
52YP Tools 4.2.3                    April 2010                        ypwhich(1)
Impressum