smbfs on 5.4 broken?

Oles Hnatkevych don_oles at able.com.ua
Tue Aug 9 12:40:11 GMT 2005


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 at able.com.ua



More information about the freebsd-questions mailing list