Mounting a smb share from fstab

Grant Wagner kithera at yahoo.com
Tue Feb 20 17:40:22 UTC 2007


 
Hi Folks,

  I'm attempting to mount a guest smb share on my server at boot up.
I've
set up a .nsmbrc file which will get me past a password login if I
try to
mount it after a log in, and I've added the following line to my
fstab file.

//guest at server/DataHeap /mnt/server smbfs rw 0 0

Now, since my .nsmbrc file is in my home directory, it's clearly not
read
during boot up and the whole process pauses waiting for me to input
an empty
password.

Can I somehow add a flag to fstab to tell it it's only a guest
account and
thus doesn't need a password or perhaps move the .nsmbfs file
somewhere
where it's picked up at boot time? Any ideas?

Grant



 
____________________________________________________________________________________
Do you Yahoo!?
Everyone is raving about the all-new Yahoo! Mail beta.
http://new.mail.yahoo.com


More information about the freebsd-questions mailing list