[Samba] Upgrading samba and OS - can I rejoin ?
rpenny at samba.org
Mon Aug 26 12:19:11 UTC 2019
On 26/08/2019 06:06, Andrew Bartlett via samba wrote:
> On Mon, 2019-08-26 at 06:54 +0200, gizmo via samba wrote:
>> And (re)joining is not recommended ?
> We do recommend it:
>> There are so many services and computers connected to the samba server, which are not in my hand.
>> Means after I upgraded all our 5 ADs I would have to inform many people about the new name and IP.
> The identifier that Rowland is worried about in terms of replication
> behaviour is actually the invocationID, and we do not re-use that.
> This is actually a problem if this kind of re-join is done
> often/automated, as objects in AD keep a list of every DC that every
> existed on them!
> But for practical, humans scale operations it is fine. We delete all
> the other objects involved (server objects, DC objects etc). If
> something isn't being cleaned up then that's a bug, a rejoin with the
> same name is normal in Samba.
> I trust this clarifies things,
> Andrew Bartlett
The problem is, if you try to join a DC with the same name as before, it
You need to demote the existing DC and then remove ALL mention of it
from AD, this isn't a Samba thing, it is an AD thing.
From the numerous problems that have been posted on this list about
trying to rejoin a D with an existing name, the fix is obvious, always
use a new name.
More information about the samba