From owner-freebsd-ports@FreeBSD.ORG Sat Mar 21 04:22:50 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 E53B5106566C for ; Sat, 21 Mar 2009 04:22:50 +0000 (UTC) (envelope-from felipe.cts1@gmail.com) Received: from qw-out-2122.google.com (qw-out-2122.google.com [74.125.92.25]) by mx1.freebsd.org (Postfix) with ESMTP id 920538FC0C for ; Sat, 21 Mar 2009 04:22:50 +0000 (UTC) (envelope-from felipe.cts1@gmail.com) Received: by qw-out-2122.google.com with SMTP id 9so648709qwb.7 for ; Fri, 20 Mar 2009 21:22:49 -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; bh=pUmfq95M0jGsmvTOsdBCpZfwD9knSej6YFdTaxmaTSY=; b=HrHT4/Z/1V0ErtjtN4S1gXm01FfX2KOqg7nkmw375iIkClLxR6JL94RonGzTTW+y9W M9ZSsnB0ss8JnPtZF/f6dMGKVO0clkMzgcIwtz3yY1o3SNtaB5hFFe24EwXZOoNx73B6 cOTCNljENs301bL7lMmGAwg29BDyU1AzySj1Y= 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; b=ccPWK9q78oyFocYVitb9XJLmq+3HpRyyCuaGOBJ5iQLYiOiySnYCDlOU7Jm5LV9Xz4 9njeAXbzS7s+xr1CG5PbAnv5Frb9D9ClxdejhEqLoGAX3SaXaoBeTejIhTGwzQRId1G9 4pwXHgvPdx3LNxezY0gKI4QK299SSsQLO3n00= MIME-Version: 1.0 Received: by 10.224.60.138 with SMTP id p10mr6653606qah.235.1237609369303; Fri, 20 Mar 2009 21:22:49 -0700 (PDT) In-Reply-To: <790a9fff0903201713x7137359cl49ac3c598fd3ebee@mail.gmail.com> References: <53bb3b9d0903181234h267ccb3ay21e50f7dc3a1fb0e@mail.gmail.com> <790a9fff0903181931g3e777b56r251307c6641ef7c7@mail.gmail.com> <53bb3b9d0903201223m75493a03p55307cd61b858b2b@mail.gmail.com> <790a9fff0903201713x7137359cl49ac3c598fd3ebee@mail.gmail.com> Date: Sat, 21 Mar 2009 01:22:49 -0300 Message-ID: <53bb3b9d0903202122j7da4d05aw13979eab85e3ff09@mail.gmail.com> From: Felipe Carlo To: Scot Hetzel Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 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 04:22:51 -0000 Hello, With this I have: # make -V SUB_LIST CUPS="@comment " WINBIND="" SAMBA_LOGDIR="/var/log/samba" SAMBA_LOCKDIR="/var/db/samba" SAMBA_CONFDIR="/usr/local/etc" SAMBA_CONFIG="smb.conf" SAMBA_RUNDIR="/var/run" SAMBA_SWATDIR="/usr/local/share/swat" SAMBA_SPOOL="/var/spool/samba" SAMBA_PRIVATEDIR="/usr/local/etc/samba" PREFIX=/usr/local LOCALBASE=/usr/local X11BASE=/usr/local DATADIR=/usr/local/share/samba DOCSDIR=/usr/local/share/doc/samba EXAMPLESDIR=/usr/local/share/examples/samba WWWDIR=/usr/local/www/samba ETCDIR=/usr/local/etc/samba RC_SUBR=/etc/rc.subr Best Regards, 2009/3/20 Scot Hetzel > 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 > -- Felipe Carlo Trepichio dos Santos