Is there a way to unambiguously get the running config of a samba daemon?
I can't find any reference to it in the manual. Of course you run testparm, but that would only show the validity of the explicit configuration; I would also like to the see the implicit config which is loaded
/etc/samba/smb.conf
? That's samba's config file.testparm -v
should show the default settings as well.testparm -v
is enlightening, but still does not ask the running process for its running config. It's like asking for the current running firewall and you want me to look at e.g.,/etc/iptables.save
instead of invokingiptables -L
smb.conf
have been hot-reloaded, as Samba should. In fact this is the reason I found my way to this question.