[Samba] Slow Samba AD DC performance compared to Microsoft AD DC

Rowland penny rpenny at samba.org
Fri Aug 28 08:38:20 UTC 2020


On 28/08/2020 09:16, Sinan Ozturk via samba wrote:
> Hello again, I decided to upgrade.
>
> However, my method of doing upgrade is transferring files of 14.04 Samba to new 18.04 Samba Server with version 4.7.6.
> The files under /etc/samba, /var/lib/samba and /etc/krb5.conf.
>
>
> I actually test the upgrade only replPropertyMetaData has error in database and db-check fixed it.  I also checked the logs there was no problem.
> It looks like it is working.
>
> Is this a bad way to upgrade?
Yes, never upgrade in this way.
>
> What problems can occur?

You are still using the old database.

Set up a new computer running either Debian, Ubuntu 18.04 or Ubuntu 
20.04. Install Samba, either using the distro packages or Louis's 
packages from here: http://apt.van-belle.nl/

Then join the new computer as a DC to your original DC. Once everything 
is running correctly, transfer the FSMO roles to the new DC, then demote 
and turn off the old DC. You could then upgrade the old DC.

Rowland




More information about the samba mailing list