Univention Bugzilla – Bug 54477
Slaptest validation error when creating udm settings/ldapacl not logged
Last modified: 2022-03-04 13:11:00 CET
When trying to add a udm settings/acl object like this: udm settings/ldapacl create --position cn=ldapacl,cn=univention,dc=bbc,dc=local --set name=63b4aonboarding --set filename=63b4aonboarding --set data=$(bzip2 -c /tmp/bbacl | base64 -w0) --set package=b4aonboarding-custom-acl --set packageversion=2.3 and the ACL in the file is invalid, only this is logged in UCS4: UNIVENTION_DEBUG_BEGIN : admin.handlers.simpleLdap._update_policies UNIVENTION_DEBUG_END : admin.handlers.simpleLdap._update_policies 22.02.22 08:49:19.410 LISTENER ( ERROR ) : ldap_extension: slapd.conf validation failed: . UNIVENTION_DEBUG_BEGIN : uldap.__open host=master.bbc.local port=7389 base=dc=bbc,dc=local This is because in ldap/extension.py only stdout and not stderr is printed here: ud.debug(ud.LISTENER, ud.ERROR, '%s: slapd.conf validation failed:\n%s.' % (name, stdout)) In UCS5 this has been fixed by 2b5391ce91 Bug #51648: log combined stdout + stderr in univention.lib.udm_extension We should cherry-pick that commit