The branch, v3-6-test has been updated
       via  4f4a972 s3-smbd: Fix flooding the logs with records we don't find 
in pcap.
      from  2d1bf06 Bug #9058] Files not deleted, smbstatus shows "Segmentation 
fault".

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


- Log -----------------------------------------------------------------
commit 4f4a972e277859a63b60a9bbaff094e00338aba9
Author: Andreas Schneider <[email protected]>
Date:   Tue Aug 28 14:17:22 2012 +0200

    s3-smbd: Fix flooding the logs with records we don't find in pcap.
    
    Signed-off-by: Andreas Schneider <[email protected]>
    
    Fix bug #9112 - smbd.log is flooded by 'printer_list_get_printer: Failed to
    fetch record!'.

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

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


Changeset truncated at 500 lines:

diff --git a/source3/smbd/server_reload.c b/source3/smbd/server_reload.c
index fd6dc1a..b88d994 100644
--- 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,


-- 
Samba Shared Repository

Reply via email to