From owner-freebsd-questions@FreeBSD.ORG Tue Apr 16 19:53:51 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id C8955D80 for ; Tue, 16 Apr 2013 19:53:51 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) by mx1.freebsd.org (Postfix) with ESMTP id 8EF37134C for ; Tue, 16 Apr 2013 19:53:51 +0000 (UTC) Received: from r56.edvax.de (port-92-195-80-247.dynamic.qsc.de [92.195.80.247]) by mx02.qsc.de (Postfix) with ESMTP id 7FC8027A31; Tue, 16 Apr 2013 21:53:50 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id r3GJrxd0001977; Tue, 16 Apr 2013 21:53:59 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Tue, 16 Apr 2013 21:53:59 +0200 From: Polytropon To: Mehmet Erol Sanliturk Subject: Re: FreeBSD fstab Entry for Windows Share Message-Id: <20130416215359.166ac5b8.freebsd@edvax.de> In-Reply-To: References: <20130416101327.392a9d8f.freebsd@edvax.de> Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: FreeBSD Questions Mailing List X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Apr 2013 19:53:51 -0000 On Tue, 16 Apr 2013 02:28:33 -0700, Mehmet Erol Sanliturk wrote: > Your message has supplied important information . As I said, I did obtain it from a system that _has been working_ in that regards. :-) > When their equivalent values are entered , they worked : > > > "WINPC" : NetBIOS_NAME_in_Windows > workgroup : Work_Group_NAME_in_Windows > "Administrator" : user_name_in_Windows_Administrators > F$ : Share_Name_in_Windows > > > With the above values : > > /etc/nsmb.conf : > > ----------------------------- > > > [default] > Workgroup=Work_Group_NAME_in_Windows > > [NetBIOS_NAME_in_Windows] > addr=192.168.10.25 > > ----------------------------- > > The following values are NOT required ( they are not taken into > consideration ) : > > [WINPC:Administrator] > password=MYTOPSECRETPASSWORD > > During boot , the password is asked . If this case of interactivity at system startup is _not_ intended, the information (username, password) can be obtained from the /etc/nsmb.conf file. It's important to pay attention to the file permissions. > /etc/fstab : > > > ----------------------------- > > > //user_name_in_Windows_Administrators@NetBIOS_NAME_in_Windows/Share_Name_in_Windows > /mnt smbfs rw 0 0 You could possibly add the "late" option ("rw,auto,late") so in case of network problems, the boot process won't stop at the early stage ("fstab error"). -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...