LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Samba 4.12.3 on Slackware64 Current and Global Parameters (https://www.linuxquestions.org/questions/slackware-14/samba-4-12-3-on-slackware64-current-and-global-parameters-4175677709/)

AceStrider1 06-26-2020 08:59 PM

Samba 4.12.3 on Slackware64 Current and Global Parameters
 
Could anyone running Slackware Current with Samba 4.12.3 confirm if some of the global parameters inside /etc/samba/smb.conf are being ignored?

In particular:

log level
max log size
log file

seem to be ignored and the default is used:

log level = 1
max log size = 50
log file = /var/log/samba/samba.%m

I ran "testparm -v" to see what is being used.

Other parameters such as:

server string
server min protocol

seem to have the values assigned from smb.conf


Originally I was trying to see why something else is not working. This made me want to create a more verbose log file.


Kindest Regards,
Adan Calderon

gouttegd 06-27-2020 03:28 PM

Everything seem fine here
 
I am running -current as it was on 2020-06-08 with samba-4.12.3. Everything looks fine here, testparm gives me back the values I configured in smb.conf, and looking at the log file, its filename and size correspond to what I assigned to log file and max log size.

AceStrider1 06-27-2020 06:57 PM

Thanks for checking.

I noticed I needed to "comment out" duplicates for "log file" and "max log size". It's my fault for messing with this late at night and not noticing it.

The one parameter I can not seem to tweak right now is log level.

I am trying to do a log level = 10

but it still defaults to log level = 1.

In fact testparm does not even show log level at all, I have to add the -v switch. Then I notice it is still one.

AceStrider1 06-27-2020 08:29 PM

Well, regardless of what testparm -v shows, It seems I am producing a log level 10 file. I notice there is also a logging= parameter, but I not sure what goes there. testparm -v seems to say it's blank, but now I am not certain how much to trust it.


All times are GMT -5. The time now is 07:03 PM.