Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Feb 2007 10:41:45 -0800 (PST)
From:      Grant Wagner <kithera@yahoo.com>
To:        'Vasile C' <v.cristescu@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   RE: Mounting a smb share from fstab
Message-ID:  <778052.96312.qm@web43119.mail.sp1.yahoo.com>

Next in thread | Raw E-Mail | Index | Archive | Help
-N was the correct option and worked like a charm. 
 
Thanks,
Grant


---------------------------------
From: Vasile C [mailto:v.cristescu@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@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@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@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To   unsubscribe, send any mail to "   freebsd-questions-unsubscribe@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@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.



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?778052.96312.qm>