setting up samba server for remote printer driver download

Gerald Carter jerry at
Sun Mar 24 20:48:01 GMT 2002

On Fri, 22 Mar 2002, Michael Sweet wrote:

> Steven French wrote:
> > I think Tim had recently mentioned that setting up a Samba print server for
> > remote driver download via imprints was broken due to the error mapping
> > problem in rpcclient spoolss stuff.    I haven't had much success doing the
> > equivalent (installing the drivers remotely to the Samba server download
> > area and configuring the driver properties for the spooler) via the Windows
> > 2000 Add Printer Wizard or printui utility.     Do most people setup
> > printer download via imprints? but if so I am surprised more people haven't
> > mentioned the problem in 2.2.x that Tim was mentioning.   Looks like the
> > merge of the 3.0 fixes to 2.2.x in the spoolss rpcclient code is
> > non-trivial.
> We've had a lot of reported problems with the CUPS "cupsaddsmb"
> program when adding the Adobe PS drivers via smbclient and rpcclient.
> Everything worked in 2.2.2, but broke starting with 2.2.3.
> I've been trying to root out the problem but haven't had much luck so
> far (still getting up to speed on the spoolss code) - basic things
> like the printer name and server name are not getting passed back
> in the enumprinters request, for example.

It's rpcclient.  Some of the code which got merged broke things like 
enumprinters, etc...  It's a really simple bug.  The client issues 
a request to find the reuqired buffer size but then does not
execute the RPC again to actually get the data.

 SAMBA Team                             
 "Sam's Teach Yourself Samba in 24 Hours" 2ed.      ISBN 0-672-32269-2
 --"I never saved anything for the swim back." Ethan Hawk in Gattaca--

More information about the samba-technical mailing list