Univention Bugzilla – Full Text Bug Listing |
Summary: | Traceback when ":" in user's path to home share | ||
---|---|---|---|
Product: | UCS | Reporter: | Dirk Wiesenthal <wiesenthal> |
Component: | UMC - Users | Assignee: | Stefan Gohmann <gohmann> |
Status: | CLOSED FIXED | QA Contact: | Dirk Wiesenthal <wiesenthal> |
Severity: | normal | ||
Priority: | P5 | CC: | best, gohmann, klaeser, luft, walkenhorst |
Version: | UCS 3.2 | ||
Target Milestone: | UCS 3.2-3-errata | ||
Hardware: | Other | ||
OS: | Linux | ||
See Also: | https://forge.univention.org/bugzilla/show_bug.cgi?id=32018 | ||
What kind of report is it?: | --- | What type of bug is this?: | --- |
Who will be affected by this bug?: | --- | How will those affected feel about the bug?: | --- |
User Pain: | Enterprise Customer affected?: | ||
School Customer affected?: | ISV affected?: | ||
Waiting Support: | Flags outvoted (downgraded) after PO Review: | ||
Ticket number: | Bug group (optional): | Error handling, External feedback | |
Max CVSS v3 score: |
Description
Dirk Wiesenthal
2014-04-14 13:37:37 CEST
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 just for information: "Carl has advised that he has applied the update and his problem has been resolved, so thanks to all involved." |