Merge commit '008b34be09d7b9c3e7a18d3ce9ef8b5c4f4ff8b8'
[unleashed.git] / share / man / man1 / ypwhich.1
blob957f1acd4f44b155194a58f0ea6f5e23adb9ff88
1 '\" te
2 .\"  Copyright 1989 AT&T  Copyright (c) 1988 Sun Microsystems, Inc. - All Rights Reserved.  Copyright (c) 1995 Sun Microsystems, Inc.  All Rights Reserved.
3 .\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License").  You may not use this file except in compliance with the License.
4 .\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing.  See the License for the specific language governing permissions and limitations under the License.
5 .\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE.  If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
6 .TH YPWHICH 1 "Apr 7, 1995"
7 .SH NAME
8 ypwhich \- return name of NIS server or map master
9 .SH SYNOPSIS
10 .LP
11 .nf
12 \fBypwhich\fR [\fB-d\fR \fIdomain\fR] [ [\fB-t\fR] \fB-m\fR [\fImname\fR] | [\fB-Vn\fR] \fIhostname\fR]
13 .fi
15 .LP
16 .nf
17 \fBypwhich\fR \fB-x\fR
18 .fi
20 .SH DESCRIPTION
21 .sp
22 .LP
23 \fBypwhich\fR returns the name of the NIS server that supplies the  NIS name
24 services to a NIS client, or which is the master for a map. If invoked without
25 arguments, it gives the NIS server for the local machine.  If \fBhostname\fR is
26 specified, that machine is queried to find out which NIS master it is using.
27 .sp
28 .LP
29 Refer to \fBypfiles\fR(4) for an overview of the  NIS name services.
30 .SH OPTIONS
31 .sp
32 .ne 2
33 .na
34 \fB\fB-d\fR\fI domain\fR\fR
35 .ad
36 .RS 13n
37 Use \fIdomain\fR instead of the default domain.
38 .RE
40 .sp
41 .ne 2
42 .na
43 \fB\fB-t\fR\fR
44 .ad
45 .RS 13n
46 This option inhibits map nickname translation.
47 .RE
49 .sp
50 .ne 2
51 .na
52 \fB\fB-m\fR\fI mname\fR\fR
53 .ad
54 .RS 13n
55 Find the master NIS server for a map.  No \fBhostname\fR can be specified with
56 \fB-m\fR. \fImname\fR can be a mapname, or a nickname for a map. When
57 \fImname\fR is omitted, produce a list of available maps.
58 .RE
60 .sp
61 .ne 2
62 .na
63 \fB\fB-x\fR\fR
64 .ad
65 .RS 13n
66 Display the map nickname translation table.
67 .RE
69 .sp
70 .ne 2
71 .na
72 \fB\fB\(miVn\fR\fR
73 .ad
74 .RS 13n
75 Version of  \fBypbind\fR, V3 is default.
76 .RE
78 .SH SEE ALSO
79 .sp
80 .LP
81 \fBypfiles\fR(4), \fBattributes\fR(5)