Bug 38699 - Provide PDF printer driver for Windows clients
Provide PDF printer driver for Windows clients
Status: CLOSED FIXED
Product: UCS@school
Classification: Unclassified
Component: Print services
UCS@school 4.0
Other Linux
: P5 normal (vote)
: UCS@school 4.0 R2 Errata
Assigned To: Sönke Schwardt-Krummrich
Felix Botner
:
Depends on: 38201
Blocks:
  Show dependency treegraph
 
Reported: 2015-06-12 13:42 CEST by Sönke Schwardt-Krummrich
Modified: 2015-11-11 14:22 CET (History)
2 users (show)

See Also:
What kind of report is it?: ---
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sönke Schwardt-Krummrich univentionstaff 2015-06-12 13:42:21 CEST
The join script for printer moderation always fails on a samba3 UCS@school master (usually single server environment). In case of samba 3, no bind credentials are passed to the script "set-windows-driver-for-pdf-printer". Because of this the script and the joinscript fail with exit code != 0.

An installation of UCS@school with samba3 on a DC master is no longer possible without errors in UCS@school configuration wizard (join fails).

RUNNING 99ucs-school-umc-printermoderation.inst
2015-06-08 07:28:25.579574182-04:00 (in joinscript_init)
Object exists: cn=UMC,cn=univention,dc=autotest200,dc=local
[...]
WARNING: cannot append cn=printermoderation-all,cn=operations,cn=UMC,cn=univention,dc=autotest200,dc=local to allow, value exists
No modification: cn=default-umc-all,cn=UMC,cn=policies,dc=autotest200,dc=local
Object exists: cn=PDFDrucker,cn=printers,dc=autotest200,dc=local
usage: /usr/share/ucs-school-umc-printermoderation/set-windows-driver-for-pdf-printer --binddn DN --bindpwd Password or --bindpwdfile FILE
EXITCODE=2




+++ This bug was initially created as a clone of Bug #38201 +++

This is based on a feature request from a UCS@school workshop attendee:

The PDF printer should come with a windows printer driver pre-installed (samba share "print$"). Right now, you have to upload a fitting driver manually via point'n'print. Besides, that the process is error-prone, we don't explicitly mention that this is necessary or recommend a working driver in the manual (see Bug 38114 for this).
Comment 1 Sönke Schwardt-Krummrich univentionstaff 2015-06-12 13:43:05 CEST
The problem is reproducible via jenkins.
Comment 2 Sönke Schwardt-Krummrich univentionstaff 2015-06-15 10:06:50 CEST
ucs-school-umc-printermoderation (11.0.3-1):
r61248 | Bug #38699: added missing dependency
r61247 | Bug #38699: fixed logic bug in set-windows-driver-for-pdf-printer otherwise join script fails on DC master with samba 3

Changes have been comitted; 
package has been build and announced to ucsschool_devel

Todo:
- start jenkins run to verify fix
- copy package/source to ucsschool_201506??
Comment 3 Sönke Schwardt-Krummrich univentionstaff 2015-10-01 23:14:55 CEST
The package has been published to app repo ucsschool_devel.
Comment 4 Felix Botner univentionstaff 2015-10-16 15:30:22 CEST
yep, works with s3 and s4 on single master

rpcclient -P -c 'enumprinters' master
        flags:[0x800000]
        name:[\\MASTER\PDFDrucker]
        description:[\\MASTER\PDFDrucker,MS Publisher Color Printer,]
        comment:[]
Comment 5 Sönke Schwardt-Krummrich univentionstaff 2015-11-11 14:20:28 CET
UCS@school 4.0 R2 v3 has been released.

If this error occurs again, please use "Clone This Bug".