Bug 7737 - testparm incorrectly says: Invalid character ? in hosts allow list
Summary: testparm incorrectly says: Invalid character ? in hosts allow list
Status: NEW
Alias: None
Product: Samba 3.3
Classification: Unclassified
Component: Config Files (show other bugs)
Version: 3.3.2
Hardware: x86 Linux
: P3 normal
Target Milestone: ---
Assignee: John H Terpstra (mail address dead(
QA Contact: Samba Documentation QA Contact~
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-18 07:03 UTC by Klaus Hartnegg
Modified: 2010-10-18 07:11 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Klaus Hartnegg 2010-10-18 07:03:12 UTC
According to the manpage of hosts_access (smb.conf refers to that), it is allowed to use wildcards ? and * in IP addresses in the option "allow hosts".
Also my tests show that it actually works.
But testparm says they are invalid.
Comment 1 Klaus Hartnegg 2010-10-18 07:11:43 UTC
sample config line:
allow hosts = 192.168.1.169, 192.168.1.17?, 192.168.1.18?