Shanti Katta
2003-May-15 16:26 UTC
[Samba] Does automatic printer driver download from Win 2k client work?
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
Kurt Pfeifle
2003-May-15 16:38 UTC
[Samba] Does automatic printer driver download from Win 2k client work?
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 = cupsWhich version of CUPS have you installed?> 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_UNSUCCESSFULThis 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!> Did anyone ever get this automatic driver download to work at all?Yes.> -Shanti >