Cups getting error "Connection failed: NT_STATUS_BAD_NETWORK_NAME" via smb printer

Solution Verified - Updated -

Issue

Errors in /var/log/cups/error.log:

E [26/May/2014:18:14:02 -0300] [Job 10481] Connection failed: NT_STATUS_BAD_NETWORK_NAME
E [26/May/2014:18:14:02 -0300] [Job 10481] Session setup failed: NT_STATUS_LOGON_FAILURE
E [26/May/2014:18:14:02 -0300] [Job 10481] Session setup failed: NT_STATUS_LOGON_FAILURE
E [26/May/2014:18:14:02 -0300] [Job 10481] Tree connect failed (NT_STATUS_ACCESS_DENIED)

Environment

  • Red Hat Enterprise Linux (RHEL) 6
  • Common Unix Printing System (CUPS) 1.4.2
  • Samba

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content