ypxfr.8 (89362) | ypxfr.8 (99500) |
---|---|
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.\" | 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 89362 2002-01-14 16:59:03Z ru $ | 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 | 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 |
50.Nm Ypxfr 51copies an | 50The 51.Nm 52utility copies an |
52.Tn NIS 53database (or 54.Pa map ) 55from one 56.Tn NIS 57server to another using 58.Tn NIS 59services. In 60.Fx , 61.Nm 62is generally invoked by 63.Xr ypserv 8 64when it receives a map transfer request from 65.Xr yppush 8 . | 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 . |
66.Nm Ypxfr 67is used primarily in environments where several | 67The 68.Nm 69utility is used primarily in environments where several |
68.Tn NIS 69servers are in use in a single domain. One server, the 70.Tn NIS 71master, maintains 72the canonical copies of all 73.Tn NIS 74maps, and all the other servers, 75the --- 79 unchanged lines hidden (view full) --- 155server. This protocol allows it to transfer raw map database files from 156the 157.Tn NIS 158master server and can be many times faster than the standard 159transfer method, particularly for very large 160.Tn NIS 161maps. The 162.Nm | 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 |
163command will check to see if the | 165utility will check to see if the |
164.Xr rpc.ypxfrd 8 165server is registered on the 166.Tn NIS 167master server and attempt to use 168it if it is present. If it isn't it will fall back to the standard 169transfer method, copying the map contents from 170.Xr ypserv 8 171and creating new maps instead. --- 121 unchanged lines hidden --- | 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 --- |