Univention Bugzilla – Bug 45221
wrong regex for sed to find binddn in univention-run-join-scripts
Last modified: 2018-06-27 08:25:10 CEST
Created attachment 9125 [details] univention-run-join-scripts.patch The attached patch fixed line 159 where the sed regex was wrong - the following sed calls are correct. The behavior was only wrong in certain environments, when there is a schema extension which affects the result. In this particular case the schema extension deputy (Stellvertreter) is installed and the uid=Administrator is registered as deputy, so it's DN occurs multiple times. Only the Object DN itself starts at the beginning of the line so the regex needs to be like 's/^DN: //'
Yes! It can be reproduced with: udm users/user modify --dn "uid=Administrator,cn=users,$(ucr get ldap/base)" --set description="DN: foobar!" → Then binddn contains something like "uid=Administrator,cn=users,dc=school,dc=local\n description: foobar!"
Created attachment 9165 [details] patch And some more fixes.
Move to 4.3-0-errata. If a UCS 4.2 backport is needed, please clone this issue.
(In reply to Florian Best from comment #2) > Created attachment 9165 [details] > patch > > And some more fixes. Moved to bug 47102 and bug 47103.
*** This bug has been marked as a duplicate of bug 36097 ***
Nothing to release.