Univention Bugzilla – Bug 37623
users/self and users/passwd have no lookup method which causes UDM tracebacks
Last modified: 2017-07-26 14:39:16 CEST
"User: self" occurs in the dropdown for the search in the ldap navigation. Searching for it causes a traceback because the handler module does not have a lookup() method. Remark: Search for Type: User: Self Property: Default properties Traceback: Execution of command 'udm/nav/object/query navigation' has failed: Traceback (most recent call last): File "/usr/lib/pymodules/python2.7/univention/management/console/modules/__init__.py", line 176, in _decorated return function(self, request, *args, **kwargs) File "/usr/lib/pymodules/python2.7/notifier/threads.py", line 82, in _run tmp = self._function() File "/usr/lib/pymodules/python2.7/notifier/__init__.py", line 104, in __call__ return self._function( *tmp, **self._kwargs ) File "/usr/lib/pymodules/python2.7/univention/management/console/modules/udm/__init__.py", line 537, in _thread result = module.search(container, objectProperty, objectPropertyValue, superordinate, scope=scope, hidden=hidden) File "/usr/lib/pymodules/python2.7/univention/management/console/modules/udm/udm_ldap.py", line 159, in _decorated return func(*args, **kwargs) File "/usr/lib/pymodules/python2.7/univention/management/console/modules/udm/udm_ldap.py", line 139, in wrapper_func ret = func(*args, **kwargs) File "/usr/lib/pymodules/python2.7/univention/management/console/modules/udm/udm_ldap.py", line 562, in search result = self.module.lookup(None, ldap_connection, filter_s, base=container, superordinate=superordinate, scope=scope, sizelimit=sizelimit) AttributeError: 'module' object has no attribute 'lookup'
Reported again, 4.0-1 errata193 (Walle). Execution of command 'udm/nav/object/query navigation' has failed: Traceback (most recent call last): File "%PY2.7%/univention/management/console/modules/__init__.py", line 176, in _decorated return function(self, request, *args, **kwargs) 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 541, in _thread result = module.search(container, objectProperty, objectPropertyValue, superordinate, scope=scope, hidden=hidden) File "%PY2.7%/univention/management/console/modules/udm/udm_ldap.py", line 163, in _decorated return func(*args, **kwargs) File "%PY2.7%/univention/management/console/modules/udm/udm_ldap.py", line 146, in wrapper_func return _func(*args, **kwargs) File "%PY2.7%/univention/management/console/modules/udm/udm_ldap.py", line 139, in _func ret = func(*args, **kwargs) File "%PY2.7%/univention/management/console/modules/udm/udm_ldap.py", line 582, in search result = self.module.lookup(None, ldap_connection, filter_s, base=container, superordinate=superordinate, scope=scope, sizelimit=sizelimit) AttributeError: 'module' object has no attribute 'lookup'
Reported again, 4.0-2 errata231 (Walle) Remark: LDAP-Verzeichnis -> Typ Benutzer:Passwort -> suchen
Reported again, 4.1-0 errata14 (Vahr)
Reported again, 4.1-3 errata282 (Vahr) Remark: LDAP-Suche Benutzer.Passwort
Reported again, 4.1-3 errata318 (Vahr) Remark: Schulung im Haus Suche nach Typ Benutzer:Passwort im LDAP gesucht
Version: 4.1-4 errata396 (Vahr)
univention-directory-manager-modules (12.0.17-61): r80882 | Bug #37623: add lookup() method of users/self and users/passwd univention-directory-manager-modules.yaml: r80883 | YAML Bug #37623
OK Searching for User: Password and User: Self does not cause an error OK Searching for User: Self return currently logged in user YAML: OK -> verified
Reported again, 4.2-1 errata85 (Lesum)
<http://errata.software-univention.de/ucs/4.2/115.html>