Univention Bugzilla – Bug 31435
Rename of computer objects does not work
Last modified: 2013-11-19 06:43:11 CET
When renaming an ip managed client via umc you'll get a traceback: File "/usr/lib/pymodules/python2.6/notifier/__init__.py", line 104, in __call__ return self._function( *tmp, **self._kwargs ) File "/usr/lib/pymodules/python2.6/univention/management/console/modules/udm/__init__.py", line 359, in _thread module.modify( properties ) File "/usr/lib/pymodules/python2.6/univention/management/console/modules/udm/udm_ldap.py", line 155, in wrapper_func ret = func( *args, **kwargs ) File "/usr/lib/pymodules/python2.6/univention/management/console/modules/udm/udm_ldap.py", line 404, in modify obj.modify() File "/usr/lib/pymodules/python2.6/univention/admin/handlers/__init__.py", line 344, in modify return self._modify(modify_childs,ignore_license=ignore_license) File "/usr/lib/pymodules/python2.6/univention/admin/handlers/__init__.py", line 871, in _modify self._ldap_post_modify() File "/usr/lib/pymodules/python2.6/univention/admin/handlers/computers/ipmanagedclient.py", line 285, in _ldap_post_modify univention.admin.handlers.simpleComputer._ldap_post_modify( self ) File "/usr/lib/pymodules/python2.6/univention/admin/handlers/__init__.py", line 1965, in _ldap_post_modify self.__rename_dns_object( position = None, old_name = self.__changes[ 'name' ][ 0 ], new_name = self.__changes[ 'name' ][ 1 ] ) File "/usr/lib/pymodules/python2.6/univention/admin/handlers/__init__.py", line 1377, in __rename_dns_object object[ 'ptr_record' ] = object[ 'ptr_record' ].replace( old_name, new_name ) AttributeError: 'list' object has no attribute 'replace' As the pointer in the forward zone is updated correctly while the record in the reverse zone is not, it seems that there is the problem. This is reproducable with UCS 3.1-1 Errata 101
I just noticed this bug, too. (3.1-1 Errata 122) Renaming a UCC computer object or a memberserver produces the same error.
I also get this by changing the Hostname of a Client Computer in UMC Computers, while the name is successfully changed in LDAP univention-directory-manager-tools 8.0.143-21.1027
Only occured for objects with set DNS reverse zone. Fixed (svn 43902).
Fixed with univention-directory-manager-modules (9.0.23-1) OK: Renaming all computer object types now works OK: Changelog entry -> Verified
*** Bug 32660 has been marked as a duplicate of this bug. ***
UCS 3.2 has been released: http://docs.univention.de/release-notes-3.2-en.html http://docs.univention.de/release-notes-3.2-de.html If this error occurs again, please use "Clone This Bug".