]>
Commit | Line | Data |
---|---|---|
b7080c8e A |
1 | .\" $OpenBSD: ypxfr.8,v 1.5 1997/04/20 10:08:35 maja Exp $ |
2 | .\" Copyright (c) 1994 Mats O Jansson <moj@stacken.kth.se> | |
3 | .\" All rights reserved. | |
4 | .\" | |
5 | .\" Redistribution and use in source and binary forms, with or without | |
6 | .\" modification, are permitted provided that the following conditions | |
7 | .\" are met: | |
8 | .\" 1. Redistributions of source code must retain the above copyright | |
9 | .\" notice, this list of conditions and the following disclaimer. | |
10 | .\" 2. Redistributions in binary form must reproduce the above copyright | |
11 | .\" notice, this list of conditions and the following disclaimer in the | |
12 | .\" documentation and/or other materials provided with the distribution. | |
13 | .\" 3. All advertising materials mentioning features or use of this software | |
14 | .\" must display the following acknowledgement: | |
15 | .\" This product includes software developed by Mats O Jansson | |
16 | .\" 4. The name of the author may not be used to endorse or promote products | |
17 | .\" derived from this software without specific prior written permission. | |
18 | .\" | |
19 | .\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS | |
20 | .\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED | |
21 | .\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE | |
22 | .\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY | |
23 | .\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL | |
24 | .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS | |
25 | .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | |
26 | .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | |
27 | .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | |
28 | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | |
29 | .\" SUCH DAMAGE. | |
30 | .\" | |
31 | .\" $OpenBSD: ypxfr.8,v 1.5 1997/04/20 10:08:35 maja Exp $ | |
32 | .\" | |
33 | .Dd August 18, 1994 | |
34 | .Dt YPXFR 8 | |
35 | .Os | |
36 | .Sh NAME | |
37 | .Nm ypxfr | |
38 | .Nd get a YP map from YP server | |
39 | .Sh SYNOPSIS | |
40 | .Nm ypxfr | |
41 | .Op Fl bcf | |
42 | .Op Fl d Ar domain | |
43 | .Op Fl h Ar host | |
44 | .Op Fl s Ar domain | |
45 | .Op Fl C Ar tid prog ipadd port | |
46 | .Ar mapname | |
47 | .Sh DESCRIPTION | |
48 | .Nm ypxfr | |
49 | is the utiliy in YP that transfers maps to the local host. | |
50 | .Pp | |
51 | Since the YP master transfers a map when it has changed, an YP slave should | |
52 | check for missed maps regulary. This can be done via an entry in | |
53 | .Xr crontab 5 . | |
54 | The scripts | |
55 | .Ar ypxfr_1perhour , ypxfr_2perday | |
56 | and | |
57 | .Ar ypxfr_1perday | |
58 | could be used for that. | |
59 | .Pp | |
60 | The options are as follows: | |
61 | .Bl -tag -width indent | |
62 | .It Fl b | |
63 | Preserve the entry in the database informing a YP server to use | |
64 | DNS to get information about unknown hosts. This option will only have | |
65 | effect on the two maps hosts.byname and hosts.byaddr. | |
66 | .It Fl c | |
67 | Don't send a "Clear current map" to local ypserv process. Useful if ypserv | |
68 | isn't running localy to avoid timeout message. | |
69 | .It Fl f | |
70 | Force map transfer, even if version of master is older than local copy. | |
71 | .It Fl d Ar domain | |
72 | Don't use default domain, use the specifiyed domain. | |
73 | .It Fl h Ar host | |
74 | Get map from host insteed of the maps master host. | |
75 | .It Fl s Ar domain | |
76 | Specify a source domain other than the target domain. | |
77 | .It Fl C Ar tid prog ipadd port | |
78 | This option is only used by ypserv. This is to open communication with | |
79 | an yppush on another host. | |
80 | .El | |
81 | .Sh FILES | |
82 | .Bl -tag -width /usr/sbin/ypxfr_1perhour -compact | |
83 | .It Pa /usr/sbin/ypxfr_1perhour | |
84 | .It Pa /usr/sbin/ypxfr_2perday | |
85 | .It Pa /usr/sbin/ypxfr_1perday | |
86 | .El | |
87 | .Sh SEE ALSO | |
88 | .Xr yp 8 , | |
89 | .Xr yppush 8 , | |
90 | .Xr ypserv 8 | |
91 | .Sh AUTHOR | |
92 | Mats O Jansson <moj@stacken.kth.se> |