Hi,
I recommend you to do the following in order to try to join the Zentyal 7 as ADC of Zentyal 5.0 DC:
1. Check that there is not any record about Zentyal 7.0 after the try in your domain.
## To see if there was created a DNS user for Zentyal 7
ldbsearch -H /var/lib/samba/private/sam.ldb sAMAccountName='dns-zen7adc'
2. Check the status of your Zentyal 5.0 server, you should use download the following script and run it in your Zentyal. The most important part in your case is the function called '
dc_check'.
*
https://github.com/zentyal/zentyal/blob/master/main/core/src/scripts/smart-admin-report3. Check that the domain users '
krbtgt' and '
Guest' are located in the original location, which is 'Users' container. Below an example:
ldbsearch -H /var/lib/samba/private/sam.ldb sAMAccountName='krbtgt' dn
dn: CN=krbtgt,CN=Users,DC=zentyal-domain,DC=lan
ldbsearch -H /var/lib/samba/private/sam.ldb sAMAccountName='Guest' dn
dn: CN=Guest,CN=Users,DC=zentyal-domain,DC=lan
NOTE: As you can see, both domain users are located at the container (CN) '
Users'.
I saw a few times errors during the join caused mainly for:
1. Errors in the internal database of SAmba, which you will be able to see them if you run the script from step 2. You can get more information below:
*
https://wiki.samba.org/index.php/Dbcheck2. When the user 'krbtgt' was moved to other location (step 3).
Finally, in case you cannot join the Zentyal 7 as ADC, you could try to do a migration using the feature 'Import and export', in your case, you will need to download the script from the repository.
*
https://doc.zentyal.org/en/directory.html#importing-and-exporting-users-and-groups* (groups-export.pl, groups-import.pl, users-export.pl and users-import.pl)
https://github.com/zentyal/zentyal/tree/master/main/samba/src/scriptsHope it helps you.
--
“This world is ours, and by the Holy Light we will keep it safe, now and forever".