summaryrefslogtreecommitdiff
path: root/source4/torture
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2009-03-06 12:20:14 +0100
committerGünther Deschner <gd@samba.org>2009-03-06 14:28:17 +0100
commit2fcc921237bbaac2de331ee53828ab72394a6186 (patch)
tree9647bf7db4b7d8f6f272dbf5896999f368e6d041 /source4/torture
parent8e68eb2cc36c493461c74ee35b0974832d6452c3 (diff)
downloadsamba-2fcc921237bbaac2de331ee53828ab72394a6186.tar.gz
samba-2fcc921237bbaac2de331ee53828ab72394a6186.tar.bz2
samba-2fcc921237bbaac2de331ee53828ab72394a6186.zip
s4-smbtorture: fix s3 flavor rpc spoolss test.
Guenther
Diffstat (limited to 'source4/torture')
-rw-r--r--source4/torture/rpc/samba3rpc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/torture/rpc/samba3rpc.c b/source4/torture/rpc/samba3rpc.c
index 7cacba7418..fe128fea52 100644
--- a/source4/torture/rpc/samba3rpc.c
+++ b/source4/torture/rpc/samba3rpc.c
@@ -2619,6 +2619,7 @@ static bool enumprinters(TALLOC_CTX *mem_ctx, struct dcerpc_pipe *pipe,
DATA_BLOB blob;
uint32_t needed;
uint32_t count;
+ union spoolss_PrinterInfo *info;
r.in.flags = PRINTER_ENUM_LOCAL;
r.in.server = talloc_asprintf(mem_ctx, "\\\\%s", servername);
@@ -2627,6 +2628,7 @@ static bool enumprinters(TALLOC_CTX *mem_ctx, struct dcerpc_pipe *pipe,
r.in.offered = 0;
r.out.needed = &needed;
r.out.count = &count;
+ r.out.info = &info;
status = dcerpc_spoolss_EnumPrinters(pipe, mem_ctx, &r);
if (!NT_STATUS_IS_OK(status)) {