#39412 - 2003-04-22 09:28 PM
Re: Change Sid in NTUSER.DAT..??
|
Kdyer
KiX Supporter
   
Registered: 2001-01-03
Posts: 6241
Loc: Tigard, OR
|
mima,
Talked with our person doing the migration and he mentioned that they are using Bindview.
http://www.bindview.com
HTH,
Kent
|
|
Top
|
|
|
|
#39413 - 2003-04-22 09:30 PM
Re: Change Sid in NTUSER.DAT..??
|
Howard Bullock
KiX Supporter
   
Registered: 2000-09-15
Posts: 5809
Loc: Harrisburg, PA USA
|
You can accomplish this with the proper version of SubInACL too.
|
|
Top
|
|
|
|
#39414 - 2003-04-22 09:31 PM
Re: Change Sid in NTUSER.DAT..??
|
NTDOC
Administrator
   
Registered: 2000-07-28
Posts: 11634
Loc: Space
|
http://www.netiq.com has tools for migration as well. Including mapping of SIDS
Not saying things can't be done with KiX or other method, but you need ALL the details or you'll end up with a mess in the end.
|
|
Top
|
|
|
|
#39415 - 2003-04-22 09:34 PM
Re: Change Sid in NTUSER.DAT..??
|
NTDOC
Administrator
   
Registered: 2000-07-28
Posts: 11634
Loc: Space
|
Here is a link with more information on the topic.
http://www.sans.org/rr/win/NTFS.php
|
|
Top
|
|
|
|
#39417 - 2003-04-22 10:05 PM
Re: Change Sid in NTUSER.DAT..??
|
Howard Bullock
KiX Supporter
   
Registered: 2000-09-15
Posts: 5809
Loc: Harrisburg, PA USA
|
As I said, SubInACL can process the internal ACLs. You will have to load the user hives and all will be good. I have processed thousands of computers from OLD SIDs to New SIDS for domain migrations where we have issued new accounts to acquisitions (NT4 to NT4 and NT4 to W2K). [ 22. April 2003, 22:11: Message edited by: Howard Bullock ]
|
|
Top
|
|
|
|
#39424 - 2003-04-23 05:50 PM
Re: Change Sid in NTUSER.DAT..??
|
Howard Bullock
KiX Supporter
   
Registered: 2000-09-15
Posts: 5809
Loc: Harrisburg, PA USA
|
Ok now that everyone has thought about this a bit, what are the remaining questions?
Mima, the Perl code you that deals with the ProfileList key configures the OS to think that the NEW userID has already logged onto the computer and has a profile. In fact, the NEW userID has never been used on this computer. If this step was not done then the NEW userID would be given a DEFAULT profile (desktop) and the user would scream, "what happened to be my stuff!"
The preconfigured profile is pointed to the OLD userID's profile. Now both IDs have the same profile.
In my program I executed as an Admin and scanned the ProfileList key and loaded ALL NTuser.DAT hives into the registry at one time. Then I executed SubInACL to update ALL the ACLS of ALL users based on an OFFLINE SAM file that contains the SIDS of both the old domain and new domain accounts. [ 23. April 2003, 17:51: Message edited by: Howard Bullock ]
|
|
Top
|
|
|
|
#39426 - 2003-04-24 01:08 PM
Re: Change Sid in NTUSER.DAT..??
|
Howard Bullock
KiX Supporter
   
Registered: 2000-09-15
Posts: 5809
Loc: Harrisburg, PA USA
|
I use Perl to pack the string representation into a binary sid that the system uses. The easiest way for you to get the BinarySID would be to use ADSI and the objectSID attribute. I think that this is the same thing. If this does not work let me know and I will provide you an alternative method.
quote: Object SID [This is preliminary documentation and subject to change.]
The user's SID can be retrieved using the objectSID attribute. The objectSID is returned as a VARIANT array of the string.
sid = usr.Get("objectSID")
[ 24. April 2003, 13:09: Message edited by: Howard Bullock ]
|
|
Top
|
|
|
|
#39428 - 2003-04-24 02:11 PM
Re: Change Sid in NTUSER.DAT..??
|
Howard Bullock
KiX Supporter
   
Registered: 2000-09-15
Posts: 5809
Loc: Harrisburg, PA USA
|
I am not sure that the Hex SID (still text) is what you want for the BinarySid. Regedit might display (interpret) the binary data to show the hex representation but I don't think you can write the hex sid string data into the REG_BINARY value. Have you tried this? With what result?
I just sent you via email the latest version of SubInACL I have that supports UNICODE. I thought you might need that support if you have Localized Nordic OS's. [ 24. April 2003, 14:12: Message edited by: Howard Bullock ]
|
|
Top
|
|
|
|
Moderator: Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart
|
0 registered
and 1046 anonymous users online.
|
|
|