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:
2d1bf06
)
s3-smbd: Fix flooding the logs with records we don't find in pcap.
author
Andreas Schneider
<asn@samba.org>
Tue, 28 Aug 2012 12:17:22 +0000
(14:17 +0200)
committer
Karolin Seeger
<kseeger@samba.org>
Thu, 30 Aug 2012 07:28:26 +0000
(09:28 +0200)
Signed-off-by: Andreas Schneider <asn@samba.org>
Fix bug #9112 - smbd.log is flooded by 'printer_list_get_printer: Failed to
fetch record!'.
source3/smbd/server_reload.c
patch
|
blob
|
history
diff --git
a/source3/smbd/server_reload.c
b/source3/smbd/server_reload.c
index fd6dc1a59bfe1ffa1dd59ac9f01bad3ae00bc60f..b88d994d03cda1b0575fd39c60c6b89990ba1f8f 100644
(file)
--- a/
source3/smbd/server_reload.c
+++ b/
source3/smbd/server_reload.c
@@
-80,7
+80,7
@@
void reload_printers(struct tevent_context *ev,
pname = lp_printername(snum);
/* check printer, but avoid removing non-autoloaded printers */
- if (
!pcap_printername_ok(pname) && lp_autoloaded(snum
)) {
+ if (
lp_autoloaded(snum) && !pcap_printername_ok(pname
)) {
DEBUG(3, ("removing stale printer %s\n", pname));
if (is_printer_published(session_info, session_info,