Printing to remote smb printers fails with cupsdAuthorize: No authentication data provided.

r0k5t4r oliver.weinmann at googlemail.com
Mon Dec 22 07:27:31 PST 2008


Hi,

I recently tried out cups to simplify the life of our unix users. My goal was to have a central cups server where we configure all of our windows smb printers and have this cups server serve the printers via ipp to all the other unix clients. The setup works fine so far except that I can't print from any client.

What I have so far is Machine A (the Cups server) with a working smb printer. I can print fine from the cups server itself using the testprint in the webgui. If I use the any command line tools like lp or lpr, I get the response: lp: Unauthorized.

On Machine B (the cups client) I can see all the printers setup on Machine A. But when I try to print, testprint, commandline print I can see the following error on Machine A:

D [22/Dec/2008:13:18:51 -0200] cupsdAuthorize: No authentication data provided.

Is there a way to totally disable authentication? I have seen there is a way to setup cups to use kerberos but we are using a Active Directory KDC and I don't really know if this is gonna work. All the clients are using samba-winbind to authenticate to AD and on login every users gets a Kerberos ticket.

Any help would be appreciated. Struggling with this for almost a week now.

System is Ubuntu 8.10. The clients are SLES9 and Ubuntu 8.04.




More information about the cups mailing list