Bug 7737 - testparm incorrectly says: Invalid character ? in hosts allow list
testparm incorrectly says: Invalid character ? in hosts allow list
Status: NEW
Product: Samba 3.3
Classification: Unclassified
Component: Config Files
3.3.2
x86 Linux
: P3 normal
: ---
Assigned To: John H Terpstra
Samba Documentation QA Contact~
:
Depends on:
Blocks:
  Show dependency treegraph
 
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?