summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2010-09-16 14:31:53 +0200
committerGünther Deschner <gd@samba.org>2010-09-16 14:31:53 +0200
commitdfe25088ba8b1e6fdaf49ef88d2da07fd8f1d950 (patch)
tree99896ca576f5c4ef77dfa197738dc93af790edfc
parent43d54406b19a8041633eb26d7a809e3fd7de3ef6 (diff)
downloadsamba-dfe25088ba8b1e6fdaf49ef88d2da07fd8f1d950.tar.gz
samba-dfe25088ba8b1e6fdaf49ef88d2da07fd8f1d950.tar.bz2
samba-dfe25088ba8b1e6fdaf49ef88d2da07fd8f1d950.zip
s4-smbtorture: activate spoolss_GetPrinterData NDR pull test.
Guenther
-rw-r--r--librpc/idl/spoolss.idl2
-rw-r--r--source4/torture/ndr/spoolss.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/librpc/idl/spoolss.idl b/librpc/idl/spoolss.idl
index c61cba511c..6b20940ff6 100644
--- a/librpc/idl/spoolss.idl
+++ b/librpc/idl/spoolss.idl
@@ -1925,7 +1925,7 @@ cpp_quote("#define spoolss_security_descriptor security_descriptor")
const string SPOOL_REG_URL = "url";
const string SPOOL_REG_VERSIONNUMBER = "versionNumber";
- WERROR spoolss_GetPrinterData(
+ [public] WERROR spoolss_GetPrinterData(
[in,ref] policy_handle *handle,
[in] [string,charset(UTF16)] uint16 value_name[],
[out,ref] winreg_Type *type,
diff --git a/source4/torture/ndr/spoolss.c b/source4/torture/ndr/spoolss.c
index bdab29facb..933c994e7f 100644
--- a/source4/torture/ndr/spoolss.c
+++ b/source4/torture/ndr/spoolss.c
@@ -458,8 +458,8 @@ struct torture_suite *ndr_spoolss_suite(TALLOC_CTX *ctx)
torture_suite_add_ndr_pull_fn_test(suite, spoolss_GetPrinter, getprinter_req_data, NDR_IN, NULL );
torture_suite_add_ndr_pull_fn_test(suite, spoolss_GetPrinter, getprinter_resp_data, NDR_OUT, NULL );
- /*torture_suite_add_ndr_pull_fn_test(suite, spoolss_GetPrinterData, getprinterdata_req_data, NDR_IN, NULL );
- torture_suite_add_ndr_pull_fn_test(suite, spoolss_GetPrinterData, getprinterdata_resp_data, NDR_OUT, NULL );*/
+ torture_suite_add_ndr_pull_fn_test(suite, spoolss_GetPrinterData, getprinterdata_req_data, NDR_IN, NULL );
+ /*torture_suite_add_ndr_pull_fn_test(suite, spoolss_GetPrinterData, getprinterdata_resp_data, NDR_OUT, NULL );*/
torture_suite_add_ndr_pull_fn_test(suite, spoolss_ReplyOpenPrinter, replyopenprinter_req_data, NDR_IN, NULL );
torture_suite_add_ndr_pull_fn_test(suite, spoolss_ReplyOpenPrinter, replyopenprinter_resp_data, NDR_OUT, NULL );