Univention Bugzilla – Bug 42371
schoolwizards/users/add: ldapError: Bad search filter
Last modified: 2019-02-05 21:49:55 CET
Version: 3.2-8 errata445 (Borgfeld) Die Ausführung des Kommandos schoolwizards/users/add ist fehlgeschlagen: Traceback (most recent call last): File "%PY2.6%/univention/management/console/modules/__init__.py", line 218, in execute func( request ) File "%PY2.6%/ucsschool/lib/schoolldap.py", line 205, in wrapper_func return func( *args, **kwargs ) File "%PY2.6%/univention/management/console/modules/schoolwizards/__init__.py", line 118, in _decorated ret = func(self, request, *a, **kw) File "%PY2.6%/univention/management/console/modules/schoolwizards/__init__.py", line 191, in _create_obj obj.validate(ldap_admin_write) File "%PY2.6%/ucsschool/lib/models/user.py", line 267, in validate if self.get_first_udm_obj(lo, '&(!(uid=%s))(mailPrimaryAddress=%s)' % (name, email)): File "%PY2.6%/ucsschool/lib/models/base.py", line 783, in get_first_udm_obj return cls.get_only_udm_obj(lo, filter_str, superordinate) File "%PY2.6%/ucsschool/lib/models/base.py", line 768, in get_only_udm_obj objs = udm_modules.lookup(cls._meta.udm_module, None, lo, scope='sub', base=ucr.get('ldap/base'), filter=str(filter_str), superordinate=superordinate) File "%PY2.6%/univention/admin/modules.py", line 801, in lookup tmpres=module.lookup(co, lo, filter, base=base, superordinate=superordinate, scope=scope, unique=unique, required=required, timeout=timeout, sizelimit=sizelimit) File "%PY2.6%/univention/admin/handlers/users/user.py", line 2722, in lookup for dn, attrs in lo.search(unicode(filter), base, scope, [], unique, required, timeout, sizelimit): File "%PY2.6%/univention/admin/uldap.py", line 355, in search raise univention.admin.uexceptions.ldapError, _err2str(msg) ldapError: Bad search filter
This issue has been filled against UCS@school 3. The maintenance with bug and security fixes for the last UCS@school version for UCS 3.x (→ UCS@school 3.2) has ended on Dec 31, 2016. Customers still on UCS 3.x are encouraged to update to UCS 4.3 (or later). 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.