Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I am trying to print to a samba printer via CUPS. I have configured the printer allright, but there seems to be a problem with authentication. The error message I get is

Session setup failed: NT_STATUS_LOGON_FAILURE

The GUI also tells me: Idle - Tree connect failed (NT_STATUS_ACCESS_DENIED)

It used to work with previous versions of CUPS (1.4.3 and 1.4.6) under Ubuntu 11.04

I am doing this on a clean install of Ubuntu 12.04, CUPS version 1.5.3. I have tried changing some rights relating to apparmor, with no success as described here: http://www.compdigitec.com/labs/2010/01/16/fixing-usrlibcupsbackendsmb-failed-error-in-ubuntu/

I have been working with Ubuntu for years - but this is the kind of problem I need help with.

share|improve this question
    
I also tried downgrading to CUPS 4.1.8, that did not help, I could not connect to localhost:631 any more. I am now back at the issue described above, any help will be greatly appreciated. –  Julius Aug 29 '12 at 20:22
add comment

1 Answer

Hurrah, its working. The problem is related to a really strange authentication issue that 12.04 has with samba. As I also had problems connecting to the samba drives, I read that server and domain names need to be in uppercase (I have no clue why) to make them work.

For the samba printer, it was enough to just have the domain name uppercase, such as this:

smb://D.EXAMPLE.CH/vpp-xxxxxxxxxxxxx/vpp-xxxxxxxxxxxx

take care to unlock caps lock before entering the password :-)

I hope this saves someone time.

share|improve this answer
    
Could you elaborate more on the "really strange authentication issue"? –  BryceAtNetwork23 Aug 30 '12 at 15:34
    
In my case the domain name points to a netbios print server and as: 1) netbios names are (almost) always uppercase and 2) we (in UNIX/Linux) assume case sensitively then it should be in UPPERCASE. –  binx Feb 2 at 15:38
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.