Print this page
    
9842 man page typos and spelling
    
      
        | Split | Close | 
      | Expand all | 
      | Collapse all | 
    
    
          --- old/usr/src/man/man4/ypfiles.4
          +++ new/usr/src/man/man4/ypfiles.4
   1    1  '\" te
   2    2  .\" Copyright (c) 2003, Sun Microsystems, Inc. All Rights Reserved.
   3    3  .\" Copyright 1989 AT&T
   4    4  .\" 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.
   5    5  .\" 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.
   6    6  .\" 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]
   7    7  .TH YPFILES 4 "Feb 25, 2017"
   8    8  .SH NAME
   9    9  ypfiles \- Network Information Service Version 2, formerly known as YP
  10   10  .SH DESCRIPTION
  11   11  .LP
  12   12  The NIS network information service uses a distributed, replicated database of
  13   13  \fBdbm\fR files , in ASCII form, that are contained in the \fB/var/yp\fR
  14   14  directory hierarchy on each NIS server.
  15   15  .sp
  16   16  .LP
  17   17  A \fBdbm\fR database served by the NIS server is called a NIS \fImap\fR. A NIS
  18   18  \fIdomain\fR is a subdirectory of \fB/var/yp\fR that contains a set of NIS maps
  19   19  on each NIS server.
  20   20  .sp
  21   21  .LP
  22   22  Standard nicknames are defined in the file \fB/var/yp/nicknames\fR. These names
  23   23  can be used in place of the full map name in the \fBypmatch\fR and \fBypcat\fR
  
    | ↓ open down ↓ | 23 lines elided | ↑ open up ↑ | 
  24   24  commands. Use the command \fBypwhich\fR \fB-x\fR to display the current set of
  25   25  nicknames. Use the command \fBypwhich\fR \fB-m\fR to display all the available
  26   26  maps. Each line of the nickname file contains two fields separated by white
  27   27  space. The first field is the nickname, and the second field is the name of the
  28   28  map that it expands to. The nickname cannot contain a ".".
  29   29  .SS "NIS to LDAP (N2L)"
  30   30  .LP
  31   31  If the \fB/var/yp/NISLDAPmapping\fR configuration file is present, the NIS
  32   32  server operates in NIS to LDAP (N2L) mode. In this mode, NIS maps are stored in
  33   33  a new set of DBM files, prepended by the \fBLDAP_\fR prefix, at
  34      -\fB/var/yp/\fIdomainename\fR\fR. These files are used as a cache backed by
       34 +\fB/var/yp/\fIdomainname\fR\fR. These files are used as a cache backed by
  35   35  information from an LDAP server. Additional DBM files are created in the same
  36   36  directory to hold the cache's TTL values.
  37   37  .sp
  38   38  .LP
  39   39  N2L mode enables NIS clients to be supported in an LDAP environment.
  40   40  .sp
  41   41  .LP
  42   42  In N2L mode, the old style DBM files, NIS source files, and the
  43   43  \fBypmake\fR(1M) utility have to role. They are retained to enable easy
  44   44  conversion back to the traditional mode, if required.
  45   45  .SS "Converting from N2L to Traditional NIS"
  46   46  .LP
  47   47  When NIS is operating in N2L mode, it uses a new set of NIS maps with an
  48   48  \fBLDAP_\fR prefix, based on the contents of the LDAP DIT. The NIS source files
  49   49  are unused and become out of date. If you wish to convert back to the
  50   50  traditional NIS mode, the N2L configuration file should be deleted. The system
  51   51  will then return to using the standard map files. Optionally, the N2L mode map
  52   52  files, \fB/var/yp/*/LDAP_*\fR can also be deleted.
  53   53  .sp
  54   54  .LP
  55   55  If you want to run the system in traditional mode with information based on the
  56   56  DIT, then the NIS source files must be regenerated based on the N2L maps. To
  57   57  regenerate the NIS source files based on the N2L maps, run \fBypmap2src\fR(1M).
  58   58  .SH FILES
  59   59  .ne 2
  60   60  .na
  61   61  \fB\fB/var/yp\fR\fR
  62   62  .ad
  63   63  .sp .6
  64   64  .RS 4n
  65   65  Directory containing NIS configuration files.
  66   66  .RE
  67   67  
  68   68  .sp
  69   69  .ne 2
  70   70  .na
  71   71  \fB\fB/var/yp/binding\fR\fR
  72   72  .ad
  73   73  .sp .6
  74   74  .RS 4n
  75   75  Stores the information required to bind the NIS client to the NIS server.
  76   76  .RE
  77   77  
  78   78  .sp
  79   79  .ne 2
  80   80  .na
  81   81  \fB\fB/var/yp/binding/\fIypdomain\fR/ypservers\fR\fR
  82   82  .ad
  83   83  .sp .6
  84   84  .RS 4n
  85   85  Contains the servers to which the NIS client is allowed to bind.
  86   86  .RE
  87   87  
  88   88  .sp
  89   89  .ne 2
  90   90  .na
  91   91  \fB\fB/var/yp/Makefile\fR\fR
  92   92  .ad
  93   93  .sp .6
  94   94  .RS 4n
  95   95  Builds the NIS \fBndbm\fR databases.
  96   96  .RE
  97   97  
  98   98  .sp
  99   99  .ne 2
 100  100  .na
 101  101  \fB\fB/var/yp/nicknames\fR\fR
 102  102  .ad
 103  103  .sp .6
 104  104  .RS 4n
 105  105  Nicknames file.
 106  106  .RE
 107  107  
 108  108  .sp
 109  109  .ne 2
 110  110  .na
 111  111  \fB\fB/var/yp/securenets\fR\fR
 112  112  .ad
 113  113  .sp .6
 114  114  .RS 4n
 115  115  Defines the hosts and networks that are granted access to information in the
 116  116  served domain. This file is read at startup time by \fBypserv\fR and
 117  117  \fBypxfrd\fR.
 118  118  .RE
 119  119  
 120  120  .sp
 121  121  .ne 2
 122  122  .na
 123  123  \fB\fB/var/yp/\fIypdomain\fR\fR\fR
 124  124  .ad
 125  125  .sp .6
 126  126  .RS 4n
 127  127  Directory containing \fBndbm\fR databases.
 128  128  .RE
 129  129  
 130  130  .sp
 131  131  .ne 2
 132  132  .na
 133  133  \fB\fB/var/yp/NISLDAPmapping\fR\fR
 134  134  .ad
 135  135  .sp .6
 136  136  .RS 4n
 137  137  NIS to LDAP configuration file
 138  138  .RE
 139  139  
 140  140  .sp
 141  141  .ne 2
 142  142  .na
 143  143  \fB\fB/var/yp/*/LDAP_*\fR\fR
 144  144  .ad
 145  145  .sp .6
 146  146  .RS 4n
 147  147  NIS to LDAP mode map files
 148  148  .RE
 149  149  
 150  150  .SH SEE ALSO
 151  151  .LP
 152  152  \fBldap\fR(1), \fBmakedbm\fR(1M), \fBypbind\fR(1M), \fBypinit\fR(1M),
 153  153  \fBypmake\fR(1M), \fBypmap2src\fR(1M), \fBypserv\fR(1M), \fBypxfrd\fR(1M),
 154  154  \fBndbm\fR(3C), \fBypclnt\fR(3NSL)
  
    | ↓ open down ↓ | 110 lines elided | ↑ open up ↑ | 
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX