Univention Bugzilla – Bug 42618
AD Connector: configure sync_mode on attribute level
Last modified: 2017-02-01 12:07:18 CET
The S4 Connector can handle the sync_mode (read, write, sync, none) for every attribute independently. The AD Connector can only handle the sync_mode on an object level (users, groups, OU, container, computers). It would be very helpful if the AD Connector could be extended to the same feature set as the S4 Connector, so something like this would be possible: Global user object setting: > ucr set connector/ad/mapping/user/syncmode='sync' Differing attribute settings: > [...] > 'pager': univention.connector.attribute ( > sync_mode='write' > ucs_attribute='pagerTelephoneNumber', > ldap_attribute='pager', > con_attribute='pager', > con_other_attribute='otherPager', > ), > 'displayName': univention.connector.attribute ( > sync_mode='read' > ucs_attribute='displayName', > ldap_attribute='displayName', > con_attribute='displayName', > ), > [...]
Created attachment 8347 [details] Implement per Attribute `sync_mode`. The attached patch adds the per attribute `sync_mode`. All ad-connector tests running on a UCS 4.1-4 master connected to a Windows Server 2012 in sync mode are passing.
I fixed this along with Bug #43216. Advisory: univention-ad-connector.yaml
This was not merged to 4.2 but Felix change in r76088 depends on in.
> This was not merged to 4.2 but Felix change in r76088 depends on in. It's merged now.
Jenkins tests: OK Changelog: OK, it is part of Bug #43216 UCS 4.2 merge: OK Code review: OK Tests: OK
<http://errata.software-univention.de/ucs/4.1/386.html>