1RPC.YPXFRD(8)                NIS Reference Manual                RPC.YPXFRD(8)
2
3
4

NAME

6       rpc.ypxfrd - NIS map transfer server
7

SYNOPSIS

9       /usr/sbin/rpc.ypxfrd [-d path] [-p port] [--debug] [-f|--foreground]
10
11       /usr/sbin/rpc.ypxfrd --version
12

DESCRIPTION

14       rpc.ypxfrd is used for speed up the transfer of very large NIS maps
15       from a NIS master to the NIS slave server. If a NIS slave server
16       receives a message that there is a new map, it will start ypxfr for
17       transfering the new map.  ypxfr will read the contents of a map from
18       the master server using the yp_all() function.
19
20       The rpc.ypxfrd server speeds up the transfer process by allowing NIS
21       slave servers to simply copy the master servers map files rather than
22       building their own from scratch.  rpc.ypxfrd uses an RPC-based file
23       transfer protocol.
24
25       If the on-disk format of the database on both machines is not the same,
26       rpc.ypxfrd will refuse to send the data and ypxfr will fallback to
27       yp_all() and fetch every single entry alone.
28
29       rpc.ypxfrd could be started by inetd. But since it starts very slowly,
30       it should be started after ypserv from /etc/init.d/ypxfrd.
31
32       It is possible to pass OPTIONS to rpc.ypxfrd using the environment
33       variable YPXFRD_ARGS and this variable can be set in
34       /etc/sysconfig/network.
35
36

OPTIONS

38       --debug
39           Causes the server to run in debugging mode. In debug mode, the
40           server does not background itself and prints extra status messages
41           to stderr for each request that it revceives.
42
43       -d path
44
45           rpc.ypxfrd is using this directory instead of /var/yp.
46
47       -p port
48
49           rpc.ypxfrd will bind itself to this port, which makes it possible
50           to have a router filter packets to the NIS ports. This can
51           restricted the access to the NIS server from hosts on the Internet.
52
53       --version
54           Prints the version number
55
56       -f, --foreground
57           will not put itself into background.
58

SECURITY

60       rpc.ypxfrd uses the same functions for checking a host as ypserv. At
61       first, rpc.ypxfrd will check a request from an address with
62       /var/yp/securenets or the tcp wrapper. If the host is allowed to
63       connect to the server, rpc.ypxfrd will uses the rules from
64       /etc/ypserv.conf to check the requested map. If a mapname doesn´t match
65       a rule, rpc.ypxfrd will look for the YP_SECURE key in the map. If it
66       exists, rpc.ypxfrd will only allow requests on a reserved port.
67

NOTES

69       The FreeBSD ypxfrd protocol is not compatible with that used by SunOS.
70       This is unfortunate but unavoidable: SUNs protocol is not freely
71       available, and even if it were it would probably not be useful since
72       the SunOS NIS v2 implementation uses the original ndbm package for its
73       map databases whereas the other implementation uses GNU DBM or Berkeley
74       DB. These packages uses vastly different file formats. Furthermore,
75       ndbm and gdbm are byte-order and word width sensitive and not very
76       smart about it, meaning that a gdbm or ndbm database created on a big
77       endian or 64bit system cannot be read on a little endian or 32bit
78       system. The FreeBSD ypxfrd protocol checks, if both, master and slave,
79       uses the same database packages and, if necessary, the byte order of
80       the system.
81

FILES

83       /etc/ypserv.conf
84           Configuration file for options and access rights
85
86       /var/yp/securenets
87           Configuration file for access rights
88
89       /etc/sysconfig/network
90           Setting additional arguments to rpc.ypxfrd.
91

SEE ALSO

93       ypserv(8), makedbm(8), yppush(8), ypxfr(8)
94

AUTHOR

96       ypxfrd protocol and FreeBSD Implementation: Bill Paul
97       <wpaul@ctr.columbia.edu>
98
99       Linux Implementation: Thorsten Kukuk <kukuk@linux-nis.org>
100
101
102
103NIS Reference Manual              04/15/2008                     RPC.YPXFRD(8)
Impressum