Bug 13490 - testparm should check for invalid vfs objects
Summary: testparm should check for invalid vfs objects
Status: NEW
Alias: None
Product: Samba 4.1 and newer
Classification: Unclassified
Component: Tools (show other bugs)
Version: 4.8.2
Hardware: All All
: P5 enhancement (vote)
Target Milestone: ---
Assignee: Andrew Bartlett
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
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, Amit Kumar
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 Amit Kumar 2018-08-20 09:53:59 UTC
Created attachment 14439 [details]
testparm issues warning on wrong vfs object names