[Samba] rpcclient enumdrivers fails with WERR_UNKNOWN_PRINTER_DRIVER

Ryan Novosielski novosirj at umdnj.edu
Thu May 11 16:41:17 GMT 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Gerald (Jerry) Carter wrote:
> Ryan Novosielski wrote:
> 
>>>> EnumDrivers() does take a printer an as argument IIRC.
>>> Not so, according to 'man rpcclient':
> 
> My stupid typing again.  It'll get me in deep trouble one day....
> Meant to say "does not take a printername"
> 
>>> This is another one that's been broken for me for ages. 
>>> I think it used to work before I had any/many
>>> drivers on the system. Once I got a few
>>> installed, however, all bets were off. My personal wild
>>> guess is a punctuation issue. I've run into this before,
>>> where a driver .INF included punctuation somewhere
>>> in the driver spec that got misinterpreted -- in that
>>> case I believe it was a parenthesis.
>>>
>>> Here's what I get running that command:
>>>
>>> rpcclient $> enumdrivers
>>> result was WERR_UNKNOWN_PRINTER_DRIVER?
> 
> Wha!?  Hmmm...ok.  I'm convinced.  I don't have time right
> now to look into this.  Could you send me an ethereal trace
> of the failure ?

Not personally familiar with doing traces -- I'm assuming I would use
tcpdump to capture the output and then run a trace on the output with
ethereal, or can it be used to do the entire thing? Will it still work
if rpcclient and smbd are running on the same host?

I'd be happy to find out how it's done and get on that, just want to
make sure I'm on the right track. This is stuff I should already have
learned anyway. ;)
- --
 ---- _  _ _  _ ___  _  _  _
 |Y#| |  | |\/| |  \ |\ |  | |Ryan Novosielski - User Support Spec. III
 |$&| |__| |  | |__/ | \| _| |novosirj at umdnj.edu - 973/972.0922 (2-0922)
 \__/ Univ. of Med. and Dent.|IST/AST - NJMS Medical Science Bldg - C630
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (MingW32)

iD8DBQFEY2ktmb+gadEcsb4RAp9GAKC9QUudlQO5AzfCxaO1VVlYnur6LACeJTqI
PfAYAGyJE9Smj7I2KJwQ2FI=
=ViQG
-----END PGP SIGNATURE-----



More information about the samba mailing list