From: Andreas Schneider Date: Mon, 13 Feb 2012 17:57:26 +0000 (+0100) Subject: s3-rpc_client: Add debug message for printer dataex errors. X-Git-Tag: tdb-1.2.10~191 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=034489718ca45a7b7e5a400f99d45387b1449746;p=thirdparty%2Fsamba.git s3-rpc_client: Add debug message for printer dataex errors. --- diff --git a/source3/rpc_client/cli_winreg_spoolss.c b/source3/rpc_client/cli_winreg_spoolss.c index a50fcc7ca0e..49b67aa48f7 100644 --- a/source3/rpc_client/cli_winreg_spoolss.c +++ b/source3/rpc_client/cli_winreg_spoolss.c @@ -2049,6 +2049,8 @@ WERROR winreg_get_printer_dataex(TALLOC_CTX *mem_ctx, goto done; } if (!W_ERROR_IS_OK(result)) { + DEBUG(2, ("winreg_get_printer_dataex: Could not query value %s: %s\n", + value, win_errstr(result))); goto done; } @@ -2075,6 +2077,8 @@ WERROR winreg_get_printer_dataex(TALLOC_CTX *mem_ctx, goto done; } if (!W_ERROR_IS_OK(result)) { + DEBUG(2, ("winreg_get_printer_dataex: Could not query value %s: %s\n", + value, win_errstr(result))); goto done; }