"enumprinters 0" against Samba says WERR_UNKNOWN_LEVEL, but works against Win XP

Tim Potter tpot at samba.org
Tue May 20 23:46:31 GMT 2003


On Wed, May 21, 2003 at 01:06:17AM +0200, Kurt Pfeifle wrote:

> run against Samba-3.0alpha24:
> -----------------------------
> cups-demo:~# rpcclient -Uroot%xxxx -c "enumprinters 0" 10.160.51.60
> result was WERR_UNKNOWN_LEVEL
> 
> run against Windows XP Prof:
> ----------------------------
> cups-demo:/home/konstruct # rpcclient -UDANKA%root2002 -c "enumprinters 0" 
> 10.160.50.8
>         printername:[\\10.160.50.8\Acrobat Distiller]
>         servername:[\\10.160.50.8]

There's a good reason for that - there's no code there to return it.
(-:

I can only guess that this info level is not used by any Microsoft
clients and so has not been implemented.  

> man pages says, "enumprinters 0" is supported. "enumprinters 1" and
> "enumprinters 2" work against both systems....

Maybe we should fix the manual page.  Do you need enumprinters level 0
for anything in particular?


Tim.



More information about the samba-technical mailing list