[Samba] Does automatic printer driver download from Win 2k client work?

Shanti Katta katta at csee.wvu.edu
Thu May 15 16:45:11 GMT 2003


On Thu, 2003-05-15 at 12:38, Kurt Pfeifle wrote:
> Shanti Katta katta at csee.wvu.edu wrote on Samba-Digest:
> 
> > Thu May 15 16:26:36 GMT 2003
> > 
> > 
> > Hi,
> > I am playing around with automatic printer driver download to Windows
> > 2000 clients from Samba 2.2.8a-1 which doesn't seem to work. Whenever I
> > right-click on the printer and say "connect", it displays:
> > 
> > The server on which the printer resides does not have the correct
> > printer driver installed.....
> > 
> > Here is my smb.conf file:
> > [Global]
> > 	workgroup = DEBIAN_FANS
> > 	load printers = yes
> > 	printcap name = cups
> > 	printing = cups
> 
> Which version of CUPS have you installed?
  CUPS version 1.1.15-4
 
> > 	guest account = smbguest
> > 	map to guest = Bad User
> > 	log file = /var/log/samba/log.%m
> > 	security = user
> > 	encrypt passwords = true
> > 	printer admin = smbguest,root
> > 	wins server = 157.182.194.247
> > 
> > [printers]
> >    comment = All Printers
> >    browseable = no
> >    path = /var/spool/samba
> >    printable = yes
> >    public = yes
> >    writable = no
> >    create mode = 0700
> >    printer admin = smbguest,root
> > [print$]
> >    path = /etc/samba/drivers
> >    guest ok = yes
> >    browseable = yes
> >    read only = yes
> >    write list = smbguest,root
>   	          ~~~~~~~~
>                     hmmm...
> 
> > The log files have nothing in them and the result of cupsaddsmb is:
> > sutton:/etc/samba/drivers# cupsaddsmb -v -U root -a
> > Password for root required to access localhost via SAMBA:
> > Running command: rpcclient localhost -N -U'root%secret?' -c 'adddriver
> > "Windows NT x86"
> > "ps212erb:ADOBEPS5.DLL:ps212erb.PPD:ADOBEPSU.DLL:ADOBEPSU.HLP:NULL:RAW:NULL"'
> > cmd = adddriver "Windows NT x86"
> > "ps212erb:ADOBEPS5.DLL:ps212erb.PPD:ADOBEPSU.DLL:ADOBEPSU.HLP:NULL:RAW:NULL"
> > Printer Driver ps212erb successfully installed.
> > 
> > Running command: rpcclient localhost -N -U'root%secret?' -c 'addprinter
> > ps212erb ps212erb "ps212erb" ""'
> > cmd = addprinter ps212erb ps212erb "ps212erb" ""
> > result was NT_STATUS_UNSUCCESSFUL
> 
> This is a very old version of cupsaddsmb which used "addprinter" after
> "adddriver". The correct way to do it is "setdriver" -- and recent
> versions of CUPS and cupsaddsmb do so!
Can you tell me what version of CUPS works? 
 
> > Did anyone ever get this automatic driver download to work at all?
> 
> Yes.
> 
> > -Shanti
> > 
> 
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba





More information about the samba mailing list