[cups.general] Problem with talking to a windows server

Steve Stamford sps at sanger.ac.uk
Mon Sep 10 12:03:33 PDT 2007


Hi,
 
Thanks for the info. The reason I wanted Browsepoll to work was so I could have the client automaticly update the list of printers, otherwise I have to either have a static printers.conf on each client or forward all requests from the cups server to the windows server via lpd.
 
Thanks anyway.
 
Steve 

________________________________

From: cups-bounces at easysw.com on behalf of Kurt Pfeifle
Sent: Mon 10/09/2007 19:29
To: cups at easysw.com
Subject: Re: [cups.general] Problem with talking to a windows server



Steve Stamford wrote:

> What I would like to do is point a Debian cups client at a windows print
> server. I think I should be able to do this via IPP?

ipp:// or smb.// or lpd://

> So I change the BrowsePoll line in cupsd.conf on my linux machine to
> point to windows server:80 (windows uses 80 rather than 631!!!)

That doesn't work. Browsing and BrowsePoll is a registered CUPS extension
to the IPP protocol, and that extension is not supported by the MS Windows
side.

Also, IPP is only supported in version 1.0 (which means, no authentica-
tion for you). It will only work if the receiving windows print server
allows you unauthenticated access via IPP.

So my advice would rather be to look into smbspool printing. In case your
CUPS client is part of the Windows domain via Samba, it could be made
fairly secure, and still convenient (no password typing for each print
job). You may need the rather new "samba-krb-printing" package (at least
that's the name on SUSE). It contains a utility called "get_printing_ticket"
that can be described as "binary wrapper to run smbspool with the original
calling UID" and it automatically fetches and uses a Kerberos ticket from
the domain controller (written by Jeremy Allison, BTW).

Last alternative is lpd:// -- but this requires to enable the "Unix Print
Services" on the Windows print server.

--
Kurt Pfeifle
System & Network Printing Consultant ---- Linux/Unix/Windows/Samba/CUPS
Infotec Deutschland GmbH  .....................  Hedelfinger Strasse 58
A RICOH Company  ...........................  D-70327 Stuttgart/Germany
_______________________________________________
cups mailing list
cups at easysw.com
http://lists.easysw.com/mailman/listinfo/cups




-- 
 The Wellcome Trust Sanger Institute is operated by Genome Research 
 Limited, a charity registered in England with number 1021457 and a 
 company registered in England with number 2742969, whose registered 
 office is 215 Euston Road, London, NW1 2BE. 





More information about the cups mailing list