summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2010-05-03 20:02:37 +0200
committerGünther Deschner <gd@samba.org>2010-05-03 20:55:50 +0200
commitf181281c89a395f4efbcee7f984e13faa69df749 (patch)
tree0a55e303946d0b73c042665fa3560b78d00840df
parent99e3b9a3672d4d847aea5e1ca446f543f810c84c (diff)
downloadsamba-f181281c89a395f4efbcee7f984e13faa69df749.tar.gz
samba-f181281c89a395f4efbcee7f984e13faa69df749.tar.bz2
samba-f181281c89a395f4efbcee7f984e13faa69df749.zip
s4-smbtorture: use RAP extraformat for smbcli_rap_netprintqenum().
Although w2k3 happily ignores it, the spec (and s3) enforce the addition of that. Guenther
-rw-r--r--source4/torture/rap/rap.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source4/torture/rap/rap.c b/source4/torture/rap/rap.c
index 26d503a59c..3baa938240 100644
--- a/source4/torture/rap/rap.c
+++ b/source4/torture/rap/rap.c
@@ -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");