Date: Thu, 07 Aug 2003 09:24:32 -0700 From: Brandon Fosdick <brandon.h.fosdick@lmco.com> To: stable@freebsd.org, pir@pir.net Subject: Re: More mount_smbfs Message-ID: <3F327D40.5000509@lmco.com> In-Reply-To: <20030806224807.GA29258@pir.net> References: <3F313594.7030404@lmco.com> <20030806192442.GA49129@iclub.nsu.ru> <3F317A2D.1030106@lmco.com> <20030806224807.GA29258@pir.net>
next in thread | previous in thread | raw e-mail | index | archive | help
Peter Radcliffe wrote: > 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. No dice. The problem that I keep running into is that mount_smbfs never looks in any of the nsmb.conf files. If I use addr in nsmb.conf and don't specify -I it tells me it can't get the server address. If I use workgroup instead of -W I get an authentication error. -N also produces an authentication error. It only works if I put everything on the command line and give it the password manually. Plaintext vs scrambled password doesn't seem to make a difference.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3F327D40.5000509>