2 .\" Copyright (C) 2003, Sun Microsystems, Inc. All Rights Reserved
3 .\" Copyright 1989 AT&T
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 .\" 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 .\" 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 .TH YPMAKE 1M "Aug 17, 2006"
9 ypmake \- rebuild NIS database
13 \fBcd\fR \fB/var/yp\fR ; \fBmake\fR [\fImap\fR]
19 The file called \fBMakefile\fR in \fB/var/yp\fR is used by \fBmake\fR(1S) to
20 build the Network Information Service (\fBNIS\fR) database. With no arguments,
21 \fBmake\fR creates \fBdbm\fR databases for any \fBNIS\fR maps that are
22 out-of-date, and then executes \fByppush\fR(1M) to notify slave databases that
23 there has been a change.
26 If you supply a \fImap\fR on the command line, \fBmake\fR will update that map
27 only. Typing \fBmake passwd\fR will create and \fByppush\fR the password
28 database (assuming it is out of date). Likewise, \fBmake ipnodes\fR and \fBmake
29 networks\fR will create and \fByppush\fR the \fBipnodes\fR and \fBnetwork\fR
30 files, \fB$(INETDIR)/ipnodes\fR and \fB$(DIR)/networks\fR.
33 There are four special variables used by \fBmake\fR: \fBDIR\fR, which gives the
34 directory of the source files; \fBNOPUSH\fR, which when non-null inhibits doing
35 a \fByppush\fR of the new database files; \fBINETDIR\fR, which gives the
36 directory of the \fBipnodes\fR source file; and \fBDOM\fR, which is used to
37 construct a domain other than the master's default domain. The default for
38 \fBDIR\fR is \fB/etc\fR, and the default for \fBINETDIR\fR is \fB/etc/inet\fR.
39 The default for \fBNOPUSH\fR is the null string.
42 Refer to \fBypfiles\fR(4) and \fBypserv\fR(1M) for an overview of the
46 If a \fBNIS\fR to LDAP (N2L) configuration file, \fB/var/yp/NISLDAPmapping\fR,
47 is present, the \fBNIS\fR server components run in N2L mode. In N2L mode, the
48 server components use a new set of map files with an LDAP-prefix, based on the
49 LDAP DIT. In N2L mode, authoritative NIS information is obtained from the DIT.
50 The NIS source files and \fBypmake\fR have no role, and they should not be
51 used. If \fBypmake\fR is accidentally run, then the server components will
52 detect this, and will log a warning message. For additional information, see
61 Directory containing \fBNIS\fR configuration files.
67 \fB\fB/etc/inet/hosts\fR\fR
79 Default directory for source files.
85 See \fBattributes\fR(5) for descriptions of the following attributes:
93 ATTRIBUTE TYPE ATTRIBUTE VALUE
95 Interface Stability Evolving
101 \fBmake\fR(1S), \fBnis+\fR(1), \fBmakedbm\fR(1M), \fBrpc.nisd\fR(1M),
102 \fBypbind\fR(1M), \fByppush\fR(1M), \fBypserv\fR(1M), \fBypclnt\fR(3NSL),
103 \fBNISLDAPmapping\fR(4), \fBypfiles\fR(4), \fBypserv\fR(4)
107 The \fBNIS\fR makefile is only used when running the \fBypserv\fR(1M) server
108 to provide \fBNIS\fR services. If these are being provided by the \fBNIS+\fR
109 server running in \fBNIS\fR compatibility mode, see \fBrpc.nisd\fR(1M); this
110 makefile is not relevant. See \fBypfiles\fR(4) for more details.
113 The Network Information Service (\fBNIS\fR) was formerly known as Sun Yellow
114 Pages (\fBYP\fR). The functionality of the two remains the same. Only the name
115 has changed. The name Yellow Pages is a registered trademark in the United
116 Kingdom of British Telecommunications plc, and may not be used without