s4-smbtorture: use RAP extraformat for smbcli_rap_netprintqenum().
authorGünther Deschner <gd@samba.org>
Mon, 3 May 2010 18:02:37 +0000 (20:02 +0200)
committerGünther Deschner <gd@samba.org>
Mon, 3 May 2010 18:55:50 +0000 (20:55 +0200)
Although w2k3 happily ignores it, the spec (and s3) enforce the addition of
that.

Guenther

source4/torture/rap/rap.c

index 26d503a59ce717dd7a0b027080499b7b1686272c..3baa938240d2d20de3b1bcaab40e5216e3c268cd 100644 (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");