Bug 58866 - Join fails if objectClass or attributeType in LDAP schema >2000bytes
Summary: Join fails if objectClass or attributeType in LDAP schema >2000bytes
Status: VERIFIED FIXED
Alias: None
Product: UCS
Classification: Unclassified
Component: Listener (univention-directory-listener)
Version: UCS 5.2
Hardware: Other Linux
: P5 normal
Target Milestone: UCS 5.2-4
Assignee: Julia Bremer
QA Contact: Florian Best
URL:
Keywords:
Depends on: 56247
Blocks:
  Show dependency treegraph
 
Reported: 2025-11-30 17:19 CET by Julia Bremer
Modified: 2025-12-01 10:21 CET (History)
7 users (show)

See Also:
What kind of report is it?: Development Internal
What type of bug is this?: 5: Major Usability: Impairs usability in key scenarios
Who will be affected by this bug?: 2: Will only affect a few installed domains
How will those affected feel about the bug?: 5: Blocking further progress on the daily work
User Pain: 0.286
Enterprise Customer affected?: Yes
School Customer affected?: Yes
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional): Regression
Customer ID:
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Julia Bremer univentionstaff 2025-11-30 17:19:11 CET
+++ This bug was initially created as a clone of Bug #56247 +++

The changes in Bug 56247 regarding replication.py
changed (probably by accident?) the location of the file where the schema.conf ends up.
It dumps it to var/lib/univention-directory-replication/schema.conf instead
of /var/lib/univention-ldap/schema.conf.
Slapd doesn't include that file, so it keeps on using the default schema.

This wasn't noticed before because the change was never built or released.
Only until we rebuilt all packages for 5.2-4, schema replication and join broke.

To be able to continue with the release we'll revert that change that was unreleased before. 

We need to check if this incomplete release created regressions, and if the original bug is even fixed.
Comment 1 Julia Bremer univentionstaff 2025-11-30 17:29:51 CET
On closer inspection it was a simple refactoring that introduced the regression.
The only functional change was the file name.
I corrected the file name in commit b1c60141a36ce6150254cff6720aa0730d93c886

Successful build
Package: univention-directory-replication
Version: 15.4.1
Release: 5.2-0
Scope: ucs5.2-4
Comment 2 Florian Best univentionstaff 2025-12-01 10:21:42 CET
The problem was, that the original changes changed univention-directory-listener and univention-directory-replication but did only add one debian/changelog for UDL and build therefor only the one package.

OK: Tests pass again
OK: rest of UDR refactoring of git:2f0c5300254b3ffc09d4afb1e0ba08c619336db1
OK: there are no functional changes, therefor no changelog entry required.