git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3c71fa3
)
s3-printing: Increase debug level for info that the db is empty.
author
Andreas Schneider
<asn@samba.org>
Thu, 20 Sep 2012 08:20:31 +0000
(10:20 +0200)
committer
Karolin Seeger
<kseeger@samba.org>
Fri, 12 Oct 2012 07:25:38 +0000
(09:25 +0200)
(cherry picked from commit
c80d70da1364349a5329d17a68033163c5025264
)
Signed-off-by: Andreas Schneider <asn@samba.org>
See bug #9112 - smbd.log is flooded by 'printer_list_get_printer: Failed to
fetch record!' for details.
source3/printing/printer_list.c
patch
|
blob
|
history
diff --git
a/source3/printing/printer_list.c
b/source3/printing/printer_list.c
index 6ddd774d4f3c20eae53b54f59542c0ee17a686b2..8f196a51599825a00bf87d36e02064cd2e949695 100644
(file)
--- 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;
}