Re: Help with mount_smbfs

Patrick Welche <[email protected]>
Newsgroups gmane.os.netbsd.help
Message-ID <[email protected]>
On Mon, Feb 19, 2007 at 06:00:08PM +0100, Lubomir Sedlacik wrote:
> 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:
> > 
> > mount_smbfs: unable to open connection
> > mount_smbfs: mount error for /coyote: Socket is not connected
> > 
> > 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"

I thought I would try, and got kern/35787 which is a bit more exciting...

Cheers,

Patrick
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.