[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


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
	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
	
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

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

-Shanti




More information about the samba mailing list