xref: /netbsd-src/usr.sbin/yppoll/yppoll.8 (revision a3587e505a4eb1b527d1e256c2848edb871d8627)
1.\"	$NetBSD: yppoll.8,v 1.11 2011/04/25 22:34:46 wiz Exp $
2.\"
3.\" Copyright (c) 1996 The NetBSD Foundation, Inc.
4.\" All rights reserved.
5.\"
6.\" This code is derived from software contributed to The NetBSD Foundation
7.\" by Jason R. Thorpe.
8.\"
9.\" Redistribution and use in source and binary forms, with or without
10.\" modification, are permitted provided that the following conditions
11.\" are met:
12.\" 1. Redistributions of source code must retain the above copyright
13.\"    notice, this list of conditions and the following disclaimer.
14.\" 2. Redistributions in binary form must reproduce the above copyright
15.\"    notice, this list of conditions and the following disclaimer in the
16.\"    documentation and/or other materials provided with the distribution.
17.\"
18.\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
19.\" ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
20.\" TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
21.\" PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
22.\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
23.\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
24.\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
25.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
26.\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
27.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
28.\" POSSIBILITY OF SUCH DAMAGE.
29.\"
30.Dd January 25, 2008
31.Dt YPPOLL 8
32.Os
33.Sh NAME
34.Nm yppoll
35.Nd ask version of NIS map from NIS server
36.Sh SYNOPSIS
37.Nm
38.Op Fl T
39.Op Fl h Ar host
40.Op Fl d Ar domain
41.Ar mapname
42.Sh DESCRIPTION
43.Nm
44asks a
45.Tn NIS
46server process for the order number and which host is the master
47server for
48.Ar mapname .
49.Pp
50The options are as follows:
51.Bl -tag -width indent
52.It Fl T
53Use TCP protocol instead of UDP for request if the
54.Fl h
55option is present.
56.It Fl h Ar host
57Ask the
58.Tn NIS
59server process running on
60.Ar host
61for information about
62.Ar mapname .
63If
64.Ar host
65is not specified, the server polled is the default server returned by
66.Xr ypwhich 1 .
67.It Fl d Ar domain
68Use the
69.Tn NIS
70domain
71.Ar domain
72instead of the default domain as returned by
73.Xr domainname 1 .
74.El
75.Sh SEE ALSO
76.Xr domainname 1 ,
77.Xr ypcat 1 ,
78.Xr ypmatch 1 ,
79.Xr ypwhich 1 ,
80.Xr nis 8 ,
81.Xr ypbind 8 ,
82.Xr ypset 8
83.Sh AUTHORS
84Theo de Raadt and John Brezak
85