xref: /netbsd-src/usr.sbin/ypserv/ypxfr/ypxfr.8 (revision b5c47949a45ac972130c38cf13dfd8afb1f09285)
1.\"	$NetBSD: ypxfr.8,v 1.16 2014/03/18 18:20:48 riastradh Exp $
2.\"
3.\" Copyright (c) 1994 Mats O Jansson <moj@stacken.kth.se>
4.\" All rights reserved.
5.\"
6.\" Redistribution and use in source and binary forms, with or without
7.\" modification, are permitted provided that the following conditions
8.\" are met:
9.\" 1. Redistributions of source code must retain the above copyright
10.\"    notice, this list of conditions and the following disclaimer.
11.\" 2. Redistributions in binary form must reproduce the above copyright
12.\"    notice, this list of conditions and the following disclaimer in the
13.\"    documentation and/or other materials provided with the distribution.
14.\"
15.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS
16.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
17.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
18.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
19.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
20.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
21.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
22.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
23.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
24.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
25.\" SUCH DAMAGE.
26.\"
27.Dd April 26, 2011
28.Dt YPXFR 8
29.Os
30.Sh NAME
31.Nm ypxfr
32.Nd get a NIS map from NIS server
33.Sh SYNOPSIS
34.Nm
35.Op Fl cf
36.Op Fl C Ar tid prog ipadd port
37.Op Fl d Ar domain
38.Op Fl h Ar host
39.Op Fl s Ar domain
40.Ar mapname
41.Sh DESCRIPTION
42.Nm
43is the utility in
44.Tn NIS
45that transfers maps to the local host.
46.Pp
47The options are as follows:
48.Bl -tag -width indent
49.It Fl c
50Don't send a "Clear current map" to local
51.Nm ypserv
52process. Useful if
53.Nm ypserv
54isn't running locally to avoid timeout message.
55.It Fl C Ar tid prog ipadd port
56This option is only used by
57.Nm ypserv .
58This is to open communication with
59.Nm yppush
60on another host.
61.It Fl d Ar domain
62Don't use default domain, use the specified domain.
63.It Fl f
64Force map transfer, even if the master's version is older than the local copy.
65.It Fl h Ar host
66Get map from host instead of the maps master host.
67.It Fl s Ar domain
68Specify a source domain other than the target domain.
69.El
70.Sh SEE ALSO
71.Xr nis 8 ,
72.Xr yppush 8 ,
73.Xr ypserv 8
74.Sh AUTHORS
75.An Mats O Jansson Aq Mt moj@stacken.kth.se
76