yppoll(8) CLIX yppoll(8)
NAME
yppoll - Checks the version of a Network Information Service (NIS) map at
an NIS server host
SYNOPSIS
/etc/yp/yppoll [-h host] [-d domain] mapname
FLAGS
-h host Asks the ypserv process at host about the map parameters. If
host is not specified, the NIS server for the local host is
used. That is, the default host is the one returned by
ypwhich.
-d domain Uses domain instead of the default host domain.
DESCRIPTION
The yppoll command asks a ypserv process for the order number and the host
that is the master Network Information Service (NIS) server for the named
map. If the server is a version 1 NIS protocol server, yppoll uses the
older protocol to communicate with it. In this case, it also uses the
older diagnostic messages in case of failure.
EXAMPLES
To determine the version of and server for the NIS map passwd.nam for the
client sys2, enter:
/etc/yp/yppoll -h sys2 passwd.nam
DIAGNOSTICS
yppoll: can't find host
The specified hostname is not present in the /etc/hosts file.
yppoll: domainname hasn't been set on this machine
The ypinit command probably has not been executed on this system.
The ypinit command sets the domain name and edits /etc/nfs to
configure it to set the domain name on subsequent reboots.
EXIT VALUES
The yppoll command exits with a value of 0 if successful. If
unsuccessful, it exits with a value of 1.
RELATED INFORMATION
2/94 - Intergraph Corporation 1
yppoll(8) CLIX yppoll(8)
Commands: ypserv(8)
Files: ypfiles(4)
2 Intergraph Corporation - 2/94