On Tuesday 21 October 2008 08:29:47 Paul Bryan Roberts wrote:
The conformance tests for LookupAccountName() use LookupAccountSid() so if the former is to support the 'first user account' SID then so must the latter and the latter needs prior implementation.
There's no guarantee that the first user account will have a RID of 1000. This is just what windows currently seems to use. That being said, the test cases work on a test machine of mine where RID 1000 is not assigned to the first user, so I won't complain. Perhaps the comment should mention that the RID pool starts at 1000 or somesuch.
Cheers, Kai