Bug 52735 - S4-Connector: Mark single_value attributes programmatically
Summary: S4-Connector: Mark single_value attributes programmatically
Status: CLOSED MOVED
Alias: None
Product: UCS
Classification: Unclassified
Component: S4 Connector
Version: UCS 5.0
Hardware: Other Linux
: P5 normal
Target Milestone: UCS 5.0-0-errata
Assignee: Samba maintainers
QA Contact: Samba maintainers
URL: https://git.knut.univention.de/univen...
Keywords:
Depends on:
Blocks:
 
Reported: 2021-02-01 20:53 CET by Florian Best
Modified: 2025-09-09 10:06 CEST (History)
4 users (show)

See Also:
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: 0.171
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Customer ID:
Max CVSS v3 score:
best: Patch_Available+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Florian Best univentionstaff 2021-02-01 20:53:24 CET
git:c0e6de184f5c309c712087d050fb817e83bc258f
    Bug #18501: Mark single_value attributes programmatically

changed the mapping so that one doesn't need to declare single_value=True/False anymore.

This could be done accordingly in the S4-Connector.

+++ This bug was initially created as a clone of Bug #18501 +++
Comment 1 Florian Best univentionstaff 2021-02-01 21:00:15 CET
Patch in git:fbest/52735-s4c-single-value.

This changes the following attributes:

mapping_key, mapping_attr, value_before =
('user', 'userCertificate', True)
('user', 'jpegPhoto', True)
('user', 'preferredDeliveryMethod', True)
#('dc', 'description', True)
#('msGPO', 'description', True)
#('msWMIFilter', 'description', True)
('msWMIFilter', 'flags1', True)
('msWMIFilter', 'flags2', True)
('msWMIFilter', 'flags3', True)
('msWMIFilter', 'flags4', True)
#('msPrintConnectionPolicy', 'description', True)
#('ms/gpwl-wireless', 'description', True)
#('ms/gpwl-wired', 'description', True)
#('ms/gpwl-wireless-blob', 'description', True)
#('container', 'description', True)
('ou', 'ou', True)
#('ou', 'description', True)

description is not flagged as single value in the LDAP schema search result. We should probably set all description attributes to single_value.
Comment 2 Monika Turfeld univentionstaff 2025-09-09 10:06:38 CEST
Please reopen if necessary