Print this page
10067 Miscellaneous man page typos
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Andy Fiddaman <andy@omniosce.org>
Reviewed by: Volker A. Brandt <vab@bb-c.de>
Split |
Close |
Expand all |
Collapse all |
--- old/usr/src/man/man1m/ypmap2src.1m
+++ new/usr/src/man/man1m/ypmap2src.1m
1 1 '\" te
2 2 .\" Copyright (C) 2003, 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 YPMAP2SRC 1M "Apr 10, 2003"
7 7 .SH NAME
↓ open down ↓ |
7 lines elided |
↑ open up ↑ |
8 8 ypmap2src \- convert NIS maps to NIS source files
9 9 .SH SYNOPSIS
10 10 .LP
11 11 .nf
12 12 \fB/usr/lib/netsvc/yp/ypmap2src\fR [\fB-t\fR]
13 13 [ [\fB-c\fR \fIcustom-map-name\fR]]... [\fB-d\fR \fIdomain\fR] \fB-o\fR \fIoutput-directory\fR
14 14 [ [ \fIsource-file\fR]]...
15 15 .fi
16 16
17 17 .SH DESCRIPTION
18 -.sp
19 18 .LP
20 19 Use the \fBypmap2src\fR utility to convert standard NIS maps to approximations
21 20 of the equivalent NIS source files. This utility functions like the reverse of
22 21 \fBypmake\fR(1M).
23 22 .sp
24 23 .LP
25 24 The primary use for \fBypmap2src\fR is to convert from a NIS server that uses
26 25 the NIS to LDAP(N2L) transition mechanism, which does not use NIS source files,
27 26 to traditional NIS, where source files are required. The \fBypmap2src\fR
28 27 utility is also used by NIS administrators who wish to discover the contents of
29 28 NIS maps for which the sources are not available.
30 29 .sp
31 30 .LP
32 31 Generally, this operation is not necessary. More often, administrators will
33 32 switch from traditional NIS to N2L in anticipation of the eventual transition
34 33 to LDAP naming. When this switch is made, authoritative information is moved
35 34 into the LDAP DIT, and the NIS sources have no further role. N2L supports NIS
36 35 clients until such time as they can be converted to LDAP, and the NIS service
37 36 suspended.
38 37 .sp
39 38 .LP
40 39 The \fBypmap2src\fR utility does not guarantee that the files that are
41 40 generated are identical to the original NIS source files. Some information
42 41 might have been thrown away by \fBypmake\fR and cannot be recovered. N2L also
43 42 might have updated the maps to reflect changes made by LDAP clients. It is
44 43 essential that the sources generated are checked to confirm no problems have
45 44 occurred.
46 45 .sp
47 46 .LP
48 47 Per entry comment fields, from existing source files, are not merged into
↓ open down ↓ |
20 lines elided |
↑ open up ↑ |
49 48 source files generated by \fBypmap2src\fR. If a user wishes N2L to maintain
50 49 comment information, then the \fBNISLDAPmapping\fR configuration file should be
51 50 modified so that the comment fields are mapped into LDAP. This will ensure
52 51 that the comments are visible to native LDAP clients and present in the N2L map
53 52 files.
54 53 .sp
55 54 .LP
56 55 When \fBypmap2src\fR is run, it will take up-to-date comments from the map file
57 56 and insert them into the NIS source file generated.
58 57 .SS "Handling Custom Maps"
59 -.sp
60 58 .LP
61 59 \fBypmap2src\fR only knows about the standard NIS maps and standard source to
62 60 map conversion. If an advanced user has changed these, that is, the user has
63 61 modified the NIS makefile, the equivalent changes must also be made to the
64 62 \fBypmap2src\fR script.
65 63 .SH OPTIONS
66 -.sp
67 64 .LP
68 65 \fBypmap2src\fR supports the following options:
69 66 .sp
70 67 .ne 2
71 68 .na
72 69 \fB\fB-c\fR\fR
73 70 .ad
74 71 .RS 18n
75 72 Specifies that \fIcustom-map-name\fR should be converted to a source
76 73 file by running \fBmakedbm\fR \fB-u\fR on it. This is a short cut so that
77 74 simple custom maps can be handled without editing \fBypmap2src\fR.
78 75 .RE
79 76
80 77 .sp
81 78 .ne 2
82 79 .na
83 80 \fB\fB-d\fR \fIdomain-name\fR\fR
84 81 .ad
85 82 .RS 18n
86 83 Specifies the domain to convert. The \fIdomain-name\fR can be a fully
87 84 qualified file path, such as \fB/var/yp/a.b.c\fR, or just a domain name,
88 85 a.b.c\fB\fR. In the latter case, \fBypmaptosrc\fR looks in \fB/var/yp\fR for
89 86 the domain directory.
90 87 .RE
91 88
92 89 .sp
93 90 .ne 2
94 91 .na
95 92 \fB\fB-o\fR \fIdest\fR\fR
96 93 .ad
97 94 .RS 18n
98 95 Specifies the destination directory for the converted files. A directory other
99 96 than \fB/etc\fR should be specified. The maps generated are copied to the
100 97 correct location, \fB/etc\fR, \fB/etc/security\fR or other source directory, as
101 98 appropriate.
102 99 .RE
103 100
104 101 .sp
↓ open down ↓ |
28 lines elided |
↑ open up ↑ |
105 102 .ne 2
106 103 .na
107 104 \fB\fB-t\fR\fR
108 105 .ad
109 106 .RS 18n
110 107 Specifies that traditional NIS maps, without N2L's \fBLDAP_\fR prefix, should
111 108 be converted. By default, maps with the \fBLDAP_\fR prefix are converted.
112 109 .RE
113 110
114 111 .SH OPERANDS
115 -.sp
116 112 .LP
117 113 \fBypmap2src\fR supports the following operands:
118 114 .sp
119 115 .ne 2
120 116 .na
121 117 \fB\fIsource-file\fR\fR
122 118 .ad
123 119 .RS 15n
124 120 Lists the standard source files to convert. If this option is not given, then
125 -all the standard source files, plus any custom files pecified by the \fB-c\fR
121 +all the standard source files, plus any custom files specified by the \fB-c\fR
126 122 option, are converted.
127 123 .RE
128 124
129 125 .SH ATTRIBUTES
130 -.sp
131 126 .LP
132 127 See \fBattributes\fR(5) for descriptions of the following attributes:
133 128 .sp
134 129
135 130 .sp
136 131 .TS
137 132 box;
138 133 c | c
139 134 l | l .
140 135 ATTRIBUTE TYPE ATTRIBUTE VALUE
141 136 _
142 137 Interface Stability Obsolete
143 138 .TE
144 139
145 140 .SH SEE ALSO
146 -.sp
147 141 .LP
148 142 \fBypmake\fR(1M), \fBypserv\fR(1M), \fBNISLDAPmapping\fR(4),
149 143 \fBattributes\fR(5)
150 144 .sp
151 145 .LP
152 146 \fI\fR
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX