mount_smbfs 6.2-release and w2k3 standard r2
lists at jnielsen.net
Tue Jul 10 21:30:25 UTC 2007
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 at 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.
More information about the freebsd-questions