[Samba] net getdomainsid returns two SIDs - how to remove one?

Paul Smith paul at gami.com
Wed Mar 8 21:03:05 GMT 2006


Hi,

How can I remove the "domain PHOENIX" SID from the PDC?  It was a test
domain I had set up before this machine went live around 18 months ago.
I believe this is the issue that's causing me to have problems migrating
this PDC to a new machine.

This is the output from the current PDC:

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:~# 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

Thanks
Paul


More information about the samba mailing list