Closed GoogleCodeExporter closed 8 years ago
Hmmm, those values are very odd, since 501 for the guest is the default
Relative ID for that user, and 1003 would be the RID for the third or fourth
user added to the system. That suggests that val's been filled with the wrong
thing (not a type, but actual data), so I'm going to try and replicate this and
then see if I can get to the bottom of it...
Original comment by mike.auty@gmail.com
on 6 Jan 2011 at 9:46
Ok, so according to [1]
"However, note that in some instances, Windows and third-party software does
not honor this convention and instead uses the data type field in the VK record
for other purposes. (One example is in the Windows SAM hive, where this field
is used to store user IDs.)"
I'm not sure how best to detect these. The key.DataLength is 0x80000000, which
[2] thinks indicates that the value is actually stored in the type, so I'm
going to code up a patch around that theory. If anyone has any better
suggestions, let me know... 5:)
[1] http://www.sentinelchicken.com/data/TheWindowsNTRegistryFileFormat.pdf
[2] http://www.beginningtoseethelight.org/ntsecurity/index.php#3E59AFD2F6CCC6E8
Original comment by mike.auty@gmail.com
on 6 Jan 2011 at 11:09
This issue was closed by revision r584.
Original comment by mike.auty@gmail.com
on 6 Jan 2011 at 11:20
Original issue reported on code.google.com by
jamie.l...@gmail.com
on 6 Jan 2011 at 2:49