1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-03 13:47:25 +03:00

s4-smbtorture: use RAP extraformat for smbcli_rap_netprintqenum().

Although w2k3 happily ignores it, the spec (and s3) enforce the addition of
that.

Guenther
This commit is contained in:
Günther Deschner 2010-05-03 20:02:37 +02:00
parent 99e3b9a367
commit f181281c89

View File

@ -731,12 +731,15 @@ NTSTATUS smbcli_rap_netprintqenum(struct smbcli_tree *tree,
break;
case 2:
rap_cli_expect_format(call, "B13BWWWzzzzzWN");
rap_cli_expect_extra_format(call, "WB21BB16B10zWWzDDz");
break;
case 3:
rap_cli_expect_format(call, "zWWWWzzzzWWzzl");
break;
case 4:
rap_cli_expect_format(call, "zWWWWzzzzWNzzl");
rap_cli_expect_extra_format(call, "WWzWWDDzz");
/* no mention of extra format in MS-RAP */
break;
case 5:
rap_cli_expect_format(call, "z");