From owner-freebsd-questions@FreeBSD.ORG Wed Dec 12 23:02:12 2012 Return-Path: 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 8ACA8C44 for ; Wed, 12 Dec 2012 23:02:12 +0000 (UTC) (envelope-from jerry@seibercom.net) Received: from mail-gg0-f182.google.com (mail-gg0-f182.google.com [209.85.161.182]) by mx1.freebsd.org (Postfix) with ESMTP id 1C72E8FC0A for ; Wed, 12 Dec 2012 23:02:11 +0000 (UTC) Received: by mail-gg0-f182.google.com with SMTP id e5so329965ggh.13 for ; Wed, 12 Dec 2012 15:02:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=seibercom.net; s=google; h=date:from:to:subject:message-id:in-reply-to:references:reply-to :organization:x-mailer:face:mime-version:content-type :content-transfer-encoding; bh=XCXuHQ/qP0AKxFnhKxq/XBZ8Qknbb520V/05z/87uhs=; b=LNHpRYVeTZ6Ibn/dBAY7o/ZIDc9L7Nt1ufNUYfcHWooWHEYsIT5Otio4G9MtIij1L3 DYM7tOiJzCrY8e4rCa8Qm0Fps+ObfRilrk8XrgPrfOqU11GVQcmxn+gWxJFpklsXf+x1 Owx3fGVREMvGwSu9DoCBURwDJNBNXf2figCJg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=date:from:to:subject:message-id:in-reply-to:references:reply-to :organization:x-mailer:face:mime-version:content-type :content-transfer-encoding:x-gm-message-state; bh=XCXuHQ/qP0AKxFnhKxq/XBZ8Qknbb520V/05z/87uhs=; b=TUoqFHHdmQjSyMX/BobS/uHPz+USmRISFtgaaqokh5xjSzmlQjVtIi8Wrzy7fOdLEP 9ptWoYcBer9eZIO2FqcAz7T3SDUBsROnCQoB6YYMG1mvNMq0DrFa8jcLCeg6/gkBCYCK GUdhhcbblX0oTrMobVLLXVDXKSOScDehjJts+LfH/XFmo5S+RFGBa8vshlKQjJTMP5vE Z8gvvxrmzhvYpmKNeQ6jIMa0IpQ/E1afsG3+8fnhA2TmwHqp3TCv0xmcf4Aj2/KFK25j HkJq4dDXKKj2LovWvrVztd+J3Mifu2REy5Rl5hm3Vqwjaadus8Oh8pL/VrfsqG/gE5Ts mViw== Received: by 10.236.125.133 with SMTP id z5mr4333549yhh.121.1355353331187; Wed, 12 Dec 2012 15:02:11 -0800 (PST) Received: from scorpio.seibercom.net (cpe-076-182-104-150.nc.res.rr.com. [76.182.104.150]) by mx.google.com with ESMTPS id g2sm36748750yhj.9.2012.12.12.15.02.09 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 12 Dec 2012 15:02:10 -0800 (PST) Received: from scorpio (localhost [127.0.0.1]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: jerry@scorpio.seibercom.net) by scorpio.seibercom.net (Postfix) with ESMTPSA id 3YMD741vSSz2CG4D for ; Wed, 12 Dec 2012 18:02:08 -0500 (EST) Date: Wed, 12 Dec 2012 18:02:07 -0500 From: Jerry To: FreeBSD Subject: Re: Mounting a samba share on boot? Message-ID: <20121212180207.4c98d9f6@scorpio> In-Reply-To: <1355315251.1943.YahooMailNeo@web165002.mail.bf1.yahoo.com> References: <20121211175759.310ec79f.freebsd@edvax.de> <1355263718.29274.YahooMailNeo@web165003.mail.bf1.yahoo.com> <20121212064053.6973d008.freebsd@edvax.de> <1355315251.1943.YahooMailNeo@web165002.mail.bf1.yahoo.com> Organization: seibercom.net X-Mailer: Claws Mail 3.8.1 (GTK+ 2.24.6; amd64-portbld-freebsd8.3) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAHlBMVEUAAABYRlwJCw4FAgAIBwKprDkBAQFQLR0BAgCir7VRttp8AAACAUlEQVQ4jZWUTYvbMBCGTVl8V2hX6Gg5G5FbWQdBj0lEfE7BhN4cyzi5Wt1E5L70roWy6N92xok/skkP+5IYrMcz78xIduDWpNM3vFzuA/jX5EY1AI6KHFwW/CzFuQAwqUBbV12p+CzIh6Awq7sg33pn5D64SQXAexffeuQlA/L35RrkaB551OjGfP/cAO8mCNaDcgvfky5ijoD0pAXlCQCnljiAjsJD9Ax05Ko5sZxbnLQcmM+dZg5IjREfZrWIHK0JuwU68pAGwHvfRxBundRzTxxz3r9dNUikPsEihjz2Dc4kjp1hKsJGuot4EDxaxzMoC7XqhxhOSfZrTS6gSX1JVdjp+o1PvWfekXgw3WL0g70nDEwA0H0HQsEZc8sTmFMTkWUfYWC/vdR1zQy3xLQgLwzu90QnlnFLjeiGWBjwhb4Sa42IqOg2qqS4O1/zhKokFUb1Q8Rj4Eb69WVflXEehJ35DgChVTE5n50eaGyMLOfH8AOodoSM4PVYAQgQdBulOa+knklYks3vAuQ+uX492lTl+A+e8qBV2AKoXalVKFfyuUp0pUp1ARaUHh82lv9MN+Ig7CZtgE6FNYvjlywT2VP2dMgOG46gTIWcqdfvuwyXNz0oMJNd/N5lh1YNiJt19ADTUo3VuFSNeQwVqRSrGjSCp53fk2g+Mvfk/gfoPxHeUS8MH9vRAAAAAElFTkSuQmCC Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Gm-Message-State: ALoCoQlurpILlFjyZbBrAhGYGhDP+/PDp4QHUrJwGTrmYJn36nvfVW5Z6YJklDVoC0gmx+0Ibe14 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: FreeBSD List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Dec 2012 23:02:12 -0000 On Wed, 12 Dec 2012 04:27:31 -0800 (PST) Bill Tillman articulated: > On Tue, 11 Dec 2012 14:08:38 -0800 (PST), Bill Tillman wrote: > > Typically, Samba is used so that Windows or other SMB type > > OS'es can access the server. That said, I would simplify all > > this with the way I have mine setup. You will of course need > > the shares configured in your smb.conf, then simply put a > > command in your /etc/rc.local or /etc/rc.d/ to launch smdb > > and nmbd. I don't rely on anything in /etc/fstab to use samba. > > It's all in my smb.conf file. > > Yes, that would be "the other way round", which I thought would > be less probable due to the question presented in the subject. > Terms like "mount [...] on boot" suggests that FreeBSD would act > as a SMB client here. Of course, the standard way to do things > like this would usually be something like NFS, which is not > very well supported in "Windows" land (and therefor requiring > SMB stuff). > > Delegating the configuration into _one_ file (instead of spreading > it across /etc/fstab, /etc/nsmb.conf and maybe some handcrafted > /usr/local/etc/rc.d script) sounds like a much better approach. NFS is available on Windows 7, it's just not installed by default. In order to activate the Client for NFS, go into the Control Panel, and go to "Programs and Features". In the left hand column, you'll see a link for "Turn Windows features on or off". Select that, and it will open a list box that shows all of the optional components built in to Windows 7. Some are already activated. Expand the entry for "Services for NFS". There are two check boxes under that. Check them and hit OK. Windows will install those components and ask to reboot your system. Once you have rebooted, Client for NFS will be installed. To use it, go to Administrative Tools->Services for NFS to configure it. Alternatively, you can use the command line program 'nfsadmin' to configure. For other versions of Windows, see: How to install Client for NFS on Windows: I have seen several setups with this sort of integration that worked just fine. -- Jerry ♔ Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the Reply-To header. __________________________________________________________________