Bug 55011 - Align mail address sync of AD-Connector and S4-Connector
Align mail address sync of AD-Connector and S4-Connector
Status: NEW
Product: UCS
Classification: Unclassified
Component: S4 Connector
UCS 5.0
Other Linux
: P5 normal (vote)
: ---
Assigned To: Samba maintainers
Samba maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2022-07-19 15:06 CEST by Christina Scheinig
Modified: 2022-08-26 15:02 CEST (History)
1 user (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 3: Simply Wrong: The implementation doesn't match the docu
Who will be affected by this bug?: 1: Will affect a very few installed domains
How will those affected feel about the bug?: 2: A Pain – users won’t like this once they notice it
User Pain: 0.034
Enterprise Customer affected?: Yes
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number: 2022071421000211
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christina Scheinig univentionstaff 2022-07-19 15:06:59 CEST
For an external service the customer needs in the Active Directory the additional email addresses of the users. According to the documentation this should be done by default in the attribute
  proxyAdresses
of the AD.

We have implemented this feature in the AD-Connector, but not in the S4-Connector
Ad Mapping looks like that, but I have not found it in S4-Connector mapping.

                        'mailPrimaryAddress_to_mail': univention.connector.attribute(
                                sync_mode='write',
                                ucs_attribute='mailPrimaryAddress',
                                ldap_attribute='mailPrimaryAddress',
                                con_attribute='mail',
                        ),
                        'mailAlternativeAddress': univention.connector.attribute(
                                sync_mode='read' if configRegistry.is_true('connector/ad/mapping/user/primarymail') else 'sync',  # proxyAddresses.to_mailPrimaryAddress does the write
                                ucs_attribute='mailAlternativeAddress',
                                ldap_attribute='mailAlternativeAddress',
                                con_attribute='proxyAddresses',
                                mapping=(
                                        None,
                                        proxyAddresses.to_mailAlternativeAddress
                                ),
                                compare_function=proxyAddresses.equal,
                        ),