Date: Wed, 6 Aug 2003 18:48:07 -0400 From: Peter Radcliffe <pir@pir.net> To: stable@freebsd.org Subject: Re: More mount_smbfs Message-ID: <20030806224807.GA29258@pir.net> In-Reply-To: <3F317A2D.1030106@lmco.com> References: <3F313594.7030404@lmco.com> <20030806192442.GA49129@iclub.nsu.ru> <3F317A2D.1030106@lmco.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Brandon Fosdick <brandon.h.fosdick@lmco.com> 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=<secret> > > 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=<secret> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030806224807.GA29258>