Bug 53116 - connector/ad/mapping/user/primarymail not set to true upon installation of univention-ad-connector-exchange
connector/ad/mapping/user/primarymail not set to true upon installation of un...
Status: NEW
Product: UCS
Classification: Unclassified
Component: AD Connector
UCS 5.0
Other Linux
: P5 normal (vote)
: UCS 5.x
Assigned To: Samba maintainers
Samba maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2021-04-16 12:07 CEST by Felix Botner
Modified: 2021-04-16 12:51 CEST (History)
1 user (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 1: Cosmetic issue or missing function but workaround exists
Who will be affected by this bug?: 1: Will affect a very few installed domains
How will those affected feel about the bug?: 1: Nuisance – not a big deal but noticeable
User Pain: 0.006
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:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Felix Botner univentionstaff 2021-04-16 12:07:43 CEST
After the installation of univention-ad-connector-exchange

->  ucr search connector/ad/mapping/user/primarymail

connector/ad/mapping/user/primarymail: false
 Defines whether the primary e-mail address of user objects in UCS should be synchronised with the 'mail' attribute in Active Directory. As 'mail' is a multivalue, this can cause problems during the synchronisation. During the installation of the univention-ad-connector-exchange package the value is set to 'true'.

-> grep -r "connector/ad/mapping/user/primarymail" *
debian/univention-ad-connector.postinst:			connector/ad/mapping/user/primarymail?false \
debian/univention-ad-connector-exchange.postinst:univention-config-registry set	connector/ad/mapping/user/primarymail?true \


and in fact we shouldn't set it automatically to true -> see Bug #42019

so maybe just fix the UCRV description (remove the last sentence)
Comment 1 Felix Botner univentionstaff 2021-04-16 12:39:51 CEST
(In reply to Felix Botner from comment #0) 
> so maybe just fix the UCRV description (remove the last sentence)
and do not set connector/ad/mapping/user/primarymail ... in the postinst