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. works. Without the trailing period, Samba evidently discards it. This leads Windows clients to report that access to the domain was denied. smbclient reports NT_ACCESS_ACCESS_DENIED. 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.