The Samba-Bugzilla – Bug 2835
hosts allow entries without trailing periods
Last modified: 2005-09-29 05:02:17 UTC
In smb.conf, a line like the following causes unexpected behavior:
hosts allow = 192.168.0, 127.
Changing this to
hosts allow = 192.168.0., 127.
Without the trailing period, Samba evidently discards it. This leads Windows
clients to report that access to the domain was denied. smbclient reports
However, testparm doesn't flag it as an error. If an argument to hosts allow is
an incomplete IP address without a trailing period, can testparm be made to flag
it as an error?
Markign as LATER. Testparm currently makes no evaluation of the parameter
values. Only the parameter names.