From owner-freebsd-stable@FreeBSD.ORG Wed Aug 6 15:48:10 2003 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id ADC9537B401 for ; Wed, 6 Aug 2003 15:48:10 -0700 (PDT) Received: from moek.pir.net (moek.pir.net [130.64.1.215]) by mx1.FreeBSD.org (Postfix) with ESMTP id 17E2243FA3 for ; Wed, 6 Aug 2003 15:48:08 -0700 (PDT) (envelope-from pir@pir.net) Received: from pir by moek.pir.net with local (Exim) id 19kX4h-0004DX-00 for stable@freebsd.org; Wed, 06 Aug 2003 18:48:07 -0400 Date: Wed, 6 Aug 2003 18:48:07 -0400 From: Peter Radcliffe To: stable@freebsd.org Message-ID: <20030806224807.GA29258@pir.net> Mail-Followup-To: stable@freebsd.org References: <3F313594.7030404@lmco.com> <20030806192442.GA49129@iclub.nsu.ru> <3F317A2D.1030106@lmco.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3F317A2D.1030106@lmco.com> User-Agent: Mutt/1.4.1i X-fish: < X-Copy-On-Listmail: Please do NOT Cc: me on list mail. Subject: Re: More mount_smbfs X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: stable@freebsd.org List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Aug 2003 22:48:11 -0000 Brandon Fosdick probably said: > I can get everything to work expect for the password part. With this in > /etc/fstab > > //bfosdick@129.197.36.34/net-11 /sp/net-11 smbfs rw 0 0 > > and this in /etc/nsmb.conf > > [129.197.36.34] > addr=129.197.36.34 > workgroup=acct01 > password= > > If I do 'mount /sp/net-11' it asks me for my password instead of looking > in the config file. With this in /etc/fstab; //pir@rock/pir/ /mount/point smbfs rw,noauto,nodev,nosuid,-N,-I=rock.domain 0 0 and this in /etc/nsmb.conf; [ROCK:PIR] password= it works fine for me. I use /usr/local/etc/rc.d/smbfs.sh to do the actual mounting which might not be needed anymore. The thing in the square brackets should be the server name and username. P. -- pir pir-sig@pir.net pir-sig@net.tufts.edu