summaryrefslogtreecommitdiff
path: root/source4/torture/rpc
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2003-11-15 20:56:18 +0000
committerAndrew Tridgell <tridge@samba.org>2003-11-15 20:56:18 +0000
commit5bd51a1d5d88459eca341d252f156fcf32bdc222 (patch)
tree9284956eb56bbbc151d18f4f917d8621ce80e3cc /source4/torture/rpc
parentc24f56e71c2d15ba0e41146abf4b0387a2461bac (diff)
downloadsamba-5bd51a1d5d88459eca341d252f156fcf32bdc222.tar.gz
samba-5bd51a1d5d88459eca341d252f156fcf32bdc222.tar.bz2
samba-5bd51a1d5d88459eca341d252f156fcf32bdc222.zip
the returned policy handle in spoolss_OpenPrinterEx() is pass by
reference (tim, my apoligies if this conflicts with an uncomitted fix from you) (This used to be commit fa0872e66359603a52813af13b45fdaeca98f5d0)
Diffstat (limited to 'source4/torture/rpc')
-rw-r--r--source4/torture/rpc/spoolss.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source4/torture/rpc/spoolss.c b/source4/torture/rpc/spoolss.c
index 83a7778a59..7f4809109a 100644
--- a/source4/torture/rpc/spoolss.c
+++ b/source4/torture/rpc/spoolss.c
@@ -25,6 +25,7 @@ static BOOL test_OpenPrinterEx(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx)
{
struct spoolss_OpenPrinterEx r;
struct spoolss_UserLevel1 userlevel1;
+ struct policy_handle handle;
NTSTATUS status;
r.in.printername = "p";
@@ -33,6 +34,8 @@ static BOOL test_OpenPrinterEx(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx)
r.in.devmode_ctr.devmode = NULL;
r.in.access_required = 0x12345678;
r.in.level = 1;
+ r.out.handle = &handle;
+
userlevel1.size = 1234;
userlevel1.client = "hello";
userlevel1.user = "spottyfoot!";