1.\" Copyright (c) 1995 2.\" Bill Paul <wpaul@ctr.columbia.edu>. All rights reserved. 3.\" 4.\" Redistribution and use in source and binary forms, with or without 5.\" modification, are permitted provided that the following conditions 6.\" are met: 7.\" 1. Redistributions of source code must retain the above copyright 8.\" notice, this list of conditions and the following disclaimer. --- 14 unchanged lines hidden (view full) --- 23.\" FOR ANY 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.\" $FreeBSD: head/libexec/ypxfr/ypxfr.8 99500 2002-07-06 19:19:48Z charnier $ |
32.\" 33.Dd February 5, 1995 34.Dt YPXFR 8 35.Os 36.Sh NAME 37.Nm ypxfr 38.Nd "transfer NIS database from remote server to local host" 39.Sh SYNOPSIS 40.Nm /usr/libexec/ypxfr 41.Op Fl f 42.Op Fl c 43.Op Fl d Ar target domain 44.Op Fl h Ar source host 45.Op Fl s Ar source domain 46.Op Fl p Ar path 47.Op Fl C Ar taskid program-number ipaddr port 48.Ar mapname 49.Sh DESCRIPTION |
50The 51.Nm 52utility copies an |
53.Tn NIS 54database (or 55.Pa map ) 56from one 57.Tn NIS 58server to another using 59.Tn NIS 60services. In 61.Fx , 62.Nm 63is generally invoked by 64.Xr ypserv 8 65when it receives a map transfer request from 66.Xr yppush 8 . |
67The 68.Nm 69utility is used primarily in environments where several |
70.Tn NIS 71servers are in use in a single domain. One server, the 72.Tn NIS 73master, maintains 74the canonical copies of all 75.Tn NIS 76maps, and all the other servers, 77the --- 79 unchanged lines hidden (view full) --- 157server. This protocol allows it to transfer raw map database files from 158the 159.Tn NIS 160master server and can be many times faster than the standard 161transfer method, particularly for very large 162.Tn NIS 163maps. The 164.Nm |
165utility will check to see if the |
166.Xr rpc.ypxfrd 8 167server is registered on the 168.Tn NIS 169master server and attempt to use 170it if it is present. If it isn't it will fall back to the standard 171transfer method, copying the map contents from 172.Xr ypserv 8 173and creating new maps instead. --- 121 unchanged lines hidden --- |