Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Jul 2007 17:30:09 -0400
From:      John Nielsen <lists@jnielsen.net>
To:        freebsd-questions@freebsd.org
Cc:        "Philip M. Gollucci" <philip@riderway.com>
Subject:   Re: mount_smbfs 6.2-release and w2k3 standard r2
Message-ID:  <200707101730.10755.lists@jnielsen.net>
In-Reply-To: <200707101720.17811.lists@jnielsen.net>
References:  <4693C52D.2050109@riderway.com> <200707101720.17811.lists@jnielsen.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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



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