I have a working Samba AD DC running on Leap 15.0 and I want to replace/upgrade the server by a newer hardware using to Leap 15.6 version. My intention is to setup a backup AD DC, syncronize the AD data and after remove the old DC from network.
I’m following the instructions on Samba Wiki Joining DC to existing AD but when run the command “kinit administrator” I got an error about incorret password.
Do you know any other howto specific do perform this migration on openSUSE ?
I am sorry to say that I would not know how Samba has changed over the past 6 years. I think that postponing upgrades that long, will leave you with only the option to redo the whole thing.
Check that it is not something simple like NTP synchronization issue - so that the system clock on the new DC differs from the existing DC by more than 5 minutes.
Ok, I passed the kinit command without errors now. Maybe it was the NTP synchronization, like you said.
Just to share: when I executed the “samba-tool domain join samdom.example.com DC -U"administrator” I got: ERROR: Invalid role ‘DC’ (possible values: MEMBER, DC, RODC). I choose MEMBER and now, I’ll try to follow the another steps.