[SCM] Samba Shared Repository - branch master updated

Andreas Schneider asn at samba.org
Tue Aug 28 08:39:02 MDT 2012


The branch, master has been updated
       via  ba862f4 s3-smbd: Fix flooding the logs with records we don't find in pcap.
      from  9e441c4 s3-classicupgrade: Fix import from ldap

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


- Log -----------------------------------------------------------------
commit ba862f47d78e0077d3e01dd84635b76850314436
Author: Andreas Schneider <asn at samba.org>
Date:   Tue Aug 28 14:17:22 2012 +0200

    s3-smbd: Fix flooding the logs with records we don't find in pcap.
    
    Autobuild-User(master): Andreas Schneider <asn at cryptomilk.org>
    Autobuild-Date(master): Tue Aug 28 16:38:55 CEST 2012 on sn-devel-104

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

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 e5d7102..3a8f5bb 100644
--- a/source3/smbd/server_reload.c
+++ b/source3/smbd/server_reload.c
@@ -98,7 +98,7 @@ void delete_and_reload_printers(struct tevent_context *ev,
 		pname = lp_printername(session_info, 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


More information about the samba-cvs mailing list