[Samba] How to dump options being used when running?

Rowland penny rpenny at samba.org
Sat Aug 24 15:36:12 UTC 2019


On 24/08/2019 16:22, Zalth via samba wrote:
> Hoping some can help me with this. Rowland misthinks it. I'm looking for a commandline way to extract the config variables that are actually being used in a running instance. For example if I run testparm, it claims to offer a dump of "service definitions" in the smb.conf. But it is not complete when compared to smb.conf. Moreover, I can just read the smb.conf to get those.  I'd like to see the config extracted from a running instance, not from the smb.conf file.
>
>
>
No I don't, but if you really want to see your entire smb.conf (which 
will not help you), run 'testparm -v -s'

Then do what I asked you to do, post your smb.conf as on disk.

Rowland Penny

Samba Team member





More information about the samba mailing list