Subject: Re: Help with mount_smbfs
To: Andy Ruhl <acruhl@gmail.com>
From: Lubomir Sedlacik <salo@Xtrmntr.org>
List: netbsd-help
Date: 02/19/2007 18:00:08
--Rex5+51txc1ort/q
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
On Mon, Feb 19, 2007 at 09:08:56AM -0700, Andy Ruhl wrote:
> I'll bump this one, hoping that someone sees it. No matter what I do,
> including following examples in the man page, I get this:
>=20
> mount_smbfs: unable to open connection
> mount_smbfs: mount error for /coyote: Socket is not connected
>=20
> Hopefully someone knows the right syntax...
have you checked the logs on the server?
istr having similar issue with smb mounts off a samba servers (running
on Debian/i386 and NetBSD/sparc64) with NetBSD/i386. the same share
could be mounted from a NetBSD/sparc64 machine just fine.
i can't test right now but i found the logs:
[2005/08/14 21:44:25, 0] libsmb/nmblib.c:name_len(1337)
PANIC: assert failed at libsmb/nmblib.c(1337)
[2005/08/14 21:44:25, 0] smbd/reply.c:reply_special(230)
Invalid name length in session request
i remember capturing the TCP stream with tcpdump or ethereal and seeing
something odd. even when i now capture a successful mount from a
Windows 2003 Server, wireshark reports:
"Calling name: Illegal NetBIOS name (1st character not between A and Z
in first-level encoding)"
and there are definitely more bugs lurking in netsmb. e.g., every time
i mount a network share, i get this message from mount_smb(8):
"a bug somewhere in the nb_name* code"
regards,
--=20
-- Lubomir Sedlacik <salo@{NetBSD,Xtrmntr,silcnet}.org> --
--Rex5+51txc1ort/q
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (NetBSD)
iD8DBQFF2deYiwjDDlS8cmMRAr5sAJ9R8dCu8OcS6OASv53+E3LuyByvSQCffnks
jbwdd8GNWNPNcHgiHMQ+jBs=
=VZcw
-----END PGP SIGNATURE-----
--Rex5+51txc1ort/q--