Univention Bugzilla – Bug 34541
Traceback when ":" in user's path to home share
Last modified: 2014-09-16 08:39:03 CEST
See also Bug#32018
Oops, pressed enter while writing this bug. Here comes the full description: Reported by traceback feedback: Traceback: File "/usr/lib/pymodules/python2.6/notifier/threads.py", line 82, in _run tmp = self._function() 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 971, in _thread for module, obj in list_objects( container, object_type = object_type ): 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 1021, in list_objects objects.append( ( module, module.get( dn ) ) ) 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 475, in get raise UDM_Error( get_exception_msg( e ) ) UDM_Error: too many values to unpack ******* AND (most likely related, most likely same installation) Traceback: File "/usr/lib/pymodules/python2.6/notifier/threads.py", line 82, in _run tmp = self._function() 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 406, in _thread module.remove( ldap_dn, options.get( 'cleanup', False ), options.get( 'recursive', False ) ) 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 380, in remove obj.open() File "/usr/lib/pymodules/python2.6/univention/admin/handlers/users/user.py", line 1478, in open host, path = unc.split(':') ValueError: too many values to unpack *********** Steps to reproduce: Just put a ":" in path to home directory. This bug is rather serious if experienced: UDM-cli cannot be used anymore to view or modify this user. And UMC-UDM cannot either. So this bug leaves UDM in a broken state. It is even impossible to delete this user!!
Reported again. As I said, rather serious if experienced. The user will probably have to use ldapmodify.
both tracebacks reported again.
Remark: Problem appears to be related to user Carl.Vine. The last edit for this user was to add shares located on a Slave DC Remark: Simply cccured accessing "Users" after first accessing "Shares" Has also been reported from 2 different UUID's btw.
Fixed. The UDM no longer breaks if more than one ':' is set in the automountInformation attribute: UCS 3.2-3: r53245 UCS 4.0: 53246 YAML: r53248
Two lines above the changed lines there is the same issue, but with split(' '). Try to set the path to "Some path somewhere": It will be blank after saving. I think this is related enough to REOPEN this bug.
OK, should be fixed with: UCS 3.2-3: r53284 UCS 4.0: r53286 YAML: r53288
4.0-0: OK 3.2-3: OK YAML: OK
http://errata.univention.de/ucs/3.2/197.html
just for information: "Carl has advised that he has applied the update and his problem has been resolved, so thanks to all involved."