Mounting a smb share from fstab
Grant Wagner
kithera at yahoo.com
Tue Feb 20 18:41:46 UTC 2007
-N was the correct option and worked like a charm.
Thanks,
Grant
---------------------------------
From: Vasile C [mailto:v.cristescu at gmail.com]
Sent: Tuesday, February 20, 2007 12:31 PM
To: Grant Wagner
Subject: Re: Mounting a smb share from fstab
On 2/20/07, Grant Wagner <kithera at yahoo.com > wrote:
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
_______________________________________________
freebsd-questions at freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to " freebsd-questions-unsubscribe at freebsd.org"
Hello,
I did this a few years ago and I remember there was some flag in fstab , I`m not sure but it was something like :
//guest at server/DataHeap /mnt/server smbfs rw,-N 0 0
Hope it helps.
--
If UNIX doesn't have the solution you have the wrong problem.
UNIX is simple, but it takes a genius to understand it's simplicity.
Regards ,
Vasile C
---------------------------------
8:00? 8:25? 8:40? Find a flick in no time
with theYahoo! Search movie showtime shortcut.
More information about the freebsd-questions
mailing list