[SCM] Samba Shared Repository - branch v3-6-test updated

Karolin Seeger kseeger at samba.org
Fri Oct 12 01:28:30 MDT 2012


The branch, v3-6-test has been updated
       via  5166e0b s3-printing: Increase debug level for info that the db is empty.
      from  3c71fa3 packaging: Add support for reloading systemd services.

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-6-test


- Log -----------------------------------------------------------------
commit 5166e0bde86619f477645cca9642be85d567ffe8
Author: Andreas Schneider <asn at samba.org>
Date:   Thu Sep 20 10:20:31 2012 +0200

    s3-printing: Increase debug level for info that the db is empty.
    
    (cherry picked from commit c80d70da1364349a5329d17a68033163c5025264)
    
    Signed-off-by: Andreas Schneider <asn at samba.org>
    
    See bug #9112 - smbd.log is flooded by 'printer_list_get_printer: Failed to
    fetch record!' for details.

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

Summary of changes:
 source3/printing/printer_list.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source3/printing/printer_list.c b/source3/printing/printer_list.c
index 6ddd774..8f196a5 100644
--- a/source3/printing/printer_list.c
+++ b/source3/printing/printer_list.c
@@ -91,7 +91,8 @@ NTSTATUS printer_list_get_printer(TALLOC_CTX *mem_ctx,
 
 	data = dbwrap_fetch_bystring_upper(db, key, key);
 	if (data.dptr == NULL) {
-		DEBUG(1, ("Failed to fetch record!\n"));
+		DEBUG(6, ("Failed to fetch record! "
+			  "The printer database is empty?\n"));
 		status = NT_STATUS_NOT_FOUND;
 		goto done;
 	}


-- 
Samba Shared Repository


More information about the samba-cvs mailing list