From f181281c89a395f4efbcee7f984e13faa69df749 Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Mon, 3 May 2010 20:02:37 +0200 Subject: s4-smbtorture: use RAP extraformat for smbcli_rap_netprintqenum(). Although w2k3 happily ignores it, the spec (and s3) enforce the addition of that. Guenther --- source4/torture/rap/rap.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'source4/torture/rap/rap.c') 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"); -- cgit