Problem with nsmb.conf and automount smb share

Axel S. Gruner axel.gruner at suedfactoring.de
Wed Jan 19 06:07:20 PST 2005


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 at 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


More information about the freebsd-questions mailing list