@@ -9,7 +9,7 @@ ldaptoolbox_openldap_apt_key_url: "https://ltb-project.org/documentation/_static
9
9
ldaptoolbox_openldap_apt_key_id : " 3FC3FD92ABA3975D2BEB95A70AC51F926D45BFC5"
10
10
ldaptoolbox_openldap_apt_repo_filename : " ltb-project-openldap"
11
11
ldaptoolbox_openldap_apt_keyrings_path : /usr/share/keyrings
12
- ldaptoolbox_openldap_apt_repo : " deb [arch=amd64 signed-by=/usr/share/keyrings/ltb-project-openldap.gpg] http://ltb-project.org/debian/openldap25/bullseye bullseye main"
12
+ ldaptoolbox_openldap_apt_repo : " deb [arch=amd64 signed-by=/usr/share/keyrings/ltb-project-openldap.gpg] http://ltb-project.org/debian/openldap26/bookworm bookworm main"
13
13
ldaptoolbox_openldap_apt_validate_certs : " true"
14
14
15
15
# Packages
@@ -35,6 +35,10 @@ ldaptoolbox_openldap_slapd_cli_cmd: /usr/local/openldap/sbin/slapd-cli
35
35
# OpenLDAP configuration
36
36
# ###############################################################################
37
37
38
+ # Options
39
+ olcAttributeOptions :
40
+ - lang-
41
+
38
42
# Suffix
39
43
ldaptoolbox_openldap_suffix : " {{ ldaptoolbox_openldap_suffix }}"
40
44
@@ -51,13 +55,20 @@ ldaptoolbox_openldap_olcTLSProtocolMin: 3.3
51
55
52
56
# Log level
53
57
ldaptoolbox_openldap_olcLogLevel : stats
58
+ ldaptoolbox_openldap_olcLogFile : " /var/log/slapd-ltb/slapd.log"
59
+ ldaptoolbox_openldap_olcLogFileRotate : " 30 1024 24"
60
+
61
+ # Size limit
62
+ ldaptoolbox_openldap_olcSizeLimit : 1000
54
63
55
64
# Enabled modules
56
65
ldaptoolbox_openldap_module_list :
57
66
- argon2.la
58
67
- pw-pbkdf2.la
68
+ - pw-sha2.la
59
69
- back_mdb.la
60
70
- dynlist.la
71
+ - memberof.la
61
72
- ppolicy.la
62
73
- syncprov.la
63
74
- unique.la
@@ -104,59 +115,19 @@ ldaptoolbox_openldap_database_olcLimits:
104
115
105
116
# Indexes definition
106
117
ldaptoolbox_openldap_database_olcDbIndexes :
118
+ - " entryCSN,entryUUID eq"
107
119
- " objectClass eq"
108
- - " entryUUID eq"
109
- - " entryCSN eq"
110
- - " cn pres,eq,sub"
111
- - " uid pres,eq,sub"
112
-
113
- # #######################
114
- # Replication directives
115
- # #######################
120
+ - " cn eq,sub"
121
+ - " uid pres,eq"
122
+ - " givenName pres,eq,sub"
123
+ - " l pres,eq"
124
+ - " employeeType pres,eq"
125
+ - " mail pres,eq,sub"
126
+ - " sn pres,eq,sub"
116
127
117
- ldaptoolbox_openldap_olcServerID : 1
118
- ldaptoolbox_openldap_syncrepl :
119
- - rid : " 001"
120
- provider : " ldap://localhost:389/"
121
- tlscert : " {{ ldaptoolbox_openldap_olcTLSCertificateFile }}"
122
- tlskey : " {{ ldaptoolbox_openldap_olcTLSCertificateKeyFile }}"
123
- tlscacert : " {{ ldaptoolbox_openldap_olcTLSCACertificateFile }}"
124
- tlsreqcert : " demand"
125
- binddn : " uid=syncrepl,ou=accounts,ou=infrastructure,{{ ldaptoolbox_openldap_suffix }}"
126
- password : " {{ ldaptoolbox_openldap_syncrepl_password_vault }}"
127
- searchbase : " {{ ldaptoolbox_openldap_suffix }}"
128
- scope : " sub"
129
- type : " refreshAndPersist"
130
- retry : " 5 5 300 +"
131
- - rid : " 002"
132
- provider : " ldap://localhost:389/"
133
- tlscert : " {{ ldaptoolbox_openldap_olcTLSCertificateFile }}"
134
- tlskey : " {{ ldaptoolbox_openldap_olcTLSCertificateKeyFile }}"
135
- tlscacert : " {{ ldaptoolbox_openldap_olcTLSCACertificateFile }}"
136
- tlsreqcert : " demand"
137
- binddn : " uid=syncrepl,ou=accounts,ou=infrastructure,{{ ldaptoolbox_openldap_suffix }}"
138
- password : " {{ ldaptoolbox_openldap_syncrepl_password_vault }}"
139
- searchbase : " {{ ldaptoolbox_openldap_suffix }}"
140
- scope : " sub"
141
- type : " refreshAndPersist"
142
- retry : " 5 5 300 +"
143
128
ldaptoolbox_openldap_overlay_syncprov_olcSpCheckpoint : " 100 10"
144
129
ldaptoolbox_openldap_overlay_syncprov_olcSpSessionlog : " 100"
145
130
146
131
# #######################
147
132
# Overlays configuration
148
133
# #######################
149
-
150
- # Password policy
151
- ldaptoolbox_openldap_overlay_ppolicy_olcPPolicyDefault : " cn=default,ou=ppolicies,{{ ldaptoolbox_openldap_suffix }}"
152
- ldaptoolbox_openldap_overlay_ppolicy_olcPPolicyHashCleartext : " TRUE"
153
- ldaptoolbox_openldap_overlay_ppolicy_olcPPolicyUseLockout : " TRUE"
154
-
155
- # Referential integrity
156
- ldaptoolbox_openldap_overlay_refint_olcRefintAttribute : " member"
157
- ldaptoolbox_openldap_overlay_refint_olcRefintNothing : " cn=nothing,{{ ldaptoolbox_openldap_suffix }}"
158
-
159
- # Dynamic groups (dynlist)
160
- ldaptoolbox_openldap_overlay_dynlist_olcDlAttrSet : " groupOfURLs memberURL member+memberOf@groupOfNames*"
161
-
162
-
0 commit comments