Bug 51306 - ldapError: Bad search filter: (&(objectClass=univentionPrinterModels)(printerModel="eigeneTreiber\Lexmark.ppd*))
ldapError: Bad search filter: (&(objectClass=univentionPrinterModels)(printer...
Status: RESOLVED DUPLICATE of bug 50648
Product: UCS
Classification: Unclassified
Component: UMC - Printers
UCS 4.4
Other Linux
: P5 normal (vote)
: ---
Assigned To: UMC maintainers
UMC maintainers
:
: 52695 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2020-05-18 16:49 CEST by Florian Best
Modified: 2021-05-03 22:05 CEST (History)
1 user (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 3: Simply Wrong: The implementation doesn't match the docu
Who will be affected by this bug?: 2: Will only affect a few installed domains
How will those affected feel about the bug?: 2: A Pain – users won’t like this once they notice it
User Pain: 0.069
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number: 2020042421000246, 2020042721000348, 2020050421000399, 2020051821000434, 2020042421000504, 2020111621000248, 2021020921000473, 2021042621000268
Bug group (optional): Error handling, External feedback
Max CVSS v3 score:
best: Patch_Available+


Attachments
patch (937 bytes, patch)
2020-05-18 16:50 CEST, Florian Best
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Florian Best univentionstaff 2020-05-18 16:49:48 CEST
Version: 4.3-5 errata677 (Neustadt) - UCS@school 4.3 v9

Remark: wie in der Dokumentation beschrieben, bekommt man beim zuweisen der eigens hochgeladenen Druckertreiber und Zuweisung in der UMC diesen Traceback beim öffnen des Druckers nach dem Speichern. Das Gruppen /gruppen Modul ist ebenfalls betroffen.

Interner Server-Fehler in "udm/get (shares/print)".
Request: udm/get (shares/print)

  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 509, in _get
    obj = module.get(ldap_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="eigeneTreiber\Lexmark.ppd*))
Comment 1 Florian Best univentionstaff 2020-05-18 16:50:39 CEST
Created attachment 10368 [details]
patch
Comment 2 Christian Castens univentionstaff 2020-06-12 10:49:52 CEST
Reported again:

Version: 4.3-5 errata666 (Neustadt) - UCS@school 4.3 v9

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="eigeneTreiber\Lexmark.ppd*))

Role: domaincontroller_master
Comment 3 Christian Castens univentionstaff 2020-06-12 11:02:10 CEST
Reported again
#2020042721000348

Version: 4.3-5 errata666 (Neustadt) - UCS@school 4.3 v9
Role: domaincontroller_master
Comment 4 Christian Castens univentionstaff 2020-06-12 13:37:52 CEST
Reported again
#2020050421000399

Version: 4.3-5 errata672 (Neustadt) - UCS@school 4.3 v9

Interner Server-Fehler in "udm/syntax/choices (groups/group)".
Request: udm/syntax/choices (groups/group)

ldapError: Bad search filter: (&(objectClass=univentionPrinterModels)(printerModel="eigeneTreiber\Lexmark.ppd*))
Comment 5 Christian Castens univentionstaff 2020-08-10 09:52:25 CEST
Reported again

Version: 4.3-5 errata677 (Neustadt) - UCS@school 4.3 v9

Remark: wie in der Dokumentation beschrieben, bekommt man beim zuweisen der eigens hochgeladenen Druckertreiber und Zuweisung in der UMC diesen Traceback beim öffnen des Druckers
nach dem Speichern. Das Gruppen /gruppen Modul ist ebenfalls betroffen.

@school paedml
UCS: 4.3-5 errata677
Installed: cups=2.2.1 dhcp-server=12.0 horde=5.2.17-2 nagios=4.3 samba4=4.7 squid=3.5 ucsschool=4.3 v9

Traceback(ef8617b3bc1148111dae85c2f395c3fa):
Interner Server-Fehler in "udm/get (shares/print)".
Request: udm/get (shares/print)

Role: domaincontroller_master
Comment 6 Christian Castens univentionstaff 2020-08-10 10:18:04 CEST
Reported again

Version: 4.3-5 errata677 (Neustadt) - UCS@school 4.3 v9
Comment 7 Florian Best univentionstaff 2021-05-03 22:01:31 CEST
*** Bug 52695 has been marked as a duplicate of this bug. ***
Comment 8 Florian Best univentionstaff 2021-05-03 22:05:02 CEST
This has been fixed in UCS 5.0 in git:5b7ce1ffa89476b59207919e37c1cee48b20040c.

*** This bug has been marked as a duplicate of bug 50648 ***