YP -> NIS

This commit is contained in:
thorpej 2005-02-26 16:21:26 +00:00
parent b14dfa00d2
commit 63f6912b86

View File

@ -1,4 +1,4 @@
.\" $NetBSD: ypwhich.1,v 1.12 2003/02/25 10:36:03 wiz Exp $
.\" $NetBSD: ypwhich.1,v 1.13 2005/02/26 16:21:26 thorpej Exp $
.\"
.\" Copyright (c) 1994 Christopher G. Demetriou
.\" All rights reserved.
@ -28,12 +28,12 @@
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
.Dd November 4, 1997
.Dd February 26, 2005
.Dt YPWHICH 1
.Os
.Sh NAME
.Nm ypwhich
.Nd return hostname of YP server of map master
.Nd return hostname of NIS server of map master
.Sh SYNOPSIS
.Nm
.Op Fl d Ar domain
@ -52,17 +52,17 @@
.Sh DESCRIPTION
.Nm
tells which
.Tn YP
.Tn NIS
server supplies
.Tn YP
.Tn NIS
services to a client, or which is the master for a map.
If invoked without arguments, it gives the
.Tn YP
.Tn NIS
server for the local machine.
If
.Ar host
is specified, that machine is queried to find out which
.Tn YP
.Tn NIS
server it is using.
.Pp
The options are as follows:
@ -85,7 +85,7 @@ Inhibit translation of map nicknames
to their corresponding map names.
.It Fl m Op Ar mname
Find the master
.Tn YP
.Tn NIS
server for the named map.
.Ar mname
can be a map name or nickname.
@ -104,9 +104,9 @@ exits with a non-zero exit code if
is used, and there was a problem in determining the map's master.
.Sh SEE ALSO
.Xr domainname 1 ,
.Xr nis 8 ,
.Xr ypcat 1 ,
.Xr ypmatch 1 ,
.Xr yp 8 ,
.Xr ypbind 8 ,
.Xr yppoll 8 ,
.Xr ypset 8