Bug 13490 - testparm should check for invalid vfs objects
testparm should check for invalid vfs objects
Status: NEW
Product: Samba 4.1 and newer
Classification: Unclassified
Component: Tools
4.8.2
All All
: P5 enhancement
: ---
Assigned To: Andrew Bartlett
Samba QA Contact
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2018-06-27 13:02 UTC by Andreas Hasenack
Modified: 2018-08-28 22:25 UTC (History)
1 user (show)

See Also:


Attachments
testparm issues warning on wrong vfs object names (1.65 KB, patch)
2018-08-20 09:53 UTC, amitkuma
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Hasenack 2018-06-27 13:02:41 UTC
Hi,

it would be helpful if testparm(1) could also check for invalid vfs objects listed in the configuration file.

As it is now, smbd will start just fine with anything listed after "vfs objects", and only actually check those names once the share is accessed. Which is fine, as it allows for a dynamic configuration, but testparm could have caught a spelling mistake much sooner.
Comment 1 amitkuma 2018-08-20 09:53:59 UTC
Created attachment 14439 [details]
testparm issues warning on wrong vfs object names