Univention Bugzilla – Bug 47437
udm/object/policies users/user: TypeError: must be string or read-only buffer, not dict
Last modified: 2023-02-03 17:32:34 CET
Version: 4.1-4 errata375 (Vahr) Execution of command 'udm/object/policies users/user' 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 1134, in _thread object_dn, container_dn, obj = _get_object_parts(ioptions) File "%PY2.7%/univention/management/console/modules/udm/__init__.py", line 1124, in _get_object_parts _obj = _get_object(_object_dn, _module) File "%PY2.7%/univention/management/console/modules/udm/__init__.py", line 1103, in _get_object _obj = _module.get(_dn) File "%PY2.7%/univention/management/console/modules/udm/udm_ldap.py", line 86, in _decorated return method(*args, **kwargs) File "%PY2.7%/univention/management/console/ldap.py", line 141, in _decorated result = func(*args, **kwargs) File "%PY2.7%/univention/management/console/modules/udm/udm_ldap.py", line 510, in get obj = self.module.object(None, ldap_connection, None, ldap_dn, superordinate, attributes=attributes) File "%PY2.7%/univention/admin/handlers/users/user.py", line 1336, in __init__ univention.admin.handlers.simpleLdap.__init__(self, co, lo, position, dn, superordinate, attributes=attributes) File "%PY2.7%/univention/admin/handlers/__init__.py", line 548, in __init__ base.__init__(self, co, lo, position, dn, superordinate) File "%PY2.7%/univention/admin/handlers/__init__.py", line 105, in __init__ self.position.setDn(dn) File "%PY2.7%/univention/admin/uldap.py", line 203, in setDn dn = ldap.dn.str2dn(dn) File "/usr/lib/python2.7/dist-packages/ldap/dn.py", line 53, in str2dn return ldap.functions._ldap_function_call(None,_ldap.str2dn,dn,flags) File "/usr/lib/python2.7/dist-packages/ldap/functions.py", line 64, in _ldap_function_call result = func(*args,**kwargs) TypeError: must be string or read-only buffer, not dict
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.