The Samba-Bugzilla – Bug 10864
'testparm -v' does not show all per share parameters
Last modified: 2014-12-07 19:20:25 UTC
'testparm -v' does not show per share parameters which are set to their default values (not specified in smb.conf).
I would like to have this one fixed before the final release. It's not critical in the classical meaning, but a lot of people use the testparm output for scripts or before upgrading. And the effect is really confusing.
Andrew, what do you think?
Could someone please comment on this one?
Garming, can you have a look at this? I think this is a blocker for 4.2.0
Created attachment 10470 [details]
Cherry picked fix from master
This patch just moves the if-condition around the other default check for the default share. It simply matches the code for global parameter dumping.
Pushed to autobuild-v4-2-test.
Pushed to v4-2-test.
Closing out bug report.