[SCM] Samba Shared Repository - branch master updated

Andreas Schneider asn at samba.org
Thu Jul 29 12:50:16 MDT 2010


The branch, master has been updated
       via  e8d3867... s3-spoolss: Increased debug level for trace output.
       via  b2be8f2... s3-spoolss: Fixed debug statements and increased level.
      from  bc1c82e... Fix tdb_check() to work with read-only tdb databases. The function tdb_lockall() uses F_WRLCK internally, which doesn't work on a fd opened with O_RDONLY. Use tdb_lockall_read() instead.

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit e8d386704e4c126b979ffe6c8b588fb311cc2e34
Author: Andreas Schneider <asn at samba.org>
Date:   Thu Jul 29 20:48:01 2010 +0200

    s3-spoolss: Increased debug level for trace output.

commit b2be8f2267a2fdee2d9fce6a100225eea8e7928b
Author: Andreas Schneider <asn at samba.org>
Date:   Thu Jul 29 20:45:07 2010 +0200

    s3-spoolss: Fixed debug statements and increased level.

-----------------------------------------------------------------------

Summary of changes:
 source3/rpc_server/srv_spoolss_util.c |   11 ++++++-----
 1 files changed, 6 insertions(+), 5 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source3/rpc_server/srv_spoolss_util.c b/source3/rpc_server/srv_spoolss_util.c
index 768171a..c5fad1a 100644
--- a/source3/rpc_server/srv_spoolss_util.c
+++ b/source3/rpc_server/srv_spoolss_util.c
@@ -904,7 +904,7 @@ static WERROR winreg_printer_query_binary(TALLOC_CTX *mem_ctx,
 					  &value_len,
 					  &result);
 	if (!NT_STATUS_IS_OK(status)) {
-		DEBUG(0, ("winreg_printer_query_dword: Could not query value %s: %s\n",
+		DEBUG(2, ("winreg_printer_query_binary: Could not query value %s: %s\n",
 			  wvalue.name, nt_errstr(status)));
 		if (!W_ERROR_IS_OK(result)) {
 			goto done;
@@ -934,7 +934,7 @@ static WERROR winreg_printer_query_binary(TALLOC_CTX *mem_ctx,
 					  &value_len,
 					  &result);
 	if (!NT_STATUS_IS_OK(status)) {
-		DEBUG(0, ("winreg_printer_query_dword: Could not query value %s: %s\n",
+		DEBUG(2, ("winreg_printer_query_binary: Could not query value %s: %s\n",
 			  wvalue.name, nt_errstr(status)));
 		if (!W_ERROR_IS_OK(result)) {
 			result = ntstatus_to_werror(status);
@@ -975,7 +975,7 @@ static WERROR winreg_printer_query_dword(TALLOC_CTX *mem_ctx,
 					  &value_len,
 					  &result);
 	if (!NT_STATUS_IS_OK(status)) {
-		DEBUG(0, ("winreg_printer_query_dword: Could not query value %s: %s\n",
+		DEBUG(2, ("winreg_printer_query_dword: Could not query value %s: %s\n",
 			  wvalue.name, nt_errstr(status)));
 		if (!W_ERROR_IS_OK(result)) {
 			goto done;
@@ -1011,7 +1011,7 @@ static WERROR winreg_printer_query_dword(TALLOC_CTX *mem_ctx,
 					  &value_len,
 					  &result);
 	if (!NT_STATUS_IS_OK(status)) {
-		DEBUG(0, ("winreg_printer_query_dword: Could not query value %s: %s\n",
+		DEBUG(2, ("winreg_printer_query_dword: Could not query value %s: %s\n",
 			  wvalue.name, nt_errstr(status)));
 		if (!W_ERROR_IS_OK(result)) {
 			result = ntstatus_to_werror(status);
@@ -3148,7 +3148,8 @@ WERROR winreg_printer_get_changeid(TALLOC_CTX *mem_ctx,
 		goto done;
 	}
 
-	DEBUG(0, ("winreg_printer_get_changeid: get changeid from %s\n", path));
+	DEBUG(10, ("winreg_printer_get_changeid: get changeid from %s\n", path));
+
 	result = winreg_printer_query_dword(tmp_ctx,
 					    winreg_pipe,
 					    &key_hnd,


-- 
Samba Shared Repository


More information about the samba-cvs mailing list