From owner-freebsd-questions@FreeBSD.ORG Tue Feb 20 18:41:46 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3696416B243 for ; Tue, 20 Feb 2007 18:41:46 +0000 (UTC) (envelope-from kithera@yahoo.com) Received: from web43119.mail.sp1.yahoo.com (web43119.mail.sp1.yahoo.com [216.252.121.19]) by mx1.freebsd.org (Postfix) with SMTP id 228DC13C428 for ; Tue, 20 Feb 2007 18:41:46 +0000 (UTC) (envelope-from kithera@yahoo.com) Received: (qmail 98167 invoked by uid 60001); 20 Feb 2007 18:41:45 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:Date:From:Subject:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=jX2joSd5boMLx1oI5md6B6zELJz0yrfUQ8+cJDfC+ZkZPla3zGqwlM5Nl/h4BRlUuna/XvKMGW3jpuDI39iOuTiOnnkIeadTgvrEVZ/g1cvvqb3AJQoRfFIKOi0c9QRVKx3w2tWf1ixK6mhcP6KFvaLOLtRezuJ2SKuIE+Bs76U=; X-YMail-OSG: Xaz28R0VM1ko5g2ZZXNdLfVQZ2uOuhzbSyOV2XLkVnAthx0BdI7NPxOBCV_k_3g_AGHLnnsvHZKomM_ppHz7DSYcsyfyyrtOczGj2dGOJe99ksuu_W7r4mf5lxMDoORqGyjCLCvTBeMf7KAuW.xvnvSc Received: from [67.173.189.68] by web43119.mail.sp1.yahoo.com via HTTP; Tue, 20 Feb 2007 10:41:45 PST Date: Tue, 20 Feb 2007 10:41:45 -0800 (PST) From: Grant Wagner To: 'Vasile C' MIME-Version: 1.0 Message-ID: <778052.96312.qm@web43119.mail.sp1.yahoo.com> Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: RE: Mounting a smb share from fstab X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Feb 2007 18:41:46 -0000 -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 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.