diff options
author | Günther Deschner <gd@samba.org> | 2010-09-16 14:31:53 +0200 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2010-09-16 14:31:53 +0200 |
commit | dfe25088ba8b1e6fdaf49ef88d2da07fd8f1d950 (patch) | |
tree | 99896ca576f5c4ef77dfa197738dc93af790edfc | |
parent | 43d54406b19a8041633eb26d7a809e3fd7de3ef6 (diff) | |
download | samba-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.idl | 2 | ||||
-rw-r--r-- | source4/torture/ndr/spoolss.c | 4 |
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 ); |