[Samba] How to update Samba changing installation paths

Antonio Trogu a.trogu at gruppoconcorde.it
Mon May 31 09:30:14 UTC 2021

Thanks, Rowland. But I'm afraid I can't do as you suggest because each one 
of these servers is the only DC (and also file server) of it's AD domain - 
I know this is not recommended, but (they all serve small sites) that's 
the way it is at the moment :( So I hoped I could directly update them, 
possibly changing paths too...

And the reasons why we are passing from packages to self compiled are: 1) 
we never needed Sernet support in many years, 2) we are very happy of the 
compiled installations already in use, and 3) obviously saving.



On Mon, 31 May 2021, Rowland penny via samba wrote:

> On 31/05/2021 09:35, Antonio Trogu via samba wrote:
>> I have several Samba AD DCs, most of them installed with Sernet packages, 
>> while some others with Samba compiled with the default options (that is, in 
>> /usr/local/).
>> I want to update the Sernet installations replacing them with the compiled 
>> version, but I'd like to move them to have Samba in the same path on all my 
>> servers. How can I achieve this? Is it sufficient to uninstall the Sernet 
>> package, move smb.conf in /usr/local/samba/etc/, all the content of 
>> /var/lib/samba/private/ in /usr/local/samba/private/ and then install the 
>> compiled version with the default options?
> Just demote the DC, remove the Samba packages and then install Samba into 
> /usr/local and rejoin as a new DC.
> Can I ask why you appear to be going in the opposite direction to most users 
> ? Normally it is changing from self compiled Samba to packages.
> Rowland
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/options/samba

The information contained in this email message and/or attachments is strictly confidential. Its use is exclusive to the intended recipient of the message for the purpose reported in the message itself. The following constitutes a breach to the principles provided for by the General Data Protection Regulation 2016/679: keeping the message beyond the necessary time, disclosing its contents, either totally or partially, to third parties, copying or using it for any purpose other than those stated in the message itself. We further inform you that, at any time, you can ask for the suspension of the use of your data, except for any communication provided for by law. Should you receive this message in error, we kindly ask you to notify us immediately via e-mail and delete it from your system.

More information about the samba mailing list