Print this page
11622 clean up rarer mandoc lint warnings

Split Close
Expand all
Collapse all
          --- old/usr/src/man/man1m/ypserv.1m
          +++ new/usr/src/man/man1m/ypserv.1m
   1    1  '\" te
   2    2  .\" Copyright (C) 2004, Sun Microsystems, Inc. All Rights Reserved.
   3    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    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    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    6  .TH YPSERV 1M "Dec 15, 2004"
   7    7  .SH NAME
   8    8  ypserv, ypxfrd \- NIS server and binder processes
   9    9  .SH SYNOPSIS
  10      -.LP
  11   10  .nf
  12   11  \fB/usr/lib/netsvc/yp/ypserv\fR [\fB-dv\fR] [\fB-i\fR | \fB-I\fR] [\fB-r\fR | \fB-R\fR]
  13   12  .fi
  14   13  
  15   14  .LP
  16   15  .nf
  17   16  \fB/usr/lib/netsvc/yp/ypxfrd\fR
  18   17  .fi
  19   18  
  20   19  .SH DESCRIPTION
  21      -.sp
  22      -.LP
  23   20  The Network Information Service (\fBNIS\fR) provides a simple network lookup
  24   21  service consisting of databases and processes. The databases are \fBndbm\fR
  25   22  files in a directory tree rooted at \fB/var/yp\fR. See \fBndbm\fR(3C). These
  26   23  files are described in \fBypfiles\fR(4). The processes are
  27   24  \fB/usr/lib/netsvc/yp/ypserv\fR, the \fBNIS\fR database lookup server, and
  28   25  \fB/usr/lib/netsvc/yp/ypbind\fR, the \fBNIS\fR binder. The programmatic
  29   26  interface to the \fBNIS\fR service is described in \fBypclnt\fR(3NSL).
  30   27  Administrative tools are described in \fByppoll\fR(1M), \fByppush\fR(1M),
  31   28  \fBypset\fR(1M), \fBypxfr\fR(1M), and \fBypwhich\fR(1). Tools to see the
  32   29  contents of \fBNIS\fR maps are described in \fBypcat\fR(1), and
↓ open down ↓ 127 lines elided ↑ open up ↑
 160  157  .LP
 161  158  If \fBypxfrd\fR is running in N2L mode and is asked to transfer a map,
 162  159  \fBypxfrd\fR first checks whether the map is out of date. If the map is out of
 163  160  date, \fBypxfrd\fR initiates an update from the DIT. \fBypxfrd\fR cannot wait
 164  161  for the update to complete. If \fBypxfrd\fR waited, the client end \fBypxfr\fR
 165  162  operation could time out. To prevent \fBypxfrd\fR from timing out, the existing
 166  163  map is transferred from the cache. The most up to date map will be transferred
 167  164  on subsequent \fBypxfrd\fR operations.
 168  165  .SH OPTIONS
 169  166  .SS "ypserv"
 170      -.sp
 171  167  .ne 2
 172  168  .na
 173  169  \fB\fB-d\fR\fR
 174  170  .ad
 175  171  .RS 7n
 176  172  The \fBNIS\fR service should go to the \fBDNS\fR for more host information.
 177  173  This requires the existence of a correct \fB/etc/resolv.conf\fR file pointing
 178  174  to a \fBDNS\fR server. This option turns on \fBDNS\fR forwarding regardless of
 179  175  whether or not the \fBYP_INTERDOMAIN\fR flag is set in the \fBhosts\fR maps.
 180  176  See \fBmakedbm\fR(1M). In the absence of an \fB/etc/resolv.conf\fR file,
↓ open down ↓ 79 lines elided ↑ open up ↑
 260  256  .LP
 261  257  If there is a requirement to initialize the \fBDIT\fR from the NIS source
 262  258  files, which may have been modified since the maps were last remade, run
 263  259  \fBypmake\fR before running \fBypserv\fR \fB-i\fR or \fBypserv\fR \fB-ir\fR.
 264  260  \fBypmake\fR regenerated old style NIS maps. Then \fBypserv\fR \fB-ir\fR dumps
 265  261  them into the \fBDIT\fR. When the \fB-ir\fR option is used, the \fBLDAP_\fR
 266  262  prefixe maps are also generated or updated. Since these maps will be more
 267  263  recent than the old style maps, \fBypmake\fR will not be reported as erroneous
 268  264  when it is run.
 269  265  .SH FILES
 270      -.sp
 271  266  .ne 2
 272  267  .na
 273  268  \fB\fB/var/yp/securenets\fR\fR
 274  269  .ad
 275  270  .sp .6
 276  271  .RS 4n
 277  272  Defines the hosts and networks that are granted access to information in the
 278  273  served domain. It is read at startup time by both \fBypserv\fR and
 279  274  \fBypxfrd\fR.
 280  275  .RE
↓ open down ↓ 13 lines elided ↑ open up ↑
 294  289  .ne 2
 295  290  .na
 296  291  \fB\fB/var/yp/binding/domainname/ypservers\fR\fR
 297  292  .ad
 298  293  .sp .6
 299  294  .RS 4n
 300  295  Lists the \fBNIS\fR server hosts that \fBypbind\fR can bind to.
 301  296  .RE
 302  297  
 303  298  .SH SEE ALSO
 304      -.sp
 305      -.LP
 306  299  \fBsvcs\fR(1), \fBypcat\fR(1), \fBypmatch\fR(1), \fBypwhich\fR(1),
 307  300  \fBdomainname\fR(1M), \fBmakedbm\fR(1M), \fBsvcadm\fR(1M), \fBypbind\fR(1M),
 308  301  \fBypinit\fR(1M), \fBypmake\fR(1M), \fByppoll\fR(1M), \fByppush\fR(1M),
 309  302  \fBypset\fR(1M), \fBypstart\fR(1M), \fBypstop\fR(1M), \fBypxfr\fR(1M),
 310  303  \fBndbm\fR(3C), \fBypclnt\fR(3NSL), \fBlibnsl\fR(3LIB),
 311  304  \fBNISLDAPmapping\fR(4), \fBsecurenets\fR(4), \fBypfiles\fR(4),
 312  305  \fBypserv\fR(4), \fBattributes\fR(5), \fBsmf\fR(5)
 313      -.sp
 314      -.LP
 315  306  
 316      -.sp
 317      -.LP
 318      -\fI\fR
 319  307  .SH NOTES
 320      -.sp
 321      -.LP
 322  308  \fBypserv\fR supports multiple domains. The \fBypserv\fR process determines the
 323  309  domains it serves by looking for directories of the same name in the directory
 324  310  \fB/var/yp\fR. It replies to all broadcasts requesting yp service for that
 325  311  domain.
 326  312  .sp
 327  313  .LP
 328  314  The Network Information Service (\fBNIS\fR) was formerly known as Sun Yellow
 329  315  Pages (\fBYP\fR). The functionality of the two remains the same; only the name
 330  316  has changed. The name Yellow Pages is a registered trademark in the United
 331  317  Kingdom of British Telecommunications PLC, and must not be used without
↓ open down ↓ 23 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX