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

Kurt Pfeifle kpfeifle at danka.de
Thu May 15 19:13:20 GMT 2003


Shanti Katta wrote:

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

For me 1.1.16, 1.1.17, 1.1.18, and the release candidates for 1.1.19 (out
soon) all worked AFAIR. Certainly 1.1.18 and 1.1.19rc4 do work (currently
in use here.)

Cheers,
Kurt




More information about the samba mailing list