summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2012-02-13 18:57:26 +0100
committerAndreas Schneider <asn@cryptomilk.org>2012-03-14 17:56:14 +0100
commit034489718ca45a7b7e5a400f99d45387b1449746 (patch)
treefebae56353762cfb6f237ee017bf674bafd85964
parent4bccc911b82d82091bbb4c22a99518172f768c93 (diff)
downloadsamba-034489718ca45a7b7e5a400f99d45387b1449746.tar.gz
samba-034489718ca45a7b7e5a400f99d45387b1449746.tar.bz2
samba-034489718ca45a7b7e5a400f99d45387b1449746.zip
s3-rpc_client: Add debug message for printer dataex errors.
-rw-r--r--source3/rpc_client/cli_winreg_spoolss.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/rpc_client/cli_winreg_spoolss.c b/source3/rpc_client/cli_winreg_spoolss.c
index a50fcc7ca0..49b67aa48f 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;
}