Bug 40414

Summary: S4-Connector should store only non-rejected DNs as premapped
Product: UCS Reporter: Arvid Requate <requate>
Component: S4 ConnectorAssignee: Samba maintainers <samba-maintainers>
Status: RESOLVED WONTFIX QA Contact:
Severity: normal    
Priority: P5 CC: gohmann
Version: UCS 4.1   
Target Milestone: ---   
Hardware: Other   
OS: Linux   
See Also: https://forge.univention.org/bugzilla/show_bug.cgi?id=40380
What kind of report is it?: Development Internal What type of bug is this?: ---
Who will be affected by this bug?: --- How will those affected feel about the bug?: ---
User Pain: Enterprise Customer affected?:
School Customer affected?: ISV affected?:
Waiting Support: Flags outvoted (downgraded) after PO Review:
Ticket number: Bug group (optional): Error handling
Max CVSS v3 score:

Description Arvid Requate univentionstaff 2016-01-11 18:04:38 CET
The S4-Connector should only store valid DN-relations to 'DN Mapping CON' and 'DN Mapping UCS'. In the case of Bug 40380 Comment 5 an invalid DN relation was stored and then the S4-Connector insists to use that instead of searching again. The S4-Connector should store these DN-relations only for successful synchronizations.

At least two functions rely on these DN-relation tables:

* samaccountname_dn_mapping
* dns_dn_mapping

They attempt to determine the target DN from the tables and if something is stored then it is taken as "premapped".


In addition to this approach of avoiding invalid entries it might be necessary to make the S4-Connector "forget" a premapping if a reject is encountered at some point.
Comment 1 Stefan Gohmann univentionstaff 2019-01-03 07:18:27 CET
This issue has been filled against UCS 4.1. The maintenance with bug and security fixes for UCS 4.1 has ended on 5st of April 2018.

Customers still on UCS 4.1 are encouraged to update to UCS 4.3. Please contact
your partner or Univention for any questions.

If this issue still occurs in newer UCS versions, please use "Clone this bug" or simply reopen the issue. In this case please provide detailed information on how this issue is affecting you.