Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Jan 2005 15:04:28 +0100
From:      "Axel S. Gruner" <axel.gruner@suedfactoring.de>
To:        freebsd-questions@freebsd.org
Subject:   Problem with nsmb.conf and automount smb share
Message-ID:  <20050119140428.GB66110@pcs99.suedfac.com>

next in thread | raw e-mail | index | archive | help
Hi,

i have a problem using nsmb.conf for automomounting smb shares.

So, my /etc/nsmb.conf:
[default]
workgroup=QSUEDFAC 
#[SERVER]
addr=10.4.1.1
#[SERVER:qsecadm]
password=xxxxxxx

My /etc/fstab entry:
//qsecadm@QSUEDFAC/sfimages  /mnt1 smbfs  rw,noauto  0  0

So, if i do a "mount /mnt1" i will always be prompted to enter the
password. 
I also tried it with ~/.nsmbrc and the entries above for nsmb.conf, same
problem.

What could be the problem? I need the share be automounted via startup
without a password (i wrote a startup-script under /usr/local/etc/rc.d
which mounts /mnt1 on startup)?

Thanks in advance.

asg



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050119140428.GB66110>