git.samba.org
/
abartlet
/
samba.git
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8e68eb2
)
s4-smbtorture: fix s3 flavor rpc spoolss test.
author
Günther Deschner
<gd@samba.org>
Fri, 6 Mar 2009 11:20:14 +0000
(12:20 +0100)
committer
Günther Deschner
<gd@samba.org>
Fri, 6 Mar 2009 13:28:17 +0000
(14:28 +0100)
Guenther
source4/torture/rpc/samba3rpc.c
patch
|
blob
|
history
diff --git
a/source4/torture/rpc/samba3rpc.c
b/source4/torture/rpc/samba3rpc.c
index 7cacba7418190b9628ee175a2b1982cf131b23cd..fe128fea52b0a4a7958d7dd1a4c2aaf5e450909a 100644
(file)
--- 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)) {