[Samba] How to update Samba changing installation paths

Antonio Trogu a.trogu at gruppoconcorde.it
Mon May 31 08:35:18 UTC 2021


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?

Thanks,

Antonio


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