[SCM] Samba Shared Repository - branch master updated

Jeremy Allison jra at samba.org
Wed Feb 9 20:21:02 UTC 2022


The branch, master has been updated
       via  cd06574b528 s3:winbind: Reduce the level and improve a couple of debug messages
      from  3ee690455eb s3/libads: ensure a sockaddr variable is correctly zero initialized

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


- Log -----------------------------------------------------------------
commit cd06574b52879b710f0db093b0fe015f8c00e517
Author: Samuel Cabrero <scabrero at samba.org>
Date:   Tue Feb 8 10:06:18 2022 +0100

    s3:winbind: Reduce the level and improve a couple of debug messages
    
    The commit 1d5c546 changed the debug message printed when setting
    winbind to offline state and offline logons are disabled from
    level 10 to level 0. This message isn't really an error and might
    scare some users, e.g. https://bugzilla.suse.com/show_bug.cgi?id=1195573
    
    Signed-off-by: Samuel Cabrero <scabrero at samba.org>
    Reviewed-by: Jeremy Allison <jra at samba.org>
    
    Autobuild-User(master): Jeremy Allison <jra at samba.org>
    Autobuild-Date(master): Wed Feb  9 20:20:36 UTC 2022 on sn-devel-184

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

Summary of changes:
 source3/winbindd/winbindd_cache.c | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source3/winbindd/winbindd_cache.c b/source3/winbindd/winbindd_cache.c
index 01bf94855c0..631b3277164 100644
--- a/source3/winbindd/winbindd_cache.c
+++ b/source3/winbindd/winbindd_cache.c
@@ -3438,7 +3438,8 @@ bool set_global_winbindd_state_offline(void)
 	}
 
 	if (!lp_winbind_offline_logon()) {
-		DBG_ERR("Rejecting to set winbind offline\n");
+		DBG_DEBUG("Rejecting request to set winbind offline, "
+			"offline logons are disabled in smb.conf\n");
 		return false;
 	}
 
@@ -3466,7 +3467,8 @@ void set_global_winbindd_state_online(void)
 	DEBUG(10,("set_global_winbindd_state_online: online requested.\n"));
 
 	if (!lp_winbind_offline_logon()) {
-		DEBUG(10,("set_global_winbindd_state_online: rejecting.\n"));
+		DBG_DEBUG("Rejecting request to set winbind online, "
+			"offline logons are disabled in smb.conf.\n");
 		return;
 	}
 


-- 
Samba Shared Repository



More information about the samba-cvs mailing list