Kerberised printing to a Windows print queue

Tom Shaw tomisfaraway at
Fri Aug 6 09:06:25 GMT 2004

Sorry to reply to my own email. It looks like the username is indeed
one of the arguments to a CUPS backend (I don't know how I didn't see
it in the first place..) so it should be theoretically possible to
take this, use it to authorize with kerberos and print to the Windows
print queue.

*fingers crossed*


On Fri, 6 Aug 2004 14:18:47 +0800, Tom Shaw <tomisfaraway at> wrote:
> Hi folks
> I've been having a look at how to allow multiple users to print to a
> Windows 2003 print queue without having to specify their username and
> password each time. Authentication is important in this situation in
> order to keep track of quotas.
> As far as I can tell, the solution will need to involve a pam_krb5
> module to initialise the user's kerberos credentials on logon, then
> use a kerberos-enabled printing program to print to the Windows
> printer.
> It would be perfect I could modify smbspool to be kerberos-enabled and
> use it as a backend to CUPS. However the showstopper question is: Does
> any information about the user actually reach the CUPS backend? If so,
> then I'd love to have a go at modifying smbspool to support this.
> Has anyone tried to solve this problem before?
> Regards
> Tom Shaw

More information about the samba-technical mailing list