Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,20 @@ Default: `ldap://localhost` · Can be changed: ¹

Server URI for tasks that connect via LDAP. Since tasks are running on the same server as 389DS, this will be localhost in most cases, no need to customize it.

#### dirsrv_use_mdb
Default: `unset` - Can be changed: Yes

Starting from version 3.0.0 of 389ds, new instances are no longer created with BerkeleyDB by default but with LMDB (mdb). Depending on the operating system's
packaged version of 389ds, newly created instances may still be created with BDB.
If this variable is unset, the effect would be that of using the default db lib for the installed version of 389ds.
Setting this variable to true will force the installer to use LMDB.

#### dirsrv_mdb_max_size
Default: `unset` - Can be changed: Yes

Sets the maximum database size (0 to compute it based on disk size up to 1GB). If left unset, the default value of the installed version of 389ds will be used.
This only makes sense together with `dirsrv_use_mdb: true`.

#### dirsrv_factory
Default: `false` · Can be changed: Yes

Expand Down
2 changes: 2 additions & 0 deletions defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,8 @@ dirsrv_ldapi_enabled: false
dirsrv_sasl_plain_enabled: true
dirsrv_listen_host:
dirsrv_secure_listen_host:
dirsrv_use_mdb:
dirsrv_mdb_max_size:

# Display supported cipher suites:
# ldapsearch -xLLL -H ldap://server.example.com:389 -D "cn=Directory Manager" -W -b 'cn=encryption,cn=config' -s base nsSSLSupportedCiphers -o ldif-wrap=no dn: cn=encryption,cn=config
Expand Down
6 changes: 6 additions & 0 deletions templates/install-v2.inf.j2
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,12 @@ instance_name = {{ dirsrv_serverid }}
port = {{ dirsrv_port }}
root_dn = {{ dirsrv_rootdn }}
root_password = {{ dirsrv_rootdn_password }}
{% if dirsrv_use_mdb %}
db_lib = mdb
{% if dirsrv_mdb_max_size is defined %}
mdb_max_size = {{ dirsrv_mdb_max_size }}
{% endif %}
{% endif %}
{% if dirsrv_selfsigned_cert is defined %}
self_sign_cert = {{ "True" if dirsrv_selfsigned_cert else "False" }}
{% endif %}
Expand Down
Loading