Bug 8408 - hosts allow doesn't deal with INADDR_ANY/in6addr_any properly
Summary: hosts allow doesn't deal with INADDR_ANY/in6addr_any properly
Status: NEW
Alias: None
Product: Samba 3.5
Classification: Unclassified
Component: Config Files (show other bugs)
Version: unspecified
Hardware: All All
: P5 normal
Target Milestone: ---
Assignee: Jeremy Allison
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-26 00:51 UTC by Enji Cooper
Modified: 2011-08-30 19:01 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 Enji Cooper 2011-08-26 00:51:40 UTC
If I enter in the following in smb.conf...

    hosts allow = 0.0.0.0

It rejects all requests instead of allowing all requests. This is an alias for * for IPV4 requests.

INADDR_ANY and in6addr_any need to be consistently permitted or rejected by testparm, et all.
Comment 1 Enji Cooper 2011-08-26 00:54:41 UTC
Forgot to add these key details..

%smbd --version
Version 3.5.11
%uname -a
FreeBSD X.Y.Z 8.2-STABLE-201105 FreeBSD 8.2-STABLE-201105 #0: Tue May 17 05:18:48 UTC 2011     root@mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64
Comment 2 Karolin Seeger 2011-08-30 19:01:55 UTC
Re-assigning to Jeremy.