Skip site navigation (1)Skip section navigation (2)
Date:      01 Apr 2003 13:04:02 -0500
From:      Jason Stewart <jstewart@rtl.org>
To:        freebsd-questions@freebsd.org
Subject:   Smbfs woes
Message-ID:  <1049220242.1448.19.camel@mis3>

next in thread | raw e-mail | index | archive | help
Greetings,

I have SMBFS compiled statically into the kernel. With the generic
kernel, I was able to resolve netbios names via broacasts. After I
installed my new kernel, I get a message like this: 

-------------------------------------------
mount_smbfs //mis3@rlm/mis ./tmpmnt

mount_smbfs: can't get server address: nberr = no interface to broadcast
on and no NBNS server speicified. The only way to get it working is to
specify the IP address with -I.
-------------------------------------------

I didn't have an /etc/nsmb.conf file set up, but as I said before, it
worked via broadcast with the generic kernel. I give up and set up an
/etc/nsmb.conf file (I know I really should have one in the first
place), and define workgroup and nbns in the config file. then I try my 
command again.

mount_smbfs: can't get server address: nberr = no such name. Hmmm... I
know that "rlm" exists because my windows and linux clients are
connecting to it with no problems. I might add that the server is
running samba with nmbd (It's acting as the WINS server).

Attempt Three:
define the server explicitly in /etc/nsmb.conf.
It finally works, although It should have worked before. Also, using a
default password does not seem to work, as the mount_smbfs always asks
me for my password no matter what is in the /etc/nsmb.conf file.


Questions:
Did I break something when I made a new kernel? Why can smbfs not find a
broadcast interface?

Thanks,
Jason Stewart



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