From owner-freebsd-questions@FreeBSD.ORG Thu Jun 14 16:54:35 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 33B7E16A468 for ; Thu, 14 Jun 2007 16:54:35 +0000 (UTC) (envelope-from lreid@cs.okstate.edu) Received: from a.cs.okstate.edu (a.cs.okstate.edu [139.78.113.1]) by mx1.freebsd.org (Postfix) with ESMTP id 12CD113C455 for ; Thu, 14 Jun 2007 16:54:35 +0000 (UTC) (envelope-from lreid@cs.okstate.edu) Received: from [172.18.0.137] (sky_cpfw-1.tulsatech.org [70.168.226.130]) by a.cs.okstate.edu (Postfix) with ESMTP id 11E9FA062C; Thu, 14 Jun 2007 11:54:33 -0500 (CDT) Message-ID: <467172C8.4090009@cs.okstate.edu> Date: Thu, 14 Jun 2007 11:54:32 -0500 From: Reid Linnemann User-Agent: Thunderbird 2.0.0.0 (X11/20070517) MIME-Version: 1.0 To: Andrew Falanga References: <340a29540706140802g662c38cepae1b597f18ebc020@mail.gmail.com> <46716143.1020409@cs.okstate.edu> <467161B7.9060806@cs.okstate.edu> <340a29540706140907g2ea31624t29159c514049ed5c@mail.gmail.com> <46716E83.5020904@cs.okstate.edu> <340a29540706140951v58c6b039ve04089f9580718a7@mail.gmail.com> In-Reply-To: <340a29540706140951v58c6b039ve04089f9580718a7@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions Subject: Re: samba config problems 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: Thu, 14 Jun 2007 16:54:35 -0000 Written by Andrew Falanga on 06/14/07 11:51>> > On 6/14/07, Reid Linnemann wrote: >> >> Don't forget to cc: freebsd-questions@freebsd.org >> > > Once again I apologize to the forum. I keep forgetting to do this. > >> The rc script at /usr/local/etc/rc.d/samba follows the FreeBSD rcng >> scheme, if the rcvar 'samba_enable' is not set to 'yes', then the script >> will not start or stop the samba process. >> >> Run the script without any commands to see usage. To check the status of >> rcvars that control the script's behavior, run the script with the >> 'rcvar' argument; e.g. >> >> ~/> /usr/local/etc/rc.d/samba rcvar >> # samba >> $samba_enable=YES >> # nmbd >> $nmbd_enable=YES >> # smbd >> $smbd_enable=YES >> # winbindd >> $winbindd_enable=NO >> >> Note that nothign is stopping you from running smbd and nmbd manually, >> the rc control script simply automates the control of the daemon for you. >> > > Ah, thank you. Very enlightening. I guess I'll have to read through > that section of the Handbook to make sure I understand how all that > works together. I finally did get it working by starting the smbd > "manually." > > Thanks, > Andy Hint: take a look at the rc(8) manpage. There's a good section on the behavior of the /etc/rc.d scripts, which is being adopted by the rc scripts for many ports.