Univention Bugzilla – Bug 41732
Creating a memberserver without posix causes errors
Last modified: 2019-01-03 07:21:01 CET
Creation: Version: 4.1-2 errata175 (Vahr) Execution of command 'udm/add computers/computer' 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 364, in _thread dn = module.create(properties, container=options.get('container'), superordinate=options.get('superordinate')) File "%PY2.7%/univention/management/console/modules/udm/udm_ldap.py", line 85, 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 381, in create obj.create() File "%PY2.7%/univention/admin/handlers/__init__.py", line 351, in create return self._create() File "%PY2.7%/univention/admin/handlers/__init__.py", line 724, in _create al=self._ldap_addlist() File "%PY2.7%/univention/admin/handlers/computers/memberserver.py", line 534, in _ldap_addlist self.machineSid='S-1-4-%s' % self.uidNum AttributeError: 'object' object has no attribute 'uidNum' Modification: Version: 4.1-2 errata197 (Vahr) Remark: Created a member-server with all options (Samba,Kerberos,Posix) disabled. Than edited and only enabled Samba. Than save Execution of command 'udm/put computers/computer' 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 85, 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 441, in modify obj.modify() File "%PY2.7%/univention/admin/handlers/__init__.py", line 361, in modify return self._modify(modify_childs,ignore_license=ignore_license) File "%PY2.7%/univention/admin/handlers/__init__.py", line 768, in _modify ml = self._ldap_modlist() File "%PY2.7%/univention/admin/handlers/computers/memberserver.py", line 662, in _ldap_modlist self.machineSid='S-1-4-%s' % self.oldattr['uidNumber'][0] KeyError: 'uidNumber' We should enforce some options to be set.
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.