From owner-freebsd-questions@FreeBSD.ORG Tue Jul 10 21:30:25 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id ACD5616A421 for ; Tue, 10 Jul 2007 21:30:25 +0000 (UTC) (envelope-from lists@jnielsen.net) Received: from ns1.jnielsen.net (ns1.jnielsen.net [69.55.238.237]) by mx1.freebsd.org (Postfix) with ESMTP id 9003113C4C3 for ; Tue, 10 Jul 2007 21:30:25 +0000 (UTC) (envelope-from lists@jnielsen.net) Received: from localhost (jn@ns1 [69.55.238.237]) (authenticated bits=0) by ns1.jnielsen.net (8.12.9p2/8.12.9) with ESMTP id l6ALUOpT060943; Tue, 10 Jul 2007 17:30:25 -0400 (EDT) (envelope-from lists@jnielsen.net) From: John Nielsen To: freebsd-questions@freebsd.org Date: Tue, 10 Jul 2007 17:30:09 -0400 User-Agent: KMail/1.9.7 References: <4693C52D.2050109@riderway.com> <200707101720.17811.lists@jnielsen.net> In-Reply-To: <200707101720.17811.lists@jnielsen.net> X-Face: #X5#Y*q>F:]zT!DegL3z5Xo'^MN[$8k\[4^3rN~wm=s=Uw(sW}R?3b^*f1Wu*.<=?utf-8?q?of=5F4NrS=0A=09P*M/9CpxDo!D6?=)IY1w<9B1jB; tBQf[RU-R<,I)e"$q7N7 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200707101730.10755.lists@jnielsen.net> X-Virus-Scanned: ClamAV version 0.88.4, clamav-milter version 0.88.4 on ns1.jnielsen.net X-Virus-Status: Clean Cc: "Philip M. Gollucci" Subject: Re: mount_smbfs 6.2-release and w2k3 standard r2 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Jul 2007 21:30:25 -0000 On Tuesday 10 July 2007, John Nielsen wrote: > On Tuesday 10 July 2007, Philip M. Gollucci wrote: > > Hi, I've done lots of googling and I get lots of solutions, but they > > don't work. > > > > I can smbclient to this share just fine: > > magneto# smbclient -U pgollucci \\\\glactus\\unix > > Password: > > Domain=[RIDERWAY] OS=[Windows Server 2003 3790 Service Pack 2] > > Server=[Windows Server 2003 5.2] > > smb: \> ls > > . D 0 Fri Jul 6 20:13:59 > > 2007 .. D 0 Fri Jul 6 > > 20:13:59 2007 > > > > 55750 blocks of size 8388608. 55498 blocks available > > BUT > > BUT > > > > mount_smbfs -W Riderway -I A.B.C.D //pgollucci@GLACTUS/unix > > /x1/backups-cdp Password: > > mount_smbfs: unable to open connection: syserr = Connection refused > > > > The share is valid, I can even write to it via smbclient. > > > > Does any one have any great ideas ? I've tried with and with -I, -W and > > replacing HOST with ip out-right. > > IIRC, Win2k3 only uses port 445 for smb/cifs by default, and our > mount_smbfs can only use 139 (or thereabouts :) ). It would be nice if > mount_smbfs were updated to work more easily with newer versions of > Windows, but in the meantime it should be possible to tell the Windows > server to also accept connections on the old port. Exactly how I don't > remember ATM, but I've done it before. I hate not remembering things, so I just verified this on a Windows Server 2003 box I have access to. This feature (listening on port 139) is tied to NETBIOS over TCP/IP. Make sure it's enabled on the WINS tab of the Advanced TCP/IP settings dialog for the interface. JN