Date: Mon, 9 Feb 2004 15:45:42 +0200 From: Ion-Mihai Tetcu <itetcu@apropo.ro> To: vext01 <freebsd@arameus.net>, questions@freebsd.org Subject: Re: mount a smb filesystem Message-ID: <20040209154542.146e844d@it.buh.cameradicommercio.ro> In-Reply-To: <200402091318.i19DIEc23594@server1.web-mania.com> References: <20040207184946.0652058c@it.buh.cameradicommercio.ro> <200402091318.i19DIEc23594@server1.web-mania.com>
next in thread | previous in thread | raw e-mail | index | archive | help
[ cc'ed back to questions ]
On Mon, 9 Feb 2004 13:18:14 GMT
vext01 <freebsd@arameus.net> wrote:
>
> i has this problem.
> You must use /etc/nsmb.conf
>
> See the man page!
Thanks.
> >However, if I have the password in /root/.nsmbrc, the mount /vol/fnan/d
> >doesn't promt for password. So it seems that entries in
> >/usr/local/etc/nsmb.conf aren't used as defaults, but only overrides the
> >entries in ~/.nsmbrc.
MOUNT_SMBFS(8)
-N Do not ask for a password. At run time, mount_smbfs reads the
~/.nsmbrc file for additional configuration parameters and a
password. If no password is found, mount_smbfs prompts for it.
FILES
~/.nsmbrc Keeps static parameters for connections and other information.
See /usr/share/examples/smbfs/dot.nsmbrc for details.
Well, from /usr/share/examples/smbfs/dot.nsmbrc :
# smbfs lookups configuration files in next order:
# 1. ~/.nsmbrc
# 2. /usr/local/etc/nsmb.conf - if this file found it will
# override values with same keys from user files.
But indeed from NSMB.CONF(5):
FILES
/etc/nsmb.conf The default remote mount-point configuration file.
So I guess this is left over from the times when mount_smbfs was not in
the base system. I'm curious what file it use if one uses samba.
--
IOnut
Unregistered ;) FreeBSD user
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040209154542.146e844d>
