Samba3 + Jails in FreeBSD

Felipe Carlo felipe.cts1 at gmail.com
Fri Mar 20 23:31:47 PDT 2009


Hello Scot,

Thank you very much .... now it works !!!

I tried all day and now with your help I had the solution!!!

Thanks again!!

Best Regards,

2009/3/21 Scot Hetzel <swhetzel at gmail.com>

> On Fri, Mar 20, 2009 at 11:22 PM, Felipe Carlo <felipe.cts1 at gmail.com>
> wrote:
> > 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
> >
> That looks normal.
>
> Try:
>
> cd /usr/ports/net/samba3
> make clean
> make patch
> make apply-slist
>
> This will create the rc.d/samba file as work/samba.  If you look at
> this file it should have %%RC_SUBR%%, and %%WINDBIND%% replaced with
> the above values.
>
> This is the file that should have been installed during 'make
> install', by the install-rc-script target in bsd.port.mk.
>
> Try:
>
> make install-rc-script
>
> you should see:
>
> ===> Installing rc.d startup script(s)
>
> And the work/samba file should be installed to
> ${PREFIX}/etc/rc.d/samba.  If you don't see the above message, check
> your /etc/make.conf and the ports config options in your ports
> management tool (portmaster, portupgrade, ports_conf, ...) for
> USE_RC_SUBR=yes, as this will cause the install-rc-script target to
> not install the rc.d startup script.
>
> NOTE FreeBSD < 7.0 adds a suffix to the filename (i.e. samba.sh).
>
> Scot
>



-- 
Felipe Carlo Trepichio dos Santos


More information about the freebsd-ports mailing list