[PATCH 04/12] (resend) LookupAccountNameW() - use ACCOUNT_SIDS domain and name_use fields for well known SIDS

Paul Bryan Roberts pbronline-wine at yahoo.co.uk
Tue Oct 21 01:29:06 CDT 2008

LookupAccountNameW() has a stubbed but non-empty, incomplete, buggy
implementation.  It fails a number of unit tests but Wine code relies on

This is series of patches that provide what may be a reasonable first
pass implementation of LookupAccountNameA() and LookupAccountNameW() that:

    - passes existing units tests for LookupAccountName
    - works for well known SIDs
    - works for 'first user account'
    - allows progress towards the resolution of Bug 14334

This patch replaces the stub implementation for well-known SIDs with
code that uses the ACCOUNT_SIDS domain and name_use fields.

This patch is conformance test neutral.

While this patch may not be obviously incorrect, it is not correct - it
assumes, as the code replaces did, that CreateWellKnownSid() treated
cbSid the same way it does.  This is corrected later in the series.

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0004-LookupAccountNameW-use-ACCOUNT_SIDS-domain-and-nam.txt
Url: http://www.winehq.org/pipermail/wine-patches/attachments/20081021/0ae3192c/attachment.txt 

More information about the wine-patches mailing list