My Favorites

Close

Please to see your favorites.

  • Bookmark
  • Email Document
  • Printer Friendly
  • Favorite
  • Rating:

Printing fails for printers connected to a Windows print server

This document (7017957) is provided subject to the disclaimer at the end of this document.

Environment

SUSE Linux Enterprise Server 12
SUSE Linux Enterprise Server 12 Service Pack 1 (SLES 12 SP1)

Situation

When attempting to print to printers configured via "YaST > Hardware > Printers" that connect to a Windows print server this fails after entering credentials with the following logged in "/var/log/cups/error_log":

E [8/Jun/2016:10:10:14 +0100] [Job XX] Session setup failed: NT_STATUS_UNSUCCESSFUL
E [8/Jun/2016:10:10:14 +0100] [Job XX] Session setup failed: NT_STATUS_LOGON_FAILURE
E [8/Jun/2016:10:10:14 +0100] [Job XX] Session setup failed: NT_STATUS_ACCESS_DENIED

Resolution

In the "[libdefaults]" section of the "/etc/krdb5.conf" file the following entry needs to be added:

default_ccache_name = FILE:/tmp/krb5cc_%{uid}

Cause

The problem is caused due to non fitting KRB5CCNAME default locations of MIT Kerberos as offered by SUSE Linux Enterprise Server 12 (SLES12) which points to "/run/user/%{uid}/krb5cc" while expected from winbind is still the old location "FILE:/tmp/krb5cc_%{uid}".

Additional Information

Note: Printing is only an example. This configuration changed is needed whenever winbind is used!
The issue is caused by winbind and kerberos expecting different locations for the cache

Disclaimer

This Support Knowledgebase provides a valuable tool for NetIQ/Novell/SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.

  • Document ID:7017957
  • Creation Date:17-AUG-16
  • Modified Date:01-SEP-16
    • SUSESUSE Linux Enterprise Server

Did this document solve your problem? Provide Feedback

< Back to Support Search

SUSE Support Forums

Get your questions answered by experienced Sys Ops or interact with other SUSE community experts.

Join Our Community

Support Resources

Learn how to get the most from the technical support you receive with your SUSE Subscription, Premium Support, Academic Program, or Partner Program.


SUSE Customer Support Quick Reference Guide SUSE Technical Support Handbook Update Advisories
Support FAQ

Open an Incident

Open an incident with SUSE Technical Support, manage your subscriptions, download patches, or manage user access.

Go to Customer Center