[Samba] Sernet Packages - configure Options

Dirk Laurenz samba at laurenz.ws
Thu Apr 21 06:25:16 UTC 2016


Hello List,

so i did the cold start - removed sernet packges (v4.2) with apt-get 
remove and installed my own (created with checkinstall) and - it works! 
without demoting !!! and by the way upgrade to 4.4 works seemlessly :-)

Am 21.04.2016 um 07:36 schrieb Dirk Laurenz:
> Hello Rowland,
>
> thanks for your tipp. the last time i tried this (was fairly samba 
> 4.0), transferring fsmo roles ended up in corruption. is this now a 
> safe feature? i found out, that the build options are nearly the same, 
> just modules dir differs. so replace the binaries would make it? 
> remove sernet packages and install my own
>
> Am 20.04.2016 um 22:15 schrieb Rowland penny:
>> 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.
>>
>> Rowland
>>
>
>




More information about the samba mailing list