OSDN Git Service

Import translated manuals from JM CVS Repository.
[linuxjm/jm.git] / manual / ypserv / draft / man8 / rpc.ypxfrd.8
1 .\" -*- nroff -*-
2 .\" $Id: rpc.ypxfrd.8,v 1.4 2001/12/01 15:25:31 nakano Exp $
3 .\" 
4 .\" This manual page is a part of ypserv archive. 
5 .\" README states the following
6 .\"
7 .\" See the file COPYING for copying restrictions. It is available under
8 .\" the GNU General Public License.
9 .\"
10 .\" Japanese Version Copyright (c) 1998, 1999 NAKANO Takeo all rights reserved.
11 .\" Translated Mon 23 Nov 1998 by NAKANO Takeo <nakano@apm.seikei.ac.jp>
12 .\" Updated Fri 22 Oct 1999 by NAKANO Takeo
13 .\" Updated Wed 11 Apr 2001 by Yuichi SATO <sato@complex.eng.hokudai.ac.jp>
14 .\"
15 .TH RPC.YPXFRD 8 "August 1996" "NYS YP Server" "Linux Reference Manual"
16 .\"O .SH NAME
17 .\"O rpc.ypxfrd \- NIS map transfer server
18 .SH Ì¾Á°
19 rpc.ypxfrd \- NIS ¥Þ¥Ã¥×žÁ÷¥µ¡¼¥Ð¡¼
20 .\"O .SH SYNOPSIS
21 .SH ½ñ¼°
22 .B /usr/sbin/rpc.ypxfrd
23 [
24 .B \-d path 
25 ]
26 [
27 .B \-p port
28 ]
29 [
30 .B \-\-debug
31 ]
32 .B /usr/sbin/rpc.ypxfrd 
33 .B \-\-version
34 .LP
35 .\"O .SH DESCRIPTION
36 .SH ÀâÌÀ
37 .LP
38 .\"O .B rpc.ypxfrd
39 .\"O is used for speed up the transfer of very large NIS maps from a NIS
40 .\"O master to the NIS slave server. If a  NIS slave server receives a
41 .\"O message that there is a new map, it will start 
42 .\"O .B ypxfr
43 .\"O for transfering the new map.
44 .\"O .B ypxfr 
45 .\"O will read the contents of a map from the master server using the yp_all() 
46 .\"O function. This process can take several minutes when there are very large
47 .\"O maps which have to be stored by the database library.
48 .B rpc.ypxfrd
49 ¤ÏÈó¾ï¤ËÂ礭¤Ê NIS ¥Þ¥Ã¥×¤ò NIS ¥Þ¥¹¥¿¡¼¤«¤é NIS ¥¹¥ì¡¼¥Ö¥µ¡¼¥Ð¡¼¤Ë
50 žÁ÷¤¹¤ëºÝ¤Ë¡¢Å¾Á÷¤ò¹â®²½¤¹¤ë¤¿¤á¤ËÍѤ¤¤é¤ì¤ë¡£
51 NIS ¥¹¥ì¡¼¥Ö¥µ¡¼¥Ð¡¼¤Ï¡¢¿·¤·¤¤¥Þ¥Ã¥×¤¬¤¢¤ë¤È¤¤¤¦¥á¥Ã¥»¡¼¥¸¤ò
52 ¼õ¤±¼è¤ë¤È¡¢¤½¤Î¥Þ¥Ã¥×¤ò¼èÆÀ¤¹¤ë¤¿¤á¤Ë
53 .B ypxfr
54 ¤òµ¯Æ°¤¹¤ë¡£
55 .B ypxfr
56 ¤Ï yp_all() ´Ø¿ô¤òÍѤ¤¤Æ¥Þ¥Ã¥×¤ÎÆâÍƤò¥Þ¥¹¥¿¡¼¥µ¡¼¥Ð¡¼¤«¤é
57 Æɤ߹þ¤â¤¦¤È¤¹¤ë¡£¤³¤Î¾ðÊó¤Ï¥Ç¡¼¥¿¡¼¥Ù¡¼¥¹¥é¥¤¥Ö¥é¥ê¤ò
58 Ä̤·¤ÆÊݸ¤µ¤ì¤ë¤¿¤á¡¢¥Þ¥Ã¥×¤Î¥µ¥¤¥º¤¬Èó¾ï¤ËÂ礭¤¯¤Ê¤ë¤È¡¢
59 ¤³¤Î¥×¥í¥»¥¹¤Ï¿ôʬ¤â¤«¤«¤Ã¤Æ¤·¤Þ¤¦¤³¤È¤¬¤¢¤ë¡£
60 .LP
61 .\"O The
62 .\"O .B rpc.ypxfrd
63 .\"O server speeds up the transfer process by allowing NIS slave servers to
64 .\"O simply copy the master server's map files rather than building their
65 .\"O own from scratch.
66 .\"O .B rpc.ypxfrd
67 .\"O uses an RPC-based file transfer protocol, so that there is no need
68 .\"O for building a new map.
69 .B rpc.ypxfrd
70 ¥µ¡¼¥Ð¡¼¤Ï¡¢ NIS ¥¹¥ì¡¼¥Ö¥µ¡¼¥Ð¡¼¤Ë¥Þ¥¹¥¿¡¼¤Î¥Þ¥Ã¥×¥Õ¥¡¥¤¥ë¤ò
71 ñ½ã¤Ë¥³¥Ô¡¼¤µ¤»¡¢Å¾Á÷¥×¥í¥»¥¹¤ò¹â®²½¤¹¤ë¡£¥¹¥ì¡¼¥Ö¥µ¡¼¥Ð¡¼¤¬
72 ¥¼¥í¤«¤é¥Þ¥Ã¥×¤òÀ¸À®¤¹¤ë¤Î¤ËÈæ¤Ù¡¢¤³¤ì¤Ï¤º¤Ã¤Èû»þ´Ö¤Ç¤¹¤à¡£
73 .B rpc.ypxfrd
74 ¤Ï RPC ¥Ù¡¼¥¹¤ÎžÁ÷¥×¥í¥È¥³¥ë¤òÍѤ¤¤ë¤Î¤Ç¡¢¿·¤·¤¤¥Þ¥Ã¥×¤ò
75 À¸À®¤¹¤ëɬÍפϤʤ¯¤Ê¤ë¡£
76
77 .\"O .B rpc.ypxfrd
78 .\"O could be started by inetd. But since it starts very slowly,
79 .\"O it should be started after
80 .\"O .B ypserv
81 .\"O from /etc/init.d/ypxfrd.
82 .B rpc.ypxfrd
83 ¤Ï inetd ¤«¤éµ¯Æ°¤¹¤ë¤³¤È¤â¤Ç¤­¤ë¤¬¡¢µ¯Æ°¤Ë¤Ï»þ´Ö¤¬¤«¤«¤ë¤Î¤Ç¡¢
84 .B ypserv
85 ¤Î¸å¤Ë /etc/init.d/ypxfrd ¤«¤éµ¯Æ°¤¹¤ë¤Î¤¬Îɤ¤¡£
86 .\"O .SH OPTIONS
87 .TP
88 .B \-\-debug
89 .\"O Causes the server to run in debugging mode. In debug mode, the server 
90 .\"O does not background itself and prints extra status messages to stderr 
91 .\"O for each request that it revceives.
92 ¥µ¡¼¥Ð¡¼¤ò¥Ç¥Ð¥Ã¥°¥â¡¼¥É¤Çµ¯Æ°¤¹¤ë¡£
93 ¥Ç¥Ð¥Ã¥°¥â¡¼¥É¤Ç¤Ï¡¢¥µ¡¼¥Ð¡¼¤Ï¥Ð¥Ã¥¯¥°¥é¥¦¥ó¥É¤ØÂÔÈò¤»¤º¡¢
94 ¥¢¥¯¥»¥¹Í×µá¤ò¼õ¤±¤ë¤¿¤Ó¤ËºÙ¤«¤Ê¥¹¥Æ¡¼¥¿¥¹¥á¥Ã¥»¡¼¥¸¤ò
95 ɸ½à¥¨¥é¡¼½ÐÎϤËɽ¼¨¤¹¤ë¡£
96 .TP
97 .BI \-d " directory"
98 .\"O .B rpc.ypxfrd
99 .\"O is using this directory instead of /var/yp
100 /var/yp ¤ÎÂå¤ï¤ê¤Ë
101 .B rpc.ypxfrd
102 ¤¬ÍѤ¤¤ë¥Ç¥£¥ì¥¯¥È¥ê¤ò»ØÄꤹ¤ë¡£
103 .TP
104 .BI \-p " port"
105 .\"O .B rpc.ypxfrd
106 .\"O will bind itself to this port,
107 .\"O which makes it possible to have a router filter packets
108 .\"O to the NIS ports. This can restricted the access to the NIS server from
109 .\"O hosts on the Internet.
110 .B rpc.ypxfrd
111 ¤¬¥Ð¥¤¥ó¥É¤¹¤ë¥Ý¡¼¥ÈÈÖ¹æ¤ò»ØÄꤹ¤ë¡£¤³¤Î¥ª¥×¥·¥ç¥ó¤òÍѤ¤¤ë¤È¡¢
112 ¥ë¡¼¥¿¤Ë NIS ¥Ý¡¼¥È¤Ø¤Î¥Ñ¥±¥Ã¥È¤ò¥Õ¥£¥ë¥¿¥ê¥ó¥°¤µ¤»¡¢
113 ¥¤¥ó¥¿¡¼¥Í¥Ã¥È¤«¤é¤Î NIS ¥µ¡¼¥Ð¡¼¤Ø¤Î¥¢¥¯¥»¥¹¤òÀ©¸Â¤Ç¤­¤ë¡£
114 .TP
115 .B \-\-version
116 .\"O Prints the version number
117 ¥Ð¡¼¥¸¥ç¥óÈÖ¹æ¤òɽ¼¨¤¹¤ë¡£
118 .\"O .SH SECURITY
119 .SH ¥»¥­¥å¥ê¥Æ¥£
120 .\"O .B rpc.ypxfrd
121 .\"O uses the same functions for checking a host as
122 .\"O .B ypserv.
123 .\"O At first,
124 .\"O .B rpc.ypxfrd
125 .\"O will check a request from an address with 
126 .\"O .B /var/yp/securenets
127 .\"O or the tcp wrapper.
128 .\"O If the host is allowed to connect to the server, 
129 .\"O .B rpc.ypxfrd
130 .\"O will uses the rules from
131 .\"O .B /etc/ypserv.conf
132 .\"O to check the requested map. If a mapname doesn't match a rule, 
133 .\"O .B rpc.ypxfrd
134 .\"O will look for the YP_SECURE key in the map. If it exists,
135 .\"O .B rpc.ypxfrd
136 .\"O will only allow requests on a reserved port.
137 .B rpc.ypxfrd
138 ¤Ï¥Û¥¹¥È¤Î¥Á¥§¥Ã¥¯¤Ë
139 .B ypserv
140 ¤ÈƱ¤¸µ¡Ç½¤òÍѤ¤¤ë¡£¤Þ¤º
141 .B rpc.ypxfrd
142 ¤ÏÍ׵ḵ¤Î¥¢¥É¥ì¥¹¤ò
143 .B /var/yp/securenets
144 ¤Þ¤¿¤Ï tcp wrapper ¤Ç¥Á¥§¥Ã¥¯¤¹¤ë¡£¥Û¥¹¥È¤Î¥µ¡¼¥Ð¡¼¤Ø¤ÎÀܳ¤¬
145 µö¤µ¤ì¤Æ¤¤¤ë¾ì¹ç¤Ë¤Ï¡¢
146 .B rpc.ypxfrd
147 ¤Ï
148 .B /etc/ypserv.conf
149 ¤«¤éÍ׵ᤵ¤ì¤¿¥Þ¥Ã¥×¤Î¥ë¡¼¥ë¤ò¥Á¥§¥Ã¥¯¤¹¤ë¡£¥Þ¥Ã¥×¤Î̾Á°¤¬
150 ¥ë¡¼¥ë¤Ë¥Þ¥Ã¥Á¤·¤Ê¤¤¾ì¹ç¤Ë¤Ï¡¢
151 .B rpc.ypxfrd
152 ¤Ï¤½¤Î¥Þ¥Ã¥×¤Î YP_SECURE ¥­¡¼¤òÄ´¤Ù¤ë¡£¥­¡¼¤¬Â¸ºß¤·¤Æ¤¤¤ë¤È¡¢
153 .B rpc.ypxfrd
154 ¤ÏÆø¢¥Ý¡¼¥È¤«¤é¤ÎÍ×µá¤À¤±¤òµö²Ä¤¹¤ë¡£
155 .\"O .SH FILES
156 .SH ¥Õ¥¡¥¤¥ë
157 /etc/ypserv.conf
158 /var/yp/securenets
159 .\"O .SH "SEE ALSO"
160 .SH ´ØÏ¢¹àÌÜ
161 .BR ypserv (8),
162 .BR makedbm (8),
163 .BR yppush (8),
164 .BR ypxfr (8)
165 .LP
166 .\"O .SH BUGS
167 .SH ¥Ð¥°
168 .\"O The FreeBSD
169 .\"O .B ypxfrd
170 .\"O protocol is not compatible with that used by SunOS. This is unfortunate
171 .\"O but unavoidable: Sun's protocol is not freely available, and even if it
172 .\"O were it would probably not be useful since the SunOS NIS v2 implimentation
173 .\"O uses the original ndbm package for its map databases whereas the other
174 .\"O implimentation uses GNU DBM or Berkeley DB. These packages uses vastly 
175 .\"O different file formats. Furthermore, ndbm and gdbm are byte-order sensitive 
176 .\"O and not very smart about it, meaning that a gdbm or ndbm database created on 
177 .\"O a big endian system can't be read on a little endian system. The FreeBSD
178 .\"O .B ypxfrd
179 .\"O protocol checks, if both, master and slave, uses the same database packages
180 .\"O and, if necessary, the byte order of the system.
181 FreeBSD ¤Î
182 .B ypxfrd
183 ¥×¥í¥È¥³¥ë¤Ï SunOS ¤Î¤â¤Î¤È¤Ï¸ß´¹À­¤¬¤Ê¤¤¡£¤³¤ì¤Ï»ÄÇ°¤Ê¤³¤È¤Ç¤Ï¤¢¤ë¤¬¡¢
184 ÉÔ²ÄÈò¤Ê¤â¤Î¤Ç¤¢¤Ã¤¿¡£ Sun ¤Î¥×¥í¥È¥³¥ë¤Ï¥Õ¥ê¡¼¤ËÆþ¼ê¤Ç¤­¤ë¤â¤Î¤Ç¤Ï
185 ¤Ê¤«¤Ã¤¿¤·¡¢²¾¤ËÆþ¼ê¤¬¤Ç¤­¤¿¤È¤·¤Æ¤âÍ­ÍѤʤâ¤Î¤Ë¤Ï¤Ê¤ê¤¨¤Ê¤«¤Ã¤¿¤í¤¦¡£
186 ¸å¼Ô¤ÎÍýͳ¤Ï¡¢ SunOS NIS v2 ¤Î¼ÂÁõ¤¬¥Þ¥Ã¥×¤Î¥Ç¡¼¥¿¡¼¥Ù¡¼¥¹¤Ë¥ª¥ê¥¸¥Ê¥ë¤Î
187 ndbm ¥Ñ¥Ã¥±¡¼¥¸¤òÍѤ¤¤Æ¤¤¤ë¤Î¤ËÂФ·¡¢Â¾¤Î¼ÂÁõ¤Ç¤Ï GNU DBM ¤ä Berkeley DB
188 ¤òÍѤ¤¤Æ¤¤¤ë¤«¤é¤Ç¤¢¤ë¡£¤³¤ì¤é¤Î¥Ñ¥Ã¥±¡¼¥¸¤Ï¤Þ¤Ã¤¿¤¯°Û¤Ê¤Ã¤¿¥Õ¥¡¥¤¥ë
189 ¥Õ¥©¡¼¥Þ¥Ã¥È¤òÍѤ¤¤Æ¤¤¤ë¾å¡¢ ndbm ¤È gdbm ¤Ç¤Ï¥Ð¥¤¥È¥ª¡¼¥À¡¼¥ó¤Î°ã¤¤¤ò
190 ¸­¤¯°·¤¦¤³¤È¤¬¤Ç¤­¤Ê¤¤¡£¤·¤¿¤¬¤Ã¤Æ big endian ¤Ê¥·¥¹¥Æ¥à¤ÇÀ¸À®¤µ¤ì¤¿
191 gdbm ¤ä ndbm ¤Î¥Ç¡¼¥¿¡¼¥Ù¡¼¥¹¤Ï¡¢ little endian ¤Ê¥·¥¹¥Æ¥à¤Ç¤ÏÆɤळ¤È¤¬
192 ¤Ç¤­¤Ê¤¤¤Î¤Ç¤¢¤ë¡£ FreeBSD ¤Î
193 .B ypxfrd
194 ¥×¥í¥È¥³¥ë¤Ï¡¢¥Þ¥¹¥¿¡¼¤È¥¹¥ì¡¼¥Ö¤ÎξÊý¤¬Æ±¤¸¥Ç¡¼¥¿¡¼¥Ù¡¼¥¹¥Ñ¥Ã¥±¡¼¥¸¤ò
195 »È¤Ã¤Æ¤¤¤ë¤«¤É¤¦¤«¤ò¡¢¤Þ¤¿É¬Íפ˱þ¤¸¤Æ¡¢Î¾¥·¥¹¥Æ¥à¤Ç¤Î¥Ð¥¤¥È¥ª¡¼¥À¡¼¤¬Åù¤·¤¤¤«
196 ¤É¤¦¤«¤ò¥Á¥§¥Ã¥¯¤¹¤ë¡£
197 .LP
198 .\"O .SH AUTHOR
199 .SH Ãø¼Ô
200 .\"O ypxfrd protocol and FreeBSD Implementation: Bill Paul <wpaul@ctr.columbia.edu>
201 .\"O .br
202 .\"O Linux Implementation: Thorsten Kukuk <kukuk@suse.de>
203 ypxfrd ¥×¥í¥È¥³¥ë¤È FreeBSD ¤Ø¤Î¼ÂÁõ: Bill Paul <wpaul@ctr.columbia.edu>
204 .br
205 Linux ¤Ø¤Î¼ÂÁõ: Thorsten Kukuk <kukuk@suse.de>