How to view the effective smb.conf when using mixed registry config

Christof Schmitt cs at samba.org
Wed Dec 7 23:33:28 UTC 2016


On Wed, Dec 07, 2016 at 05:12:45PM -0600, Steve French wrote:
> It is a little confusing trying to figure out the "real" values that will
> be loaded by smbd (or any Samba utilities) since when "include=registry" is
> used (or even when include of a text file from smb.conf is used), the
> "real" values are presumably
> 
> 1) everything in smb.conf upto the include line, unless the registry (net
> conf) overwrites the same keyword (in which case that line is a no op)
> 2) everything from the registry ("net conf")
> 3) everything after the "include" line in smb.conf
> 
> Is there a tool that dumps the "real" Samba configuration values - ie what
> the final configuration looks like?

testparm?

Christof



More information about the samba-technical mailing list