"enumprinters 0" against Samba says WERR_UNKNOWN_LEVEL,
but works against Win XP
Kurt Pfeifle
kpfeifle at danka.de
Wed May 21 00:15:07 GMT 2003
Tim Potter wrote:
> 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?
No, nothing I can think of right now.
(I was just running some commands which *did* work or not in 2.2.x against
3.0 and WinXP to see what had changed -- improved or regressed -- and found
this...)
> Tim.
>
More information about the samba-technical
mailing list