blob: 5d2a0f04c8fd47d17c4a8bd0fbecc8412b69eeae [file] [log] [blame]
Hung-Wei Chiuc309b552021-09-09 18:18:52 +00001{#
2SPDX-FileCopyrightText: © 2020 Open Networking Foundation <support@opennetworking.org>
3SPDX-License-Identifier: Apache-2.0
4#}
5
6;
7; This is a version 2 ds setup inf file.
8; It is used by the python versions of setup-ds-*
9; Most options map 1 to 1 to the original .inf file.
10; However, there are some differences that I envision
11; For example, note the split backend section.
12; You should be able to create, one, many or no backends in an install
13;
14; The special value {instance_name} is substituted at installation time.
15;
16; By default, all configuration parameters in this file are commented out.
17; To use an INF file with dscreate, you must at least set the parameters
18; flagged with [REQUIRED].
19
20
21[general]
22# defaults (str)
23# Description: Directory Server enables administrators to use the default values for cn=config entries from a specific version. If you set this parameter to "999999999", which is the default, the instance always uses the default values of the latest version. For example, to configure that the instance uses default values from version 1.3.5, set this parameter to "001003005". The format of this value is XXXYYYZZZ, where X is the major version, Y the minor version, and Z the patch level. Note that each part of the value uses 3 digits and must be filled with leading zeros if necessary.
24# Default value: 999999999
25defaults = 999999999
26
27# full_machine_name (str)
28# Description: Sets the fully qualified hostname (FQDN) of this system. When installing this instance with GSSAPI authentication behind a load balancer, set this parameter to the FQDN of the load balancer and, additionally, set "strict_host_checking" to "false".
29# Default value: debian-11-priv
30full_machine_name = {{ ds389_machine_name }}
31
32# start (bool)
33# Description: Starts the instance after the install completes. If false, the instance is created but started.
34# Default value: True
35start = True
36
37# strict_host_checking (bool)
38# Description: Sets whether the server verifies the forward and reverse record set in the "full_machine_name" parameter. When installing this instance with GSSAPI authentication behind a load balancer, set this parameter to "false". Container installs imply "false".
39# Default value: False
40;strict_host_checking = False
41
42
43[slapd]
44# instance_name (str)
45# Description: Sets the name of the instance. You can refer to this value in other parameters of this INF file using the "{instance_name}" variable. Note that this name cannot be changed after the installation!
46# Default value: localhost
47instance_name = {{ ds389_instance_name }}
48
49# port (int)
50# Description: Sets the TCP port the instance uses for LDAP connections.
51# Default value: 389
52;port = 389
53
54# root_password (str)
55# Description: Sets the password of the "cn=Directory Manager" account ("root_dn" parameter).You can either set this parameter to a plain text password dscreate hashes during the installation or to a "{algorithm}hash" string generated by the pwdhash utility. The password must be at least 8 characters long. Note that setting a plain text password can be a security risk if unprivileged users can read this INF file!
56# Default value: Directory_Manager_Password
57root_password = {{ ds389_root_password }}
58
59# secure_port (int)
60# Description: Sets the TCP port the instance uses for TLS-secured LDAP connections (LDAPS).
61# Default value: 636
62;secure_port = 636
63
64# self_sign_cert (bool)
65# Description: Sets whether the setup creates a self-signed certificate and enables TLS encryption during the installation. The certificate is not suitable for production, but it enables administrators to use TLS right after the installation. You can replace the self-signed certificate with a certificate issued by a Certificate Authority. If set to False, you can enable TLS later by importing a CA/Certificate and enabling 'dsconf <instance_name> config replace nsslapd-security=on'
66# Default value: True
67self_sign_cert = {{ ds389_self_sign_cert }}
68
69# self_sign_cert_valid_months (int)
70# Description: Set the number of months the issued self-signed certificate will be valid.
71# Default value: 24
72;self_sign_cert_valid_months = 24
73
74
75[backend-userroot]
76# create_suffix_entry (bool)
77# Description: Set this parameter to "True" to create a generic root node entry for the suffix in the database.
78# Default value: False
79;create_suffix_entry = False
80
81# require_index (bool)
82# Description: Set this parameter to "True" to refuse unindexed searches in this database.
83# Default value: False
84;require_index = False
85
86# sample_entries (str)
87# Description: Set this parameter to 'yes' to add latest version of sample entries to this database. Or, use '001003006' to use the 1.3.6 version sample entries. Use this option, for example, to create a database for testing purposes.
88# Default value: no
89;sample_entries = no
90
91# suffix (str)
92# Description: Sets the root suffix stored in this database. If you do not uncomment and set the suffix attribute the install process will NOT create the backend/suffix. You can also create multiple backends/suffixes by duplicating this section.
93# Default value:
94suffix = {{ ds389_suffix }}