LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 06-26-2020, 08:59 PM   #1
AceStrider1
LQ Newbie
 
Registered: Sep 2012
Posts: 6

Rep: Reputation: Disabled
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
 
Old 06-27-2020, 03:28 PM   #2
gouttegd
Member
 
Registered: Nov 2019
Location: London, UK
Distribution: Slackware
Posts: 34

Rep: Reputation: 60
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.
 
Old 06-27-2020, 06:57 PM   #3
AceStrider1
LQ Newbie
 
Registered: Sep 2012
Posts: 6

Original Poster
Rep: Reputation: Disabled
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.
 
Old 06-27-2020, 08:29 PM   #4
AceStrider1
LQ Newbie
 
Registered: Sep 2012
Posts: 6

Original Poster
Rep: Reputation: Disabled
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Brightness function keys not working on Slackware64 & Slackware64 current Andersen Slackware 7 01-15-2018 04:27 AM
edit a file /etc/fstab , what parameters can be changebale and which parameters lenin99 Debian 7 01-24-2017 04:03 AM
upgrading slackware64 13.1 multilib to slackware64 -current multilib Cultist Slackware 4 03-12-2011 09:04 AM
Updating from Slackware64-current to Slackware64 13. glore2002 Slackware 4 08-28-2009 06:50 PM
How to share a ZFS file system between a global zone and a non global zone? crisostomo_enrico Solaris / OpenSolaris 7 11-28-2007 08:20 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 08:20 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration