summaryrefslogtreecommitdiff
path: root/usr/src/man/man1m/idsconfig.1m
blob: adb5081a0975e71686484c93b9a721d813decb0f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
'\" te
.\" Copyright (C) 2001, Sun Microsystems, Inc. All Rights Reserved
.\" 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.
.\" 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.
.\" 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]
.TH IDSCONFIG 1M "May 13, 2017"
.SH NAME
idsconfig \- prepare an iPlanet Directory Server (iDS) to be populated with
data and serve LDAP clients
.SH SYNOPSIS
.LP
.nf
\fB /usr/lib/ldap/idsconfig\fR [\fB-v\fR] [\fB-i\fR \fIinput_configfile\fR]
     [\fB-o\fR \fIoutput_configfile\fR]
.fi

.SH DESCRIPTION
.LP
Use the \fBidsconfig\fR tool to set up an iPlanet Directory Server (iDS). You
can specify the input configuration file with the \fB-i\fR option on the
command line. Alternatively, the tool will prompt the user for configuration
information. The input configuration file is created by \fBidsconfig\fR with
the \fB-o\fR option on a previous run.
.sp
.LP
The first time a server is set up, the user is prompted for all the required
information.  Future installations on that machine can use the configuration
file previously generated by \fBidsconfig\fR using the \fB-o\fR option.
.sp
.LP
The output configuration file contains the directory administrator's password
in clear text. Thus, if you are creating an output configuration file, take
appropriate security precautions.
.sp
.LP
You should back up the directory server's configuration and data prior to
running this command.
.SH OPTIONS
.LP
The following options are supported:
.sp
.ne 2
.na
\fB\fB-i\fR \fIinput_configfile\fR\fR
.ad
.RS 24n
Specify the file name for \fBidsconfig\fR to use as a configuration file.  This
file will be read by \fBidsconfig\fR, and the values in the file will be used
to configure the server.  Do not manually edit \fIinput_configfile\fR. The
\fIinput_configfile\fR is only partially validated, as \fBidsconfig\fR assumes
that the file was created by a previous invocation of the command.
.RE

.sp
.ne 2
.na
\fB\fB-o\fR \fIoutput_configfile\fR\fR
.ad
.RS 24n
Create a configuration file.
.RE

.sp
.ne 2
.na
\fB\fB-v\fR\fR
.ad
.RS 24n
Verbose output.
.RE

.SH OPERANDS
.LP
The following operands are supported:
.sp
.ne 2
.na
\fB\fIinput_configfile\fR\fR
.ad
.RS 21n
Name of configuration file for \fBidsconfig\fR to use.
.RE

.sp
.ne 2
.na
\fB\fIoutput_configfile\fR\fR
.ad
.RS 21n
Configuration file created by \fBidsconfig\fR.
.RE

.SH EXAMPLES
.LP
\fBExample 1 \fRPrompting the User for Input
.sp
.LP
In the following example, the user is prompted for information to set up iDS.

.sp
.in +2
.nf
example# \fBidsconfig\fR
.fi
.in -2
.sp

.LP
\fBExample 2 \fRCreating an Output Configuration File
.sp
.LP
In the following example, the user is prompted for information to set up iDS,
and an output configuration file, \fBconfig.1\fR, is created when completed.

.sp
.in +2
.nf
example# \fBidsconfig -o config.1\fR
.fi
.in -2
.sp

.LP
\fBExample 3 \fRSetting up iDS Using the Specified Configuration File
.sp
.LP
In the following example, iDS is set up by using the values specified in the
configuration file, \fBconfig.1\fR. The verbose mode is specified, so detailed
information will print to the screen.

.sp
.in +2
.nf
example# \fBidsconfig -v -i config.1\fR
.fi
.in -2
.sp

.SH EXIT STATUS
.LP
The following exit values are returned:
.sp
.ne 2
.na
\fB\fB0\fR \fR
.ad
.RS 6n
Successful completion.
.RE

.sp
.ne 2
.na
\fB>\fB0\fR\fR
.ad
.RS 6n
An error occurred.
.RE

.SH ATTRIBUTES
.LP
See \fBattributes\fR(5) for descriptions of the following attributes:
.sp

.sp
.TS
box;
c | c
l | l .
ATTRIBUTE TYPE	ATTRIBUTE VALUE
_
Interface Stability	Evolving
.TE

.SH SEE ALSO
.LP
\fBldap\fR(1), \fBldapadd\fR(1), \fBldapdelete\fR(1), \fBldaplist\fR(1),
\fBldapmodify\fR(1), \fBldapmodrdn\fR(1), \fBldapsearch\fR(1),
\fBldap_cachemgr\fR(1M), \fBldapaddent\fR(1M), \fBldapclient\fR(1M),
\fBresolv.conf\fR(4), \fBattributes\fR(5)