Samba has multiple domain SIDs. How to remove one?
Hi,
I had a test domain (PHOENIX) set up before this machine went live around 18 months ago. The SID for that domain is still stored somewhere - secrets.tdb? I'm trying to move this PDC to another machine (same hostname, different ip and not connected to the network at the same time as the old one) and I believe this multiple SID issue is what's causing me to have problems migrating this PDC to a new machine.
This is the output from the current PDC (phoenix is the hostname, adadom is the domain):
phoenix:/ # net getlocalsid
SID for domain PHOENIX is: S-1-5-21-3597458131-155160113-1223051555
phoenix:/ # net getdomainsid
SID for domain PHOENIX is: S-1-5-21-3597458131-155160113-1223051555
SID for domain ADADOM is: S-1-5-21-3597458131-155160113-1223051555
New PDC (phoenix is the hostnanme, ip is different):
phoenix:~# net setlocalsid S-1-5-21-3597458131-155160113-1223051555
phoenix:~# net getlocalsid
SID for domain PHOENIX is: S-1-5-21-3597458131-155160113-1223051555
phoenix:~# net getdomainsid
SID for domain PHOENIX is: S-1-5-21-3597458131-155160113-1223051555
SID for domain ADADOM is: S-1-5-21-431705211-465938167-4109487675
How can I remove the "SID for domain PHOENIX" from the current PDC?
|