Win2k -> Samba 2.2.2 for IRIX

Jeremy Allison jra at samba.org
Thu Dec 20 09:44:03 GMT 2001


On Thu, Dec 20, 2001 at 09:52:56AM -0600, Carrie Knox wrote:
> Jeremy Allison wrote:
> 
> > >
> > > I decided to try using something other than the default
> > > netbios name (dns name) in my smb.conf file and low and
> > > behold the Win2k systems have  no problems connecting to the
> > > share as long as the netbios name is different than the dns
> > > hostname.
> > >
> > > Does anyone have experience with this Win2k -> Samba
> > > behavior?
> > > Thanks,
> >
> > write_socket_data: write failure. Error = Broken pipe
> > means the client has dropped the connection. Use tcpdump
> > or some other TCP analysis tool to determine who sends the
> > RST or FIN packet (and maybe why). This is at a layer below
> > Samba. It may be an incompatibility at the TCP layer, although
> > this is unlikely. But remember SMB traffic can stress TCP
> > a lot - it transfers a lot more data and is a lot longer
> > lived than the typical http request.
> >
> > Jeremy.
> 
> Hello,
> 
> Any ideas as to why the dropped connection only occurs when the Samba
> netbios name matches the Samba server's dns name?

No. That's completely crazy :-). tcp packet dumps are your
friend here. Find out which side is sending the RST or FIN
packet. If it's the Samba side then there may be a problem
in Samba (look for panic or core dump message). I doubt it
though as we're reporting the socket fail.

Jeremy.




More information about the samba mailing list