Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Aug 2005 15:40:08 +0300
From:      Oles Hnatkevych <don_oles@able.com.ua>
To:        freebsd-questions@freebsd.org
Subject:   smbfs on 5.4 broken?
Message-ID:  <134107949328.20050809154008@able.com.ua>

next in thread | raw e-mail | index | archive | help
Hello, freebsd-questions.

The upgrade from FreeBSD 5.3-RELEASE to FreeBSD 5.4-STABLE breaks
something in smbfs. I have a windows network share, which is mounted
without problems from 4.11, 5.3 FreeBSD boxes, also works somehow from
Linux boxes. But after cvsup and kernel rebuild the ex-5.3 box, now
5.4-box can not connect the share no more. The mount command says:

smbfs: unable to open connection: syserr = Connection reset by peer

Yet I look it with tcpdump:

>>> NBT Packet
NBT Session Request
Flags=0x81000000
Destination=

>>> NBT Packet
NBT SessionReject
Flags=0x83000001
Reason=0x8F
Unspecified error 0x8F

And I notice that the 5.3-box and 4.11-box did it a bit differently:

>>> NBT Packet
NBT Session Request
Flags=0x81000044
Destination=

And I suppose that the difference in flags is very very important.

I even reproduced it under VMWare. I did a fresh minimal installation
with sources of 5.3-RELEASE, made changes to /etc/fstab and
/etc/nsmb.conf, and mounted the share. Then I cvsup-ed, did kernel
rebuild and the error reproduced.

Why smbfs is broken, and what should I do.

-- 
 Oles                          mailto:don_oles@able.com.ua




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?134107949328.20050809154008>