[Samba] Best Pratice for installing samba package in production environment

Jules Houantonon juleshoueto at gmail.com
Wed Apr 20 12:19:30 UTC 2016


Hello Mathias,
Thank you for sharing your experience.

It is realy nice of you,  and it is great to know that this options are
available.
I will test them for sure.

Regards
Le 20 avr. 2016 10:53, "mathias dufresne" <infractory at gmail.com> a écrit :

> And for lazy people - as me - who started with Sernet's packages and then
> switched to compiled version there is an option from ./configure script
> called "--enable-fhd" which is meant to install Samba DB and stuffs into
> /var/lib/samba as with Sernet's packages.
>
> From configure's help:
>     --enable-fhs
>             Use FHS-compliant paths (default no)
>             You should consider using this together with:
>             --prefix=/usr --sysconfdir=/etc --localstatedir=/var
>
> So the configure line become:
> ./configure --enable-fhs --prefix=/usr --sysconfdir=/etc
> --localstatedir=/var + Your own options.
>
> This is better used when creating a package as stuffs are installed
> directly inside the system (/usr, /var...) and so clean up if harder to
> perform than when installing into dedicated directory. With a package your
> distribution installer will perform that clean up for you when removing the
> package or changing it.
>
> 2016-04-19 19:58 GMT+02:00 Rowland penny <rpenny at samba.org>:
>
> > On 19/04/16 18:07, Jules Houantonon wrote:
> >
> >> Dear Rowland,
> >>
> >> thank you for your mail and the details provided.
> >>
> >> In that case, i suppose that it will be possible for someone that
> >> initially install the sernet 4.2.X version, to receive  the earlier
> >> updates  of samba4 after subcription.
> >>
> >
> > You only need a Sernet subscription to obtain the Sernet Samba packages
> >=
> > 4.3.x. I suppose if you did install the latest free 4.2.x package, you
> > could upgrade to Sernet 4.3.x and up, but you would need to obtain a
> Sernet
> > subscription, you would also need to contact Sernet to confirm this.
> >
> >
> >> I mean that passing to the earlier version of samba sernet package
> >> without migrating active directory to another server.
> >>
> >
> > Which ever way you install Samba as an AD DC, you should be able to
> > upgrade Samba or change distro. You could do this by installing later
> > packages on the DC, or by installing Samba on another DC. The only real
> > problem comes when you try to move from a distros or Sernet packages to
> > compiling Samba yourself, for by default 'configure' will put everything
> in
> > /usr/local/samba
> >
> > Rowland
> >
> >
> >> Thank you again one more time.
> >>
> >> Regards
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >
> > --
> > To unsubscribe from this list go to the following URL and read the
> > instructions:  https://lists.samba.org/mailman/options/samba
> >
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/options/samba
>


More information about the samba mailing list