[cups.general] Cups and Kerberized SMB
Michael R Sweet
msweet at apple.com
Wed Feb 18 09:15:55 PST 2009
Matthew Richardson wrote:
> I'm currently trying to use cups to send print jobs from a linux client to a printer which is available as a smb share on an AD server.
>
> So far, I've successfully tested this using smbspool:
>
> smbspool smb://server.example.com/printqueue "" "username" "" "1" "" /tmp/helloworld.txt
>
> This goes to the printer successfully if I have a valid kerberos ticket, and fails if I don't.
>
> However, I can't carry this over into cups.
>
> The important bits of my printers.conf are as follows:
>
> <DefaultPrinter printqueue>
> Info printqueue
> DeviceURI smb://server.example.com/printqueue
> ..snip...
> </Printer>
>
> I've tried setting 'AuthInfoRequired none' or 'AuthInfoRequired negotiate' - but neither shows any signs of working.
>
> Any ideas what I'm doing wrong?
>
> (I'm also using chattr +i to make printers.conf immutable to prevent it being overwritten by cupsd at startup and resetting AuthInfoRequired to username,password).
If you have to do this, it pretty much means that you don't have a
recent enough version of Samba installed with the necessary smbspool
authentication fixes.
--
______________________________________________________________________
Michael R Sweet Senior Printing System Engineer
More information about the cups
mailing list