From owner-freebsd-questions@FreeBSD.ORG Tue Aug 9 12:40:11 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A04A016A41F for ; Tue, 9 Aug 2005 12:40:11 +0000 (GMT) (envelope-from don_oles@able.com.ua) Received: from able.com.ua (able.com.ua [80.91.162.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id 03DB443D45 for ; Tue, 9 Aug 2005 12:40:10 +0000 (GMT) (envelope-from don_oles@able.com.ua) Received: by able.com.ua (Postfix, from userid 1021) id 2A23344ACB; Tue, 9 Aug 2005 15:40:06 +0300 (EEST) Received: from ohnatkevych.kiev.ua.alfabank (unknown [80.91.172.226]) (using TLSv1 with cipher DES-CBC3-SHA (168/168 bits)) (No client certificate requested) by able.com.ua (Postfix) with ESMTP id E664B44AC7 for ; Tue, 9 Aug 2005 15:40:05 +0300 (EEST) Date: Tue, 9 Aug 2005 15:40:08 +0300 From: Oles Hnatkevych X-Mailer: The Bat! (v1.60) X-Priority: 3 (Normal) Message-ID: <134107949328.20050809154008@able.com.ua> To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: smbfs on 5.4 broken? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Oles Hnatkevych List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Aug 2005 12:40:11 -0000 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