Univention Bugzilla – Bug 55558
Unhandeled dependency of UCRV ldap/translog-ignore-temporary from ldap/translogfile
Last modified: 2023-02-01 17:24:18 CET
If the UCRV ldap/translogfile is unset and ldap/translog-ignore-temporary is set to "true" then the slapd.conf will be invalid and prevent slapd from starting. To fix this we need to make ldap/translog-ignore-temporary only effectively making a change to slapd.conf if ldap/translogfile is set. Setting the UCRV ldap/translog-ignore-temporary to "true" creates the line translog-ignore-temporary true in the slapd.conf. However this depends on the translog overlay module being activated as well. This only happens if ldap/translogfile is being set. The following patch should be enough to fix the issue. modified management/univention-ldap/conffiles/etc/ldap/slapd.conf.d/40univention-ldap-server_database @@ -8,8 +8,8 @@ print('') if configRegistry.get('ldap/translogfile'): print("overlay\t\ttranslog") print("translog\t%s" % configRegistry['ldap/translogfile']) -if configRegistry.is_true('ldap/translog-ignore-temporary'): - print("translog-ignore-temporary\ttrue") + if configRegistry.is_true('ldap/translog-ignore-temporary'): + print("translog-ignore-temporary\ttrue") if configRegistry.is_true('ldap/k5pwd', True): print("overlay\t\tk5pwd") if configRegistry.is_true('ldap/pwd_scheme_kinit', True):
Package: univention-ldap Version: 16.0.7-26A~5.0.0.202301201745 Branch: ucs_5.0-0 Scope: errata5.0-2 [5.0-2] 1087b64d44 Bug #34877: univention-ldap 16.0.7-26A~5.0.0.202301201745 doc/errata/staging/univention-ldap.yaml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-)
QA: - Code review - installed univention-ldap package - diff-ed /etc/ldap/slapd.conf before and after - tested size limit exceeded behaviour before and after.
QA: - Check YAML file for completeness and validity
<https://errata.software-univention.de/#/?erratum=5.0x568>