Samba3 to Samba4 Migration - Questions

Come here to share your tips and tricks for using Samba4
Locked
Perfect-Dash
Messages: 7
Registration: Apr 10, 2015 - 10:10

July 27, 2015 - 5:30 PM

Hello, I'm currently looking into migrating a Samba 3 domain controller to Samba 4, so I followed your tutorial, but I have a question. When it comes to importing accounts (computers, users), I was wondering if the following command:
samba-tool domain samba3upgrade --dbdir=/root/samba3/ --use-xattrs=yes --realm=MYDOMAIN.LAN /root/samba3/smb.conf
Does it delete the information on the old server (smb3) or does it retrieve it and copy it to the new server (Smb4)? Basically, I don't want it to delete anything on my Samba3 server because it's a production server.

Does the domain name have to be the same on the new server for this to work? Because on my SMB3 server, I have a domain name ending in "mondomaine".local and I'd like to take this opportunity to switch it to mydomain.lan , a question of compatibility.

Thank you in advance for your answers.

Sincerely,
User avatar
Yvan Karmouta
Messages: 34
Registration: June 18, 2014 - 10:09
Contact :

August 7, 2015 - 09:28

Hello,
Nothing is deleted on the old Samba3 server after the migration.
Normally, with Samba3, your workstations use NT/NetBIOS technologies and don't yet have a Kerberos realm (in the "Computer Name" tab of the "System Properties" of a domain-joined workstation, it displays MYDOMAIN and not MYDOMAIN.LOCAL).
You can therefore switch to MYDOMAIN.LAN without impacting the workstations; just remember to change the DNS names on the servers.
Regards,
Yvan
Yvan Karmouta - Tranquil IT Systems
Feel free to leave us your opinion on Wapt in the forum, or to answer our questionnaires :).
Locked