[Samba] Clussicupgrade tdbsam
Andrew Bartlett
abartlet at samba.org
Fri Sep 13 19:12:41 UTC 2019
On Fri, 2019-09-13 at 17:08 +0200, basti via samba wrote:
> Hello,
>
> i try to upgrade NT4 to AD.
> The NT4 domain has name foobar.example.com. i need to rename the
> domain
> to samdom.example.com.
>
> Is there a way to rename all entry in tdb before classicupgrade?
The NT4 domain name is actually not recorded anywhere in Samba's DBs,
just in the workgroup parameter in the smb.conf.
So while your joined domain members won't be happy (you will need to
rejoin), you can just change it. Just make sure the domain SID stays
the same, it should (because it will fallback to the 'machine sid' that
already has that value), but see
net getdomainsid (to get the current one/check the new one)
net setdomainsid (if you need to reset it)
I hope this helps!
Andrew Bartlett
--
Andrew Bartlett https://samba.org/~abartlet/
Authentication Developer, Samba Team https://samba.org
Samba Developer, Catalyst IT
https://catalyst.net.nz/services/samba
More information about the samba
mailing list