Date: Sun, 10 Aug 2003 19:26:49 +0100 (BST) From: Jan Grant <Jan.Grant@bristol.ac.uk> To: Brandon Fosdick <brandon.h.fosdick@lmco.com> Cc: stable@freebsd.org Subject: Re: More mount_smbfs Message-ID: <Pine.GSO.4.44.0308101924250.23851-100000@mail.ilrt.bris.ac.uk> In-Reply-To: <3F327D40.5000509@lmco.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 7 Aug 2003, Brandon Fosdick wrote: > 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. FWIW, I've been using mount_smbfs (from a separate startup script) since before it was a "part of" stable, with a /root/.nsmbrc file. If you're using that startup script, you ought to be aware that the HOME environment variable isn't set when mount_smbfs is invoked at boot, so it looks for /.nsmbrc rather than under /root/. -- jan grant, ILRT, University of Bristol. http://www.ilrt.bris.ac.uk/ Tel +44(0)117 9287088 Fax +44 (0)117 9287112 http://ioctl.org/jan/ stty intr ^m
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.4.44.0308101924250.23851-100000>
