Bug 44688 - error handling of set-windows-driver-for-pdf-printer
error handling of set-windows-driver-for-pdf-printer
Status: NEW
Product: UCS@school
Classification: Unclassified
Component: UMC - Printermoderation
UCS@school 4.4
Other Linux
: P5 normal (vote)
: ---
Assigned To: UCS@school maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2017-05-24 13:54 CEST by Florian Best
Modified: 2020-07-14 09:16 CEST (History)
2 users (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 4: Minor Usability: Impairs usability in secondary scenarios
Who will be affected by this bug?: 1: Will affect a very 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.046
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 Florian Best univentionstaff 2017-05-24 13:54:38 CEST
The error handling in /usr/share/ucs-school-umc-printermoderation/set-windows-driver-for-pdf-printer is wrong and causes the joinscript 99ucs-school-umc-printermoderation.inst to succeed while the script actually failed:

Calling joinscript 99ucs-school-umc-printermoderation.inst ...
2017-05-24 13:41:14.292164946+02:00 (in joinscript_init)
Object exists: cn=UMC,cn=univention,dc=school,dc=local
Object exists: cn=UMC,cn=policies,dc=school,dc=local
Object exists: cn=operations,cn=UMC,cn=univention,dc=school,dc=local
Object exists: cn=default-umc-all,cn=UMC,cn=policies,dc=school,dc=local
WARNING: cannot append cn=default-umc-all,cn=UMC,cn=policies,dc=school,dc=local to univentionPolicyReference, value exists
No modification: cn=Domänen-Admins,cn=groups,dc=school,dc=local
Object exists: cn=default-umc-users,cn=UMC,cn=policies,dc=school,dc=local
WARNING: cannot append cn=default-umc-users,cn=UMC,cn=policies,dc=school,dc=local to univentionPolicyReference, value exists
No modification: cn=Domänen-Benutzer,cn=groups,dc=school,dc=local
Object created: cn=printermoderation-all,cn=operations,cn=UMC,cn=univention,dc=school,dc=local
Object exists: cn=ucsschool-umc-teachers-default,cn=UMC,cn=policies,dc=school,dc=local
Object exists: cn=ucsschool-umc-admins-default,cn=UMC,cn=policies,dc=school,dc=local
Object exists: cn=default-umc-all,cn=UMC,cn=policies,dc=school,dc=local
Object modified: cn=ucsschool-umc-teachers-default,cn=UMC,cn=policies,dc=school,dc=local
Object modified: cn=ucsschool-umc-admins-default,cn=UMC,cn=policies,dc=school,dc=local
Object modified: cn=default-umc-all,cn=UMC,cn=policies,dc=school,dc=local
Object created: cn=PDFDrucker,cn=printers,dc=school,dc=local
Wrong username or password: kinit for xen3$@SCHOOL.LOCAL failed (Preauthentication failed)

Failed to bind - LDAP error 49 LDAP_INVALID_CREDENTIALS -  <SASL(-13): authentication failure: GSSAPI Failure: gss_accept_sec_context> <>
Failed to connect to 'ldaps://xen3.school.local' with backend 'ldaps': LDAP error 49 LDAP_INVALID_CREDENTIALS -  <SASL(-13): authentication failure: GSSAPI Failure: gss_accept_sec_context> <>
Failed to connect to ldaps://xen3.school.local - LDAP error 49 LDAP_INVALID_CREDENTIALS -  <SASL(-13): authentication failure: GSSAPI Failure: gss_accept_sec_context> <>
Error: Unable to parse dn 'CN=Print Operators,CN=Builtin,'
Modified 0 records successfully
Setting windows printer driver for PDFDrucker ...
2017-05-24 13:46:48.758888185+02:00 (in joinscript_save_current_version)
Joinscript 99ucs-school-umc-printermoderation.inst finished with exitcode 0