Bug 15070 - samba-tool testparm -s /other/smb.conf is broken with --section-name parameter
Summary: samba-tool testparm -s /other/smb.conf is broken with --section-name parameter
Status: NEW
Alias: None
Product: Samba 4.1 and newer
Classification: Unclassified
Component: Tools (show other bugs)
Version: 4.16.1
Hardware: All All
: P5 normal (vote)
Target Milestone: ---
Assignee: Samba QA Contact
QA Contact: Samba QA Contact
Depends on:
Reported: 2022-05-18 12:34 UTC by Björn Jacke
Modified: 2022-05-18 12:34 UTC (History)
0 users

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Björn Jacke 2022-05-18 12:34:40 UTC
running this command:

# samba-tool testparm --supress-prompt -s /root/some_other_smb.conf --section-name=global

will output:

ERROR: Unknown section global

Even though there is an ordinary global section present there. With out the "-s some_other_smb.conf" option this is working correctly.