Date: Sat, 21 Mar 2009 01:22:49 -0300 From: Felipe Carlo <felipe.cts1@gmail.com> To: Scot Hetzel <swhetzel@gmail.com> Cc: ports@freebsd.org Subject: Re: Samba3 + Jails in FreeBSD Message-ID: <53bb3b9d0903202122j7da4d05aw13979eab85e3ff09@mail.gmail.com> In-Reply-To: <790a9fff0903201713x7137359cl49ac3c598fd3ebee@mail.gmail.com> References: <53bb3b9d0903181234h267ccb3ay21e50f7dc3a1fb0e@mail.gmail.com> <790a9fff0903181931g3e777b56r251307c6641ef7c7@mail.gmail.com> <53bb3b9d0903201223m75493a03p55307cd61b858b2b@mail.gmail.com> <790a9fff0903201713x7137359cl49ac3c598fd3ebee@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <swhetzel@gmail.com> > On Fri, Mar 20, 2009 at 2:23 PM, Felipe Carlo <felipe.cts1@gmail.com> > wrote: > > 2009/3/18 Scot Hetzel <swhetzel@gmail.com> > >> > >> On Wed, Mar 18, 2009 at 2:34 PM, Felipe Carlo <felipe.cts1@gmail.com> > >> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?53bb3b9d0903202122j7da4d05aw13979eab85e3ff09>