xref: /freebsd/usr.sbin/yppoll/yppoll.8 (revision b2c76c41be32f904179efed29c0ca04d53f3996c)
1*d84e564fSMarcelo Araujo.\"	$OpenBSD: yppoll.8,v 1.10 2014/09/08 01:27:56 schwarze Exp $
2*d84e564fSMarcelo Araujo.\"	$NetBSD: yppoll.8,v 1.3 1996/02/28 01:23:12 thorpej Exp $
3*d84e564fSMarcelo Araujo.\"
4f2b73968SWolfram Schneider.\" Copyright (c) 1996 The NetBSD Foundation, Inc.
5f2b73968SWolfram Schneider.\" All rights reserved.
6f2b73968SWolfram Schneider.\"
7f2b73968SWolfram Schneider.\" This code is derived from software contributed to The NetBSD Foundation
8f2b73968SWolfram Schneider.\" by Jason R. Thorpe.
9f2b73968SWolfram Schneider.\"
10f2b73968SWolfram Schneider.\" Redistribution and use in source and binary forms, with or without
11f2b73968SWolfram Schneider.\" modification, are permitted provided that the following conditions
12f2b73968SWolfram Schneider.\" are met:
13f2b73968SWolfram Schneider.\" 1. Redistributions of source code must retain the above copyright
14f2b73968SWolfram Schneider.\"    notice, this list of conditions and the following disclaimer.
15f2b73968SWolfram Schneider.\" 2. Redistributions in binary form must reproduce the above copyright
16f2b73968SWolfram Schneider.\"    notice, this list of conditions and the following disclaimer in the
17f2b73968SWolfram Schneider.\"    documentation and/or other materials provided with the distribution.
18f2b73968SWolfram Schneider.\"
19f2b73968SWolfram Schneider.\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
20f2b73968SWolfram Schneider.\" ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
21f2b73968SWolfram Schneider.\" TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
22*d84e564fSMarcelo Araujo.\" PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE
23*d84e564fSMarcelo Araujo.\" LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
24f2b73968SWolfram Schneider.\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
25f2b73968SWolfram Schneider.\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
26f2b73968SWolfram Schneider.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
27f2b73968SWolfram Schneider.\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
28f2b73968SWolfram Schneider.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
29f2b73968SWolfram Schneider.\" POSSIBILITY OF SUCH DAMAGE.
30f2b73968SWolfram Schneider.\"
31*d84e564fSMarcelo Araujo.Dd September 3, 2015
32f2b73968SWolfram Schneider.Dt YPPOLL 8
33f2b73968SWolfram Schneider.Os
34f2b73968SWolfram Schneider.Sh NAME
35f2b73968SWolfram Schneider.Nm yppoll
36*d84e564fSMarcelo Araujo.Nd ask version of NIS map from NIS server
37f2b73968SWolfram Schneider.Sh SYNOPSIS
38*d84e564fSMarcelo Araujo.Nm yppoll
39f2b73968SWolfram Schneider.Op Fl d Ar domain
40*d84e564fSMarcelo Araujo.Op Fl h Ar host
41f2b73968SWolfram Schneider.Ar mapname
42f2b73968SWolfram Schneider.Sh DESCRIPTION
43490d5836SPhilippe Charnier.Nm
44*d84e564fSMarcelo Araujoasks a NIS server process for the order number and which host is the master
45f2b73968SWolfram Schneiderserver for
46f2b73968SWolfram Schneider.Ar mapname .
47f2b73968SWolfram Schneider.Pp
48f2b73968SWolfram SchneiderThe options are as follows:
49*d84e564fSMarcelo Araujo.Bl -tag -width Ds
50f2b73968SWolfram Schneider.It Fl d Ar domain
51*d84e564fSMarcelo AraujoUse the NIS domain
52f2b73968SWolfram Schneider.Ar domain
53f2b73968SWolfram Schneiderinstead of the default domain as returned by
54f2b73968SWolfram Schneider.Xr domainname 1 .
55*d84e564fSMarcelo Araujo.It Fl h Ar host
56*d84e564fSMarcelo AraujoAsk the NIS server process running on
57*d84e564fSMarcelo Araujo.Ar host
58*d84e564fSMarcelo Araujofor information about
59*d84e564fSMarcelo Araujo.Ar mapname .
60*d84e564fSMarcelo AraujoIf
61*d84e564fSMarcelo Araujo.Ar host
62*d84e564fSMarcelo Araujois not specified, the server polled is the default server returned by
63*d84e564fSMarcelo Araujo.Xr ypwhich 1 .
64f2b73968SWolfram Schneider.El
65f2b73968SWolfram Schneider.Sh SEE ALSO
66f2b73968SWolfram Schneider.Xr domainname 1 ,
67f2b73968SWolfram Schneider.Xr ypcat 1 ,
68f2b73968SWolfram Schneider.Xr ypmatch 1 ,
69f2b73968SWolfram Schneider.Xr ypwhich 1 ,
70491a8429SRuslan Ermilov.Xr yp 8 ,
71f2b73968SWolfram Schneider.Xr ypbind 8 ,
72f2b73968SWolfram Schneider.Xr ypset 8
73f2b73968SWolfram Schneider.Sh AUTHORS
74*d84e564fSMarcelo Araujo.An -nosplit
75*d84e564fSMarcelo Araujo.An Theo de Raadt
76f12a1471SPhilippe Charnierand
77f12a1471SPhilippe Charnier.An John Brezak
78