#685349 samba-common-bin: testparm reports "log level = 2" when smb.conf has "log level = 1"

Package:
samba-common-bin
Source:
samba
Description:
Samba common files used by both the server and the client
Submitter:
Frank Chung
Date:
2022-03-31 16:45:02 UTC
Severity:
normal
Tags:
#685349#5
Date:
2012-08-20 05:02:31 UTC
From:
To:
Dear Maintainer,

After setting "log level = 1" in /etc/samba/smb.conf, the output of
"testparm -sv" erroneously reports "log level = 2".

This problem appears to affect testparm only; actual log level in force as
reported by "smbcontrol smbd debuglevel" is correct.

I have enclosed my smb.conf and "testparm -sv" output, with site-specific
usernames and host names edited out, just in case they may be useful.

Thanks and Regards,
Frank Chung

#685349#10
Date:
2021-05-14 19:51:53 UTC
From:
To:
We still overwrite the log level (due to internal handling), but now
overwrite it with 1, even if the smb.conf says log level = 2.

Andrew Bartlett