[Samba] CUPS & client driver download

Gerald Carter jerry at samba.org
Mon Jun 10 06:45:02 GMT 2002


On Sun, 9 Jun 2002, tony wrote:

> Hi everybody!
> 
> I've got a problem with downloading printerdrivers from my win2k box.
> Successfully added printer with cupsaddsmb-tool (as root, after
> failing as printer admin!!?!?!). The W32X86 and WIN40 directories
> have been created as they should and also did the PPD files.
> But if I connect to the printer from Win (as printer admin) I get the message that no
> driver could be found.
> 
> RPCclient CALL "enumprinters" gives me:
> 
> >INFO: Debug class all level = 2   (pid 6470 from pid 6470)
> >session setup ok
> >Domain=[VALIKTALS] OS=[Unix] Server=[Samba 2.2.3a]
> >cmd = enumprinters
> >enumprinters
> >        flags:[0x800000]
> >        name:[\\localhost\HP690C]
> >        description:[localhost\\localhost\HP690C,HP DeskJet 690C, Foomatic + pcl3,localhost\HP690C]
> >        comment:[localhost\HP690C]
> 
> but all the RPCclient CALL "enumdrivers" states is:
> 
> >INFO: Debug class all level = 2   (pid 6472 from pid 6472)
> >session setup ok
> >Domain=[VALIKTALS] OS=[Unix] Server=[Samba 2.2.3a]
> >cmd = enumdrivers
> >enumdrivers
> 
> shouldn't I be seing more info here?
> 
> here is how smb.conf looks like:
> 
> [global]
>         ..
>         ..
>         security = SHARE

Make sure you use "security = user" for the point-n-print
feature ion Samba 2.2.x.


>         ..
>         load printers = yes
>         printing = cups
>         printcap name = cups
>         printer admin = tony, root
> 
> [printers]
>         comment = All Printers
>         path = /var/spool/samba
>         browseable = no
>         public = yes
>         guest ok = yes
>         writable = no
>         printable = yes
>         printer admin = tony, root 
> 
> [print$]
>         comment = Printer Drivers
>         path = /local/samba/printerdrivers 
>         browseable = yes
>         guest ok = yes
>         read only = yes
>         write list = tony, root
> 
> What am I missing? Has anybody got a clue?




cheers, jerry
 ---------------------------------------------------------------------
 Hewlett-Packard                                     http://www.hp.com
 SAMBA Team                                       http://www.samba.org
 --                                            http://www.plainjoe.org
 "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 mailing list