Univention Bugzilla – Bug 40893
groups/group TypeError if adGroupType is None
Last modified: 2019-01-03 07:19:43 CET
We received the following traceback, 4.1-1 errata128 (Vahr) Execution of command 'udm/put navigation' has failed: Traceback (most recent call last): File "%PY2.7%/notifier/threads.py", line 82, in _run tmp = self._function() File "%PY2.7%/notifier/__init__.py", line 104, in __call__ return self._function( *tmp, **self._kwargs ) File "%PY2.7%/univention/management/console/modules/udm/__init__.py", line 402, in _thread module.modify(properties) File "%PY2.7%/univention/management/console/modules/udm/udm_ldap.py", line 84, in _decorated return method(*args, **kwargs) File "%PY2.7%/univention/management/console/ldap.py", line 135, in _decorated result = func(*args, **kwargs) File "%PY2.7%/univention/management/console/modules/udm/udm_ldap.py", line 440, in modify obj.modify() File "%PY2.7%/univention/admin/handlers/__init__.py", line 364, in modify return self._modify(modify_childs,ignore_license=ignore_license) File "%PY2.7%/univention/admin/handlers/__init__.py", line 817, in _modify self._ldap_pre_modify() File "%PY2.7%/univention/admin/handlers/groups/group.py", line 544, in _ldap_pre_modify self.check_ad_group_type_change() File "%PY2.7%/univention/admin/handlers/groups/group.py", line 1035, in check_ad_group_type_change if self._has_domain_local_member(): File "%PY2.7%/univention/admin/handlers/groups/group.py", line 986, in _has_domain_local_member if self.__is_groupType_domain_local(groupType): File "%PY2.7%/univention/admin/handlers/groups/group.py", line 963, in __is_groupType_domain_local return int(adGroupType) & 0x4 TypeError: int() argument must be a string or a number, not 'NoneType'
This is probably (at least partly) fixed by Bug #40651?!
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.