Univention Bugzilla – Bug 44688
error handling of set-windows-driver-for-pdf-printer
Last modified: 2020-07-14 09:16:33 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