Bug 52735 - S4-Connector: Mark single_value attributes programmatically
S4-Connector: Mark single_value attributes programmatically
Status: RESOLVED MOVED
Product: UCS
Classification: Unclassified
Component: S4 Connector
UCS 5.0
Other Linux
: P5 normal (vote)
: UCS 5.0-0-errata
Assigned To: Samba maintainers
Samba maintainers
https://git.knut.univention.de/univen...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2021-02-01 20:53 CET by Florian Best
Modified: 2022-04-20 23:20 CEST (History)
3 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):
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.