[Samba] Re: cupsaddsmb problem

A Yagi ayagi at scripps.edu
Fri May 13 19:21:21 GMT 2005


Thank you for posting this info.  I was having exactly the same problem 
with cupsaddsmb (cups version 1.1.22).  Somehow I managed to get it to 
work by excuting individual commands of cupsaddsmb step by step 
mannually.  Hope the problem is fixed in a future version of cups.

Akemi

Bruno Guerreiro wrote:
> Hi,
> I think that that is more of a cups problem rather than Samba's.
> I'm having the same problem with cups-1.1.22-0.rc1.8.5 on FC3.
> cupsaddsmb is adding only the NT4/win9x drivers (if they exist in Samba).
> Using the cupsaddsmb from cups-1.1.20-11.6 works like a charm.
> 
> 
> -----Original Message-----
> From: Julian Pilfold-Bagwell [mailto:jpb at bordengrammar.kent.sch.uk]
> Sent: sexta-feira, 13 de Maio de 2005 11:39
> To: samba at lists.samba.org
> Subject: [Samba] cupsaddsmb problem
> 
> 
> Hi all,
> 
> I have a problem with adding point and print to a print server. The server 
> details are as follows:
> 
> 700MHz Celeron + 384MB RAM
> Mandriva LE2005 (Mandrake 10.2)
> Samba 3.0.13-2mdk
> CUPS 1.1.23
> cups drivers 10.2-0.11
> gimpprint-cups 2-1.1.23-11
> foomatic 3.0.2-1
> 
> The server is bound to an NT4 based domain (to be replaced with Linux/Samba
> in 
> the summer) and winbind works fine with wbinfo -u and -g returning a full 
> list of users and groups.
> 
> Cups works fine printing from Linux clients but when I run cupsaddsmb to 
> deliver the drivers to the XP client machines it fails to copy the files to 
> the named folder.
> 
> Running the command gives the output below:
> 
> [root at ourschool printers]# cupsaddsmb -U jpb -h localhost  HPLaserJet5L
> Password for jpb required to access localhost via SAMBA:
> [root at ourschool printers]#
> 
> Running it in verbose mode only gives the following:
> 
> [root at ourschool printers]# cupsaddsmb -U jpb -h localhost -v HPLaserJet5L
> Password for jpb required to access localhost via SAMBA:
> Running command: rpcclient localhost -N -U'jpb%pwchanged' -c 'setdriver 
> HPLaserJet5L HPLaserJet5L'
> Succesfully set HPLaserJet5L to driver HPLaserJet5L.
> 
> the final line of which suggests it's worked but the drivers aren't copied
> to 
> the /var/lib/samba/printers folder and the clients can't find the drivers 
> when p+p is tried.
> 
> Cheers,
> 
> Julian PB



More information about the samba mailing list