YPWHICH(8,C) AIX Commands Reference YPWHICH(8,C)
-------------------------------------------------------------------------------
ypwhich
PURPOSE
Tells which host is the NIS server or map master.
SYNTAX
+-------------------+ +-----------+ +------------+
ypwhich --| +----------+ |-| +- -V1 -+ |-| |-|
+- -d -| |-+ +-| |-+ +- hostname -+
+- domain -+ +- -V2 -+
+--------------+ +-------------+ +---------+
ypwhich --| |-| |- -m -| |-|
+- -t mapname -+ +- -d domain -+ +- mname -+
ypwhich -- -x --|
Note: This command does not have MBCS support.
DESCRIPTION
The ypwhich command tells which NIS server supplies network information
services to an NIS client, or which is the master for a map. If invoked
without arguments, it gives the NIS server for the local machine. If hostname
is specified, that machine is queried to find out which NIS master it is using.
FLAGS
-d Use domain instead of the default domain.
-V1 Which server is serving v.1 NIS protocol-speaking client processes?
-V2 Which server is serving v.2 NIS protocol client processes?
If neither version is specified, ypwhich attempts to locate the
server that supplies the (current) v.2 services. If there is no
v.2 server currently bound, ypwhich then attempts to locate the
server supplying the v.1 services. Since NIS servers and NIS
clients are both backward compatible, the user need seldom be
concerned about which version is currently in use.
-t mapname Inhibit nickname translation; useful if there is a mapname
identical to a nickname. This is not true of any Sun-supplied map.
Processed November 8, 1990 YPWHICH(8,C) 1
YPWHICH(8,C) AIX Commands Reference YPWHICH(8,C)
-m Find the master NIS server for a map. No hostname can be specified
with -m mname can be a mapname, or a nickname for a map. When
mname is omitted, produce a list available maps.
-x Display the map nickname table. This lists the nicknames (mnames)
the command knows of, and indicates the mapname associated with
each nickname.
RELATED INFORMATION
See the following commands: "rpcinfo," "ypset," and "ypserv, ypbind."
Processed November 8, 1990 YPWHICH(8,C) 2