Bug 2835 - hosts allow entries without trailing periods
hosts allow entries without trailing periods
Product: Samba 3.0
Classification: Unclassified
Component: Config Files
All Linux
: P3 normal
: none
Assigned To: Samba Bugzilla Account
Samba QA Contact
Depends on:
  Show dependency treegraph
Reported: 2005-06-28 14:15 UTC by David Johnston
Modified: 2005-09-29 05:02 UTC (History)
0 users

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description David Johnston 2005-06-28 14:15:18 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?
Comment 1 Gerald (Jerry) Carter 2005-09-29 05:02:17 UTC
Markign as LATER.  Testparm currently makes no evaluation of the parameter
values.  Only the parameter names.