Univention Bugzilla – Bug 44445
getMachineConnection() may raise OTHER
Last modified: 2020-07-03 20:55:51 CEST
Version: 4.1-4 errata408 (Vahr) Traceback(71f488b40cf8d8c147d7ecc485227846): Die Ausführung des Kommandos appcenter/query ist fehlgeschlagen: Traceback (most recent call last): File "%PY2.7%/univention/management/console/base.py", line 281, in execute function(self, request) File "%PY2.7%/univention/management/console/modules/decorators.py", line 318, in _response result = _multi_response(self, request) File "%PY2.7%/univention/management/console/modules/decorators.py", line 462, in _response return list(function(self, iterator, *nones)) File "%PY2.7%/univention/management/console/modules/decorators.py", line 284, in _fake_func yield function(self, *args) File "%PY2.7%/univention/management/console/modules/appcenter/__init__.py", line 197, in query info = domain.to_dict(apps) File "%PY2.7%/univention/appcenter/actions/domain.py", line 97, in to_dict lo, pos = self._get_ldap_connection(args=None, allow_machine_connection=True) File "%PY2.7%/univention/appcenter/actions/credentials.py", line 177, in _get_ldap_connection return self._get_machine_connection() File "%PY2.7%/univention/appcenter/actions/credentials.py", line 146, in _get_machine_connection return get_machine_connection() File "%PY2.7%/univention/appcenter/udm.py", line 139, in get_machine_connection return getMachineConnection() File "%PY2.7%/univention/admin/uldap.py", line 147, in getMachineConnection lo = univention.uldap.getMachineConnection(start_tls, decode_ignorelist=decode_ignorelist, ldap_master=ldap_master) File "%PY2.7%/univention/uldap.py", line 84, in getMachineConnection return access(host=ucr['ldap/master'], port=port, base=ucr['ldap/base'], binddn=ucr['ldap/hostdn'], bindpw=bindpw, start_tls=start_tls, decode_ignorelist=decode_ignorelist, reconnect=reconnect) File "%PY2.7%/univention/uldap.py", line 150, in __init__ self.__open(ca_certfile) File "%PY2.7%/univention/uldap.py", line 189, in __open self.lo.simple_bind_s(self.binddn, self.__encode_pwd(self.bindpw)) File "/usr/lib/python2.7/dist-packages/ldap/ldapobject.py", line 879, in simple_bind_s res = self._apply_method_s(SimpleLDAPObject.simple_bind_s,*args,**kwargs) File "/usr/lib/python2.7/dist-packages/ldap/ldapobject.py", line 860, in _apply_method_s return func(self,*args,**kwargs) File "/usr/lib/python2.7/dist-packages/ldap/ldapobject.py", line 215, in simple_bind_s resp_type, resp_data, resp_msgid, resp_ctrls = self.result3(msgid,all=1,timeout=self.timeout) File "/usr/lib/python2.7/dist-packages/ldap/ldapobject.py", line 476, in result3 resp_ctrl_classes=resp_ctrl_classes File "/usr/lib/python2.7/dist-packages/ldap/ldapobject.py", line 483, in result4 ldap_result = self._ldap_call(self._l.result4,msgid,all,timeout,add_ctrls,add_intermediates,add_extop) File "/usr/lib/python2.7/dist-packages/ldap/ldapobject.py", line 106, in _ldap_call result = func(*args,**kwargs) OTHER: {'info': 'internal error', 'desc': 'Other (e.g., implementation specific) error'}
This issue has been filed against UCS 4.2. UCS 4.2 is out of maintenance and many UCS components have changed in later releases. Thus, this issue is now being closed. If this issue still occurs in newer UCS versions, please use "Clone this bug" or reopen it and update the UCS version. In this case please provide detailed information on how this issue is affecting you.