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

Shanti Katta katta at csee.wvu.edu
Thu May 15 16:26:36 GMT 2003

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:
	workgroup = DEBIAN_FANS
	load printers = yes
	printcap name = cups
	printing = cups
	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 =

   comment = All Printers
   browseable = no
   path = /var/spool/samba
   printable = yes
   public = yes
   writable = no
   create mode = 0700
   printer admin = smbguest,root
   path = /etc/samba/drivers
   guest ok = yes
   browseable = yes
   read only = yes
   write list = smbguest,root
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"
cmd = adddriver "Windows NT x86"
Printer Driver ps212erb successfully installed.

Running command: rpcclient localhost -N -U'root%secret?' -c 'addprinter
ps212erb ps212erb "ps212erb" ""'
cmd = addprinter ps212erb ps212erb "ps212erb" ""

Did anyone ever get this automatic driver download to work at all?


More information about the samba mailing list