Bug 20255 - LDAP ACL problem: PDF printer is shown in multi server environment in printer moderation module
LDAP ACL problem: PDF printer is shown in multi server environment in printer...
Status: CLOSED FIXED
Product: UCS@school
Classification: Unclassified
Component: UMC - Printermoderation
UCS@school 4.1 R2
Other Linux
: P4 enhancement (vote)
: UCS@school 5.0 v1
Assigned To: Florian Best
Felix Botner
:
: 27292 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-10-05 14:33 CEST by Andreas Büsching
Modified: 2021-11-29 17:20 CET (History)
9 users (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 1: Cosmetic issue or missing function but workaround exists
Who will be affected by this bug?: 4: Will affect most installed domains
How will those affected feel about the bug?: 1: Nuisance – not a big deal but noticeable
User Pain: 0.023
Enterprise Customer affected?:
School Customer affected?: Yes
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional): Usability
Max CVSS v3 score:


Attachments
pdfprinter inside drop down list (30.48 KB, image/png)
2014-11-19 11:59 CET, Alexander Kramer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Büsching univentionstaff 2010-10-05 14:33:28 CEST
Wenn ein Druckaufträg ausgedruckt werden soll, kann als möglicher Zieldrucker der PDFDrucker ausgewählt werden. Das ist nicht sinnvoll. Der PDFDrucker sollte in der Liste nicht stehen.
Comment 1 Andreas Büsching univentionstaff 2010-10-05 14:44:34 CEST
Wählt man den PDFDrucker als Ziel aus verschwindet der Druckauftrag
Comment 2 Moritz Muehlenhoff univentionstaff 2012-05-21 15:55:06 CEST
Das ist auch mit 3.0 noch so.
Comment 3 Moritz Muehlenhoff univentionstaff 2012-05-25 15:10:31 CEST
*** Bug 27292 has been marked as a duplicate of this bug. ***
Comment 4 Alexander Kläser univentionstaff 2012-05-29 16:12:17 CEST
(In reply to comment #0)
> Wenn ein Druckaufträg ausgedruckt werden soll, kann als möglicher Zieldrucker
> der PDFDrucker ausgewählt werden. Das ist nicht sinnvoll. Der PDFDrucker sollte
> in der Liste nicht stehen.

Hatte ich zunächst missverstanden... d.h., wenn der Lehrer den anstehenden Druckjob eines Schülers (in dem Drucker-Moderations-Modul) auf dem PDFDrucker ausdruckt, verschwindet der Druck-Job.
Comment 5 Jascha Geerds univentionstaff 2013-02-05 17:12:56 CET
Ich konnte das bei den Produkttests für UCS@school 3.1 nicht reproduzieren können. PDF-Drucker werden in der Auswahlliste nicht angezeigt. Getestet mit mehreren Druckern, innerhalb und außerhalb der Schul-OU.
Comment 6 Erik Damrose univentionstaff 2013-05-30 16:02:19 CEST
Stand ucs@school-r2:
Der PDF Drucker erscheint in einer Singleserver Umgebung nicht im Druckdialog, in einer Multiserverumgebung taucht er hingegen auf. Wenn er zum Drucken ausgewählt wird ändert sich an der Moderationswarteschlange nichts.
Comment 7 Alexander Kramer univentionstaff 2014-11-19 11:58:44 CET
same for me under ucs@school 4.0 - see screenshot
Comment 8 Alexander Kramer univentionstaff 2014-11-19 11:59:29 CET
Created attachment 6425 [details]
pdfprinter inside drop down list
Comment 9 Alexander Kramer univentionstaff 2014-11-19 12:01:04 CET
(In reply to Erik Damrose from comment #6)
> Stand ucs@school-r2:
> Der PDF Drucker erscheint in einer Singleserver Umgebung nicht im
> Druckdialog, in einer Multiserverumgebung taucht er hingegen auf. Wenn er
> zum Drucken ausgewählt wird ändert sich an der Moderationswarteschlange
> nichts.

i also used a multi server enviroment
Comment 10 Florian Best univentionstaff 2015-04-30 17:48:08 CEST
It is a bug in the unmap function of the printer URI:

>>> univention.admin.handlers.shares.printer.unmapPrinterURI(['cups-pdf:/.'])
('', '')


tagging to UCS/UDM
Comment 11 Florian Best univentionstaff 2015-04-30 17:55:33 CEST
It fails because settings/printeruri is not replicated to the DC slave.

>>> import univention.admin.handlers.settings.printeruri as printeruri
>>> printeruri.lookup(None, lo, '')[0]['printeruri']
['lpd://', 'ipp://', 'http://', 'usb:/', 'socket://', 'parallel:/', 'file:/', 'smb://', 'cups-pdf:/']


Why do we need that setting? Cant we just correctly split the URI scheme? Or use a hardcoded list.
Comment 12 Michael Grandjean univentionstaff 2017-03-08 11:08:49 CET
PDFPrinter still shows up in the list on multi-server-environments with UCS@school 4.1 R2 v9
Comment 13 Sönke Schwardt-Krummrich univentionstaff 2019-02-05 21:43:44 CET
This issue has been filled against UCS@school 4.1 (R2). The maintenance with
bug and security fixes for UCS@school 4.1 (R2) has ended on 5th of April 2018.

Customers still on UCS 4.1 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.
Comment 14 Florian Best univentionstaff 2021-08-25 10:52:34 CEST
DC Slaves now have the permissions to read cn=printeruris,cn=cups,cn=univention,dc=base.

ucs-school-ldap-acls-master (18.0.2)
5dee4d8595d4 | Bug #20255: allow school DC Slaves to read settings/printeruri
Comment 16 Florian Best univentionstaff 2021-08-25 16:56:18 CEST
This bug has been fixed to make it possible in Bug #53702 to use UDM instead of ldapmodify in the joinscript.
Comment 17 Felix Botner univentionstaff 2021-08-26 10:41:36 CEST
OK
Comment 18 Jürn Brodersen univentionstaff 2021-11-29 17:20:26 CET
UCS@school 5.0 v1 has been released.

https://docs.software-univention.de/release-notes-ucsschool-5.0v1-de.html

If this error occurs again, please clone this bug.