Samba3 + Jails in FreeBSD

Felipe Carlo felipe.cts1 at gmail.com
Fri Mar 20 21:22:51 PDT 2009


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 at gmail.com>

> On Fri, Mar 20, 2009 at 2:23 PM, Felipe Carlo <felipe.cts1 at gmail.com>
> wrote:
> > 2009/3/18 Scot Hetzel <swhetzel at gmail.com>
> >>
> >> On Wed, Mar 18, 2009 at 2:34 PM, Felipe Carlo <felipe.cts1 at 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


More information about the freebsd-ports mailing list