Urs-Jakob Rueetschi
2006-May-11 07:28 UTC
[Samba] rpcclient enumdrivers fails with WERR_UNKNOWN_PRINTER_DRIVER
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
Gerald (Jerry) Carter
2006-May-11 13:57 UTC
[Samba] rpcclient enumdrivers fails with WERR_UNKNOWN_PRINTER_DRIVER
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Urs-Jakob Rueetschi wrote:> 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_DRIVEREnumDrivers() does take a printer an as argument IIRC. cheers, jerry ====================================================================Samba ------- http://www.samba.org Centeris ----------- http://www.centeris.com "What man is a man who does not make the world better?" --Balian -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org iD8DBQFEY0KnIR7qMdg1EfYRAk/hAJ9yusystu8jzjtY/TtJpu+iMUq0MQCeJq2c cFWqOstQUBJGw0jrxjLysxY=QNSa -----END PGP SIGNATURE-----