[Samba] Sernet Packages - configure Options

Rowland penny rpenny at samba.org
Wed Apr 20 20:15:36 UTC 2016

On 20/04/16 20:46, Dirk Laurenz wrote:
> Hello,
> i want to replace the sernet packages with an own one. Because it's 
> the DC, which is the last one which remains, i'm sure, having the same 
> configure/built options would help with replace the binaries and 
> keeping the database. The other DC's (2 raspberries) have been 
> configured and built with (but complete demote/rejoin process):
> ./configure --prefix=/usr --localstatedir=/var --sysconfdir=/etc 
> --enable-fhs
> Are there any sernet specific built options i need to add, or can i 
> just proceed...?
> Regards,
> Dirk

Keeping the database is not really a problem, all you need to do is 
setup another computer, compile Samba on this, then join this as a 
secondary DC, transfer the FSMO roles and then demote the first DC. This 
way you can configure Samba just as you like. The main problem you have 
trying to do it your way is, you don't know just how Sernet configures 
Samba, try running './configure --help' in a Samba tarball to see the 
long list of available options.

A secondary benefit of compiling Samba into the default 
/usr/local/samba, all the examples on the Samba wiki are relevant to 
your setup.


More information about the samba mailing list