Adding some detail to this, after attempting to add the AD “mail” attribute to a new user, I see the following in the logfile /var/log/univention/connector.log:-
20.07.2020 23:55:38.796 LDAP (PROCESS): Building internal group membership cache
20.07.2020 23:55:38.811 LDAP (PROCESS): Internal group membership cache was created
20.07.2020 23:55:38.820 LDAP (PROCESS): Using MYDOMAIN as AD Netbios domain name
21.07.2020 09:07:15.353 LDAP (PROCESS): sync to ucs: [ user] [ modify] uid=myuser,cn=users,dc=MYDOMAIN,dc=local
21.07.2020 09:07:16.474 LDAP (PROCESS): sync to ucs: [ user] [ modify] uid=myuser,cn=users,dc=MYDOMAIN,dc=local
21.07.2020 09:33:49.969 LDAP (PROCESS): sync to ucs: [ user] [ delete] uid=myuser,cn=users,dc=MYDOMAIN,dc=local
21.07.2020 09:34:57.373 LDAP (PROCESS): sync to ucs: [ user] [ add] uid=myuser,cn=users,dc=MYDOMAIN,dc=local
21.07.2020 09:35:40.041 LDAP (PROCESS): sync to ucs: [ user] [ modify] uid=myuser,cn=users,dc=MYDOMAIN,dc=local
21.07.2020 09:55:42.970 LDAP (WARNING): Exception during search_ad_changes
21.07.2020 09:55:42.971 LDAP (WARNING): Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/univention/connector/ad/__init__.py", line 2378, in poll
changes = self.__search_ad_changes(show_deleted=show_deleted)
File "/usr/lib/python2.7/dist-packages/univention/connector/ad/__init__.py", line 1391, in __search_ad_changes
returnObjects = search_ad_changes_by_attribute('uSNCreated', lastUSN + 1)
File "/usr/lib/python2.7/dist-packages/univention/connector/ad/__init__.py", line 1382, in search_ad_changes_by_attribute
return self.__search_ad(filter=usnFilter, show_deleted=show_deleted)
File "/usr/lib/python2.7/dist-packages/univention/connector/ad/__init__.py", line 1339, in __search_ad
rtype, rdata, rmsgid, serverctrls = self.lo_ad.lo.result3(msgid)
File "/usr/lib/python2.7/dist-packages/ldap/ldapobject.py", line 514, in result3
resp_ctrl_classes=resp_ctrl_classes
File "/usr/lib/python2.7/dist-packages/ldap/ldapobject.py", line 521, in result4
ldap_result = self._ldap_call(self._l.result4,msgid,all,timeout,add_ctrls,add_intermediates,add_extop)
File "/usr/lib/python2.7/dist-packages/ldap/ldapobject.py", line 106, in _ldap_call
result = func(*args,**kwargs)
UNAVAILABLE: {'desc': 'Server is unavailable'}
21.07.2020 09:55:52.993 MAIN (------ ): DEBUG_EXIT
21.07.2020 09:55:52.993 MAIN (------ ): DEBUG_INIT
21.07.2020 09:55:53.247 LDAP (PROCESS): Building internal group membership cache
21.07.2020 09:55:53.262 LDAP (PROCESS): Internal group membership cache was created
21.07.2020 09:55:53.272 LDAP (PROCESS): Using MYDOMAIN as AD Netbios domain name
The AD server is a 2012R2 (actually Server Essentials 2012R2) box. I think I am seeing the same behaviour in another similar setup I have with a Server 2016 Standard DC. Will confirm that & report back.