More mount_smbfs

Brandon Fosdick brandon.h.fosdick at lmco.com
Thu Aug 7 09:33:18 PDT 2003


Peter Radcliffe wrote:
> With this in /etc/fstab;
> 
> //pir at 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.




More information about the freebsd-stable mailing list