Re: Bringing up interface causes smbd to become unresponsive on that subnet

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>From a windows client I get "network path not found" as soon interface is
brought up, by either host name or ip address, but only on computers on the
same subnet as that interface.  The log (finally) tells a story I can't
find a solution to:

May  1 06:16:41 nt-filer01 smbd[15036]: [2012/05/01 06:16:41.456860,  0]
lib/util_sock.c:1441(get_peer_addr_internal)
May  1 06:16:41 nt-filer01 smbd[15036]:   getpeername failed. Error was
Transport endpoint is not connected
May  1 06:16:41 nt-filer01 smbd[15036]:   read_fd_with_timeout: client
0.0.0.0 read error = Connection reset by peer.
May  1 06:16:43 nt-filer01 smbd[19573]: [2012/05/01 06:16:43.169215,  0]
lib/util_sock.c:474(read_fd_with_timeout)

As soon as I take the interface down, all is normal.

Thanks for your help,

-- 
Tony

On Mon, Apr 30, 2012 at 11:04 PM, Jeremy Allison <jra@xxxxxxxxx> wrote:

> On Mon, Apr 30, 2012 at 05:12:18PM -0400, Tony Markel wrote:
> > This is a strange problem I can't seem to wrap my head around.
> >
> > I have a server with 2 interfaces.  Samba is serving happily on one, and
> > will remain on a single interface (eth0,  subnet A(/22), vlan 101).  I
> wish
> > to bring up a second interface (eth1, subnet B(/24), vlan 102) that will
> be
> > serving up nfs and ssh traffic only.  Currently, Samba will process
> > requests from any computer on the public internet.
> >
> > Now, before I bring up the second interface on subnet B, I modify my
> > smb.conf to bind to eth0, and I speficy the netmasks of subnet A and B.
> >
> > The problem is this:
> > When I bring up eth1, subnet B cannot access the service.  When I take it
> > down, normal service resumes.
>
> What does "cannot access the service" mean ? How exactly does it fail ?
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


[Index of Archives]     [Info Cyrus]     [LARTC]     [Bugtraq]     [Netfilter]     [RAID]     [Trinity TED Users]     [Yosemite News]
  Powered by Linux