I just installed a new Univention Domain Backup server which causes OpenXchange to throw an error in the
/var/log/univention/connector-s4.log
25.07.2017 21:36:04,161 LDAP (PROCESS): sync to ucs: Resync rejected dn: CN=dns-dc2,CN=Users,DC=intranet,DC=fascha
ng,DC=at
25.07.2017 21:36:04,174 LDAP (PROCESS): sync to ucs: [ user] [ modify] uid=dns-dc2,cn=users,dc=intra
net,dc=faschang,dc=at
25.07.2017 21:36:04,473 LDAP (ERROR ): Unknown Exception during sync_to_ucs
25.07.2017 21:36:04,473 LDAP (ERROR ): Traceback (most recent call last):
File "/usr/lib/pymodules/python2.7/univention/s4connector/__init__.py", line 1497, in sync_to_ucs
result = self.modify_in_ucs(property_type, object, module, position)
File "/usr/lib/pymodules/python2.7/univention/s4connector/__init__.py", line 1281, in modify_in_ucs
return ucs_object.modify() and self.__modify_custom_attributes(property_type, object, ucs_object, module, position)
File "/usr/lib/pymodules/python2.7/univention/admin/handlers/users/user.py", line 1663, in modify
return super(object, self).modify(*args, **kwargs)
File "/usr/lib/pymodules/python2.7/univention/admin/handlers/__init__.py", line 324, in modify
return self._modify(modify_childs, ignore_license=ignore_license)
File "/usr/lib/pymodules/python2.7/univention/admin/handlers/__init__.py", line 806, in _modify
self.call_udm_property_hook('hook_ldap_pre_modify', self)
File "/usr/lib/pymodules/python2.7/univention/admin/handlers/__init__.py", line 655, in call_udm_property_hook
func(module)
File "/usr/lib/pymodules/python2.7/univention/admin/hooks.d/oxAccess.py", line 196, in hook_ldap_pre_modify
self.check_mailaddr(module)
File "/usr/lib/pymodules/python2.7/univention/admin/hooks.d/oxAccess.py", line 93, in check_mailaddr
raise univention.admin.uexceptions.valueError(oxAccess._("The primary mail address is required for Open-Xchange users
. Currently the users' primary mail address is not set."))
TypeError: unbound method <lambda>() must be called with oxAccess instance as first argument (got str instance instead)
There was an user dnc-dc2 created with OpenXchange enabled which can´t be correct. Disabling Ox for this user and the Error is gone.
root@mail:/etc/cron.d# univention-app info
UCS: 4.2-1 errata99
App Center compatibility: 4
Installed: mailserver=11 open-xchange-text=7.8.4-ucs1 oxseforucs=7.8.4-ucs4
Upgradable:
Greets
Matthias Hütter