Univention Bugzilla – Bug 52695
ldapError: Bad search filter: (&(objectClass=univentionPrinterModels)(printerModel="C3003\riudm1e3.ppd*))
Last modified: 2021-05-03 22:01:31 CEST
Version: 4.3-5 errata682 (Neustadt) - UCS@school 4.3 v9 Remark: Benutzer ->Gruppen ->auswahl "lokal.paedml-linux/schule/groups/raeume->lupe geklickt Error: Interner Server-Fehler in "udm/syntax/choices (groups/group)". Request: udm/syntax/choices (groups/group) File "%PY2.7%/notifier/threads.py", line 78, 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 967, in _thread return read_syntax_choices(syntax, request.options) 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 143, in _decorated result = func(*args, **kwargs) File "%PY2.7%/univention/management/console/modules/udm/udm_ldap.py", line 1359, in read_syntax_choices 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 143, in _decorated result = func(*args, **kwargs) File "%PY2.7%/univention/management/console/modules/udm/udm_ldap.py", line 521, in get obj.open() File "%PY2.7%/univention/admin/handlers/shares/printer.py", line 315, in open models = printermodel.lookup(self.co, self.lo, 'printerModel="%s*' % self['model']) File "%PY2.7%/univention/admin/handlers/__init__.py", line 1576, in lookup for dn, attrs in lo.search(filter_str, base, scope, attr, unique, required, timeout, sizelimit): File "%PY2.7%/univention/admin/uldap.py", line 706, in search raise univention.admin.uexceptions.ldapError('%s: %s' % (_err2str(msg), filter)) ldapError: Bad search filter: (&(objectClass=univentionPrinterModels)(printerModel="C3003\riudm1e3.ppd*)) Role: domaincontroller_master
This happens in a paedml. Do we have a workaround for that, or what is the root cause?
(In reply to Christina Scheinig from comment #2) > This happens in a paedml. > > Do we have a workaround for that, or what is the root cause? ldapmodify -x -D "cn=admin,$(ucr get ldap/base)" -y /etc/ldap.secret <<%EOR dn: cn=DruckerRICOH,cn=printers,ou=sun,dc=schein,dc=me changetype: modify replace: univentionPrinterModel univentionPrinterModel: foomatic-rip/Ricoh-Aficio_3030-gutenprint-ijs.5.2.ppd %EOR
*** This bug has been marked as a duplicate of bug 51306 ***