Univention Bugzilla – Bug 35589
S4 Connector: make mapping configurable
Last modified: 2021-03-24 22:10:37 CET
We should consider making the synchronisation of additional attributes between OpenLDAP and Samba 4 more comfortable. Right now, when one wants to synchronize e.g. departmentNumber or pagerTelephoneNumber, one needs to modify the mapping.py and maintain an own version of it. Making this configurable through UCR would make maintaining these customizations much easier.
There is at least one fork for a customer. For future reference: the following attributes were added to the S4-Connector-Mapping in the fork: * userCertificate * departmentNumber * initials * physicalDeliveryOfficeName * postOfficeBox * preferredLanguage * st (stateOrProvinceName) * macAddress (needs also objectClass 'ieee802Device') * some custom attributes (with their own objectClass)
There is a Customer ID set so I set the flag "Enterprise Customer affected".
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.
It's possible to create a localmapping.py which is capable of adding attributes. See Bug #52043 comment 5 for an easy example.