utility distributes updated NIS databases (or
from an NIS master server to NIS slave servers within an NIS
It is normally only run on the NIS master by
whenever any of the NIS maps are updated.
does not invoke
by default: the
entry in the Makefile must first be commented out
configuration assumes a small network with only
a single NIS server; in such a configuration,
is not needed).
determines the names of the slave servers for a domain by searching the
A destination host (or a list of hosts) can also be manually
specified on the command line.
Once it has a complete list of slave servers, it sends a 'map transfer'
request to each slave, which in turn reads a copy of the map from
the master NIS server using
Included within each request is the name of the map to be copied
and some special information required by
to successfully 'callback' to
and carry out the transfer.
Any error messages
via callback will be printed to stderr.
The following options are available:
| -d domain
Specify a particular domain.
The NIS domain of
the local host system is used by default.
If the local host's domain
name is not set, the domain name must be specified with this flag.
| -t timeout
Specify a timeout value in seconds.
controls how long
will wait for a response from a slave server before sending a
map transfer request to the next slave server in its list.
| -j #parallel jobs
utility normally performs transfers serially, meaning that it will
send a map transfer request to one slave server and then wait for
it to respond before moving on to the next slave server.
with many slaves, it is more efficient to initiate several map transfers
at once so that the transfers can take place in parallel.
flag is used to specify the desired number of parallel jobs:
will initiate the specified number of transfers immediately and
listen for responses.
If the number of specified parallel jobs is
less than the number of slave servers,
will initiate only the number of specified jobs and then wait
for some of them to finish before starting any more.
handles callbacks asynchronously, which means that it will collect
and display the callback information received from
as soon as it arrives, even it arrives before all of the map
transfer requests have been sent.
| -h host
Can be used to transfer a map to a user-specified machine or
group of machines instead of the list of servers contained in
A list of hosts can be specified by using multiple
instances of the
| -p path
expects all the local NIS maps to be stored under
flag can be used to specify an alternate path in the event that
the system administrator decides to store the NIS maps somewhere else.
Verbose mode: it causes
to print debugging messages as it runs.
Specifying this flag twice
even more verbose.