Force a map transfer. Normally, ypxfr will not transfer a map if it determines that the NIS masters copy is not newer than the existing copy already on the local host: the -f flag forces a transfer regardless of which servers version is more recent.

-c

Do not send a clear current map request to the ypserv(8) process running on the local host. This flag is normally used when invoking ypxfr manually on a machine that is not yet running ypserv(8). Without this flag, failure to contact the local NIS server will cause ypxfr to abort the transfer.

-d target domain

Specify a target domain other than the current NIS domain.

-h source host

Specify the name of the host from which to copy the NIS maps. This option is used to insure that ypxfr only copies maps from the NIS master server.

-s source domain

Specify the domain from which to transfer a map, in the event that the transfer is being done across two different NIS domains.

-p path

Specify the top level directory containing the NIS maps. By default, this path is /var/yp. The -p flag allows you to specify an alternate path should you wish to store your NIS maps in a different part of the file system. The NIS server, ypserv(8), passes this flag to ypxfr if it too has been told to use an alternate path.

-C taskid program-number ipaddr port

These options are used only when ypxfr is invoked by ypserv(8) in response to a map transfer request initiated by yppush(8). In this instance, ypxfr needs to callback to the yppush(8) process and interact with it, so yppush(8) passes to it an IP address ipaddr, port number port, registered program number program-number and a transaction ID taskid that it can use to contact the waiting yppush(8) process on the master server.