[Samba] Strange behavior when using 'hosts allow' parameter

Phil Quesinberry philq at qsystemsengineering.com
Sat Apr 20 09:06:28 MDT 2013


Hi Ricky,

Yes, if I add localhost and the hostname to 'hosts allow', it complains
about those in the log as well.  Changing from 10.0.0. to 10.0.0.0/24
appears to eliminate the only_ipaddrs_in_list errors related to that entry
and another machine on that subnet can still connect.  I've pasted in a few
of the localhost related log entries at the end of this message.

Interesting theory on smbd.

When you first log in you can see the root share but you can't seem to get
to it after that unless you navigate up one level from one of the shares in
Windows Explorer.  It's kind of bizarre, I'll have to see if I can
characterize that behavior a little better through experimentation.

- Phil


[2013/04/20 10:44:29,  3]
../source4/lib/socket/access.c:298(only_ipaddrs_in_list)
  only_ipaddrs_in_list: list has non-ip address (localhost)
[2013/04/20 10:44:29,  0]
../source4/lib/socket/access.c:356(socket_check_access)
  socket_check_access: Denied connection to 'smbd' from LOCAL/unixdom
(LOCAL/unixdom)
[2013/04/20 10:44:29,  3]
../source4/smbd/service_stream.c:63(stream_terminate_connection)
  Terminating connection - 'denied by access rules'
[2013/04/20 10:44:29,  3]
../source4/smbd/process_single.c:114(single_terminate)
  single_terminate: reason[denied by access rules]
[2013/04/20 10:44:29,  3]
../source4/lib/socket/access.c:298(only_ipaddrs_in_list)
  only_ipaddrs_in_list: list has non-ip address (localhost)
[2013/04/20 10:44:29,  0]
../source4/lib/socket/access.c:356(socket_check_access)
  socket_check_access: Denied connection to 'smbd' from LOCAL/unixdom
(LOCAL/unixdom)
[2013/04/20 10:44:29,  3]
../source4/smbd/service_stream.c:63(stream_terminate_connection)
  Terminating connection - 'denied by access rules'
[2013/04/20 10:44:29,  3]
../source4/smbd/process_single.c:114(single_terminate)
  single_terminate: reason[denied by access rules]




--
View this message in context: http://samba.2283325.n4.nabble.com/Strange-behavior-when-using-hosts-allow-parameter-tp4646968p4647070.html
Sent from the Samba - General mailing list archive at Nabble.com.


More information about the samba mailing list