From owner-freebsd-questions@FreeBSD.ORG Tue Apr 1 10:03:10 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2991E37B40E for ; Tue, 1 Apr 2003 10:03:10 -0800 (PST) Received: from webserver2.rtl.org (rtl-3.i2k.com [63.94.12.207]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8D41043FBF for ; Tue, 1 Apr 2003 10:03:08 -0800 (PST) (envelope-from jstewart@rtl.org) Received: from [10.0.0.89] (rtl-2.i2k.com [63.94.12.206]) by webserver2.rtl.org (8.11.6/8.11.6) with ESMTP id h31I2jj14567 for ; Tue, 1 Apr 2003 13:02:45 -0500 From: Jason Stewart To: freebsd-questions@freebsd.org Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.8 (1.0.8-11) Date: 01 Apr 2003 13:04:02 -0500 Message-Id: <1049220242.1448.19.camel@mis3> Mime-Version: 1.0 Subject: Smbfs woes X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Apr 2003 18:03:10 -0000 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