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

Steve French smfrench at
Wed Dec 7 23:12:45 UTC 2016

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?



More information about the samba-technical mailing list