Problem:
My configuration is not properly build.
Here as example the slapd.conf
You find some strange error message/traceback in the logfile → in this case it was the updater.log
Failed to process Subfile /etc/univention/templates/files/etc/ldap/slapd.conf.d/64univention-ldap-server_acl-master-admin-settings
Failed to process Subfile /etc/univention/templates/files/etc/ldap/slapd.conf.d/64univention-ldap-server_acl-master-admin-settings
File: /etc/init.d/slapd
Multifile: /etc/ldap/slapd.conf
Traceback (most recent call last):
File "<stdin>", line 11, in <module>
TypeError: unsupported operand type(s) for %: 'NoneType' and 'str'
Investigation:
You can check with this command, which template, throw the traceback:
for f in /etc/univention/templates/files/etc/ldap/slapd.conf.d/*; do echo "$f"; ucr filter <"$f"; done 2>&1 |tee -a /tmp/slapd-generated.log
In this case we found
/etc/univention/templates/files/etc/ldap/slapd.conf.d/11univention-ldap-usercert_schema
looking for the package, this file comes from shows and old version:
ii univention-ldap-usercert 4.2.0-10A~4.4.0.20230206134 all UCS - LDAP usercert configuration
Solution:
In this case the cool-solution was not properly mirgated and upgraded:
Make sure the cool-solution repo is still integrated and univention-check-templates
does not show customized 11univention-ldap-usercert.schema