[Samba] rpcclient enumdrivers returns 2 listings of installed
driver.
Trevor Inns
trevor.inns at geering.biz
Mon Feb 23 20:20:15 GMT 2004
Hello
I'm installed print drivers for an HP2110 on a RedHat Linux box that
uses CUPS. This is the order of execution of my commands:
1. rpcclient -U root%secret -c 'enumdrivers 3' localhost
(nothing returned).
2. rpcclient -U root%secret -c 'adddriver "Windows NT x86"
"HP2110:hpz2ku09.dll:hpop2109.dat:hpzpm309.dll:hpfmom09.hlp:hpzlnt09:RAW:
hpzrm309.dll,hpztbi09.dll,hpzcfg09.exe,hpzimc09.dll,hpzpre09.exe,hpzslk09.dll,
hpztbu09.exe,hpzcoi09.dll,hpzime09.dll,hpzr3209.dll,hpzsnt09.dll,hpztbx09.exe,
hpzcon09.dll,hpzjui09.dll,hpzrer09.dll,hpzstc09.exe,hpzvip09.dll,hpzeng09.exe,
hpzres09.dll,hpzstw09.exe,hpzlnt09.dll' localhost
This returns:
"Printer Driver HP2110 successfully installed."
3. rpcclient -U root%secret -c 'enumdrivers 3' localhost
[Windows NT x86]
Printer Driver Info 3:
Version: [3]
Driver Name: [HP2110]
Architecture: [Windows NT x86]
Driver Path: [\\mercury\print$\W32X86\3\hpz2ku09.dll]
Datafile: [\\mercury\print$\W32X86\3\hpop2109.dat]
Configfile: [\\mercury\print$\W32X86\3\hpzpm309.dll]
Helpfile: [\\mercury\print$\W32X86\3\hpfmom09.hlp]
Dependentfiles: [\\mercury\print$\W32X86\3\hpzlnt09.dll]
Dependentfiles: [\\mercury\print$\W32X86\3\hpzstw09.exe]
Dependentfiles: [\\mercury\print$\W32X86\3\hpzres09.dll]
Dependentfiles: [\\mercury\print$\W32X86\3\hpzeng09.exe]
Dependentfiles: [\\mercury\print$\W32X86\3\hpzvip09.dll]
Dependentfiles: [\\mercury\print$\W32X86\3\hpzstc09.exe]
Dependentfiles: [\\mercury\print$\W32X86\3\hpzrer09.dll]
Dependentfiles: [\\mercury\print$\W32X86\3\hpzjui09.dll]
Dependentfiles: [\\mercury\print$\W32X86\3\hpzcon09.dll]
Dependentfiles: [\\mercury\print$\W32X86\3\hpztbx09.exe]
Dependentfiles: [\\mercury\print$\W32X86\3\hpzsnt09.dll]
Dependentfiles: [\\mercury\print$\W32X86\3\hpzr3209.dll]
Dependentfiles: [\\mercury\print$\W32X86\3\hpzime09.dll]
Dependentfiles: [\\mercury\print$\W32X86\3\hpzcoi09.dll]
Dependentfiles: [\\mercury\print$\W32X86\3\hpztbu09.exe]
Dependentfiles: [\\mercury\print$\W32X86\3\hpzslk09.dll]
Dependentfiles: [\\mercury\print$\W32X86\3\hpzpre09.exe]
Dependentfiles: [\\mercury\print$\W32X86\3\hpzimc09.dll]
Dependentfiles: [\\mercury\print$\W32X86\3\hpzcfg09.exe]
Dependentfiles: [\\mercury\print$\W32X86\3\hpztbi09.dll]
Dependentfiles: [\\mercury\print$\W32X86\3\hpzrm309.dll]
Monitorname: [hpzlnt09]
Defaultdatatype: [RAW]
[Windows NT x86]
Printer Driver Info 3:
Version: [3]
Driver Name: [HP2110]
Architecture: [Windows NT x86]
Driver Path: [\\mercury\print$\W32X86\3\hpz2ku09.dll]
Datafile: [\\mercury\print$\W32X86\3\hpop2109.dat]
Configfile: [\\mercury\print$\W32X86\3\hpzpm309.dll]
Helpfile: [\\mercury\print$\W32X86\3\hpfmom09.hlp]
Dependentfiles: [\\mercury\print$\W32X86\3\hpzlnt09.dll]
Dependentfiles: [\\mercury\print$\W32X86\3\hpzstw09.exe]
Dependentfiles: [\\mercury\print$\W32X86\3\hpzres09.dll]
Dependentfiles: [\\mercury\print$\W32X86\3\hpzeng09.exe]
Dependentfiles: [\\mercury\print$\W32X86\3\hpzvip09.dll]
Dependentfiles: [\\mercury\print$\W32X86\3\hpzstc09.exe]
Dependentfiles: [\\mercury\print$\W32X86\3\hpzrer09.dll]
Dependentfiles: [\\mercury\print$\W32X86\3\hpzjui09.dll]
Dependentfiles: [\\mercury\print$\W32X86\3\hpzcon09.dll]
Dependentfiles: [\\mercury\print$\W32X86\3\hpztbx09.exe]
Dependentfiles: [\\mercury\print$\W32X86\3\hpzsnt09.dll]
Dependentfiles: [\\mercury\print$\W32X86\3\hpzr3209.dll]
Dependentfiles: [\\mercury\print$\W32X86\3\hpzime09.dll]
Dependentfiles: [\\mercury\print$\W32X86\3\hpzcoi09.dll]
Dependentfiles: [\\mercury\print$\W32X86\3\hpztbu09.exe]
Dependentfiles: [\\mercury\print$\W32X86\3\hpzslk09.dll]
Dependentfiles: [\\mercury\print$\W32X86\3\hpzpre09.exe]
Dependentfiles: [\\mercury\print$\W32X86\3\hpzimc09.dll]
Dependentfiles: [\\mercury\print$\W32X86\3\hpzcfg09.exe]
Dependentfiles: [\\mercury\print$\W32X86\3\hpztbi09.dll]
Dependentfiles: [\\mercury\print$\W32X86\3\hpzrm309.dll]
Monitorname: [hpzlnt09]
Defaultdatatype: [RAW]
Question: Why is this listed twice?
The only drivers are in the W32X86/3 subdirectory of [print$]
Many Thanks
--
More information about the samba
mailing list