[Samba] rpcclient enumdrivers fails with WERR_UNKNOWN_PRINTER_DRIVER

Urs-Jakob Rueetschi ujr at ict.pzm-luzern.ch
Thu May 11 07:28:17 GMT 2006


Hello

I've just updated to Samba version 3.0.22 (previously v3.0.4a)
and get the following problem:

rpcclient enumdrivers fails with WERR_UNKNOWN_PRINTER_DRIVER
while rpcclient getdriver works just fine!  Can this be?

$ rpcclient -c enumdrivers GUTENBERG
Password: ********
result was WERR_UNKNOWN_PRINTER_DRIVER

$ rpcclient -c 'getdriver lg403-lj5000' GUTENBERG
Password: ********

[Windows NT x86]
Printer Driver Info 3:
        Version: [3]
        Driver Name: [HP LaserJet 5000 Series PCL 5e]
        Architecture: [Windows NT x86]
        Driver Path: [\\GUTENBERG\print$\W32X86\3\hpbf241g.dll]
        Datafile: [\\GUTENBERG\print$\W32X86\3\hpbf241i.pmd]
        Configfile: [\\GUTENBERG\print$\W32X86\3\hpbf241e.dll]
        Helpfile: [\\GUTENBERG\print$\W32X86\3\hpbf241e.hlp]

        Dependentfiles: [\\GUTENBERG\print$\W32X86\3\hpdcmon.dll]
        Dependentfiles: [\\GUTENBERG\print$\W32X86\3\hpbftm32.dll]
        Dependentfiles: [\\GUTENBERG\print$\W32X86\3\hpbafd32.dll]

        Monitorname: []
        Defaultdatatype: []

The (presumably) same behaviour also shows in Windows:
I can install drivers into the print$ share from a windows
client and it works. But the list of available drivers on
the server remains empty.

Any ideas on what causes this behaviour?

Thanks a lot,
Urs-Jakob


More information about the samba mailing list