From owner-freebsd-ports@FreeBSD.ORG Sat Mar 21 00:13:34 2009 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C2B101065670 for ; Sat, 21 Mar 2009 00:13:34 +0000 (UTC) (envelope-from swhetzel@gmail.com) Received: from yw-out-2324.google.com (yw-out-2324.google.com [74.125.46.30]) by mx1.freebsd.org (Postfix) with ESMTP id 6109E8FC28 for ; Sat, 21 Mar 2009 00:13:34 +0000 (UTC) (envelope-from swhetzel@gmail.com) Received: by yw-out-2324.google.com with SMTP id 5so788856ywh.13 for ; Fri, 20 Mar 2009 17:13:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=hsCaLV6xwX4gJzMtxHRdwj08vf2KvPPB5S2JQSejjbk=; b=JMV5XLGYhUs4BW3EKVWKAkkfp5TIEhN0SbaxaEz5aAm2Uw/zzp4ftdchqzgQkCEW+Z yzRisCn2RfnZSU1Dod2QDJvvGuopgzMpY02H3vyLDYrKCqUswSf7D+HAOc19eQXTUs6B Ep6VDhxQWY2HRB6NsX36dDtOctcLN1Viy2WWs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=Osv/e3bvaP2U1C6DDPegSd1xO3h+8zoB4nd8bzb+jRs7q9hSa+vK3vvomDHQguR1R+ 2pALRdvFKMbecIRzxeqxISLH8t5OEfVe/baIp12GmdLDXkfaqr08yxhNq4Ce3O5cmuqh jPuX3E/6KFZij5e71tv/dUhHJwclnK+jAtpbY= MIME-Version: 1.0 Received: by 10.220.76.1 with SMTP id a1mr2042777vck.101.1237594413295; Fri, 20 Mar 2009 17:13:33 -0700 (PDT) In-Reply-To: <53bb3b9d0903201223m75493a03p55307cd61b858b2b@mail.gmail.com> References: <53bb3b9d0903181234h267ccb3ay21e50f7dc3a1fb0e@mail.gmail.com> <790a9fff0903181931g3e777b56r251307c6641ef7c7@mail.gmail.com> <53bb3b9d0903201223m75493a03p55307cd61b858b2b@mail.gmail.com> Date: Fri, 20 Mar 2009 19:13:33 -0500 Message-ID: <790a9fff0903201713x7137359cl49ac3c598fd3ebee@mail.gmail.com> From: Scot Hetzel To: Felipe Carlo Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: ports@freebsd.org Subject: Re: Samba3 + Jails in FreeBSD X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 Mar 2009 00:13:35 -0000 On Fri, Mar 20, 2009 at 2:23 PM, Felipe Carlo wrote: > 2009/3/18 Scot Hetzel >> >> On Wed, Mar 18, 2009 at 2:34 PM, Felipe Carlo >> wrote: >> > Hello, >> > >> > I have one problem with Samba in a Jail. >> > >> > When I try to start the samba I have this message: >> > >> > # /usr/local/etc/rc.d/samba.sh start >> > %%WINBIND%%#: not found >> > %%WINBIND%%#winbindd_enable=YES: not found >> > .: Can't open %%RC_SUBR%%: No such file or directory >> > >> >> The %%WINBIND%% and %%RC_SUBR%% are supposed to be replaced with real >> values when the net/samba3 port is installed. >> >> How did you install the samba.sh file? >> > I made the instalation with ports (make, make install, make clean) and I > tested two version of Samba, the 3.0.x and the 3.3.x both japanese versions > and every these I had the same problem, the samba.sh file I moved to > /usr/local/etc/rc.d. Could be any wrong config in smb.conf ?? Because I > didnt make much changes in the smb.conf. You shouldn't needed to install the samba.sh file, as it gets installed by these ports as /usr/local/etc/rc.d/samba Try this, cd /usr/ports/net/samba3 make -V SUB_LIST It should show the value of the SUB_LIST variable and should have these values defined: .... RC_SUBR="/etc/rc.subr" WINBIND="" .... If you don't see these values, then your /usr/ports/Mk/bsd.ports.mk is either too old or broken. Scot