[PATCH 07/12] (resend) LookupAccountNameW() - NULL account name handled

Paul Bryan Roberts pbronline-wine at yahoo.co.uk
Tue Oct 21 01:29:37 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 handles a NULL account name by looking up the well-known-SID

This fixes two failing conformance tests.

Why use this well-known-SID ?  Well, it was the only well-known-SID that
fixes both conformance test failures.  I t, like the conformance tests,
avoids getting into locales and stuff.

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0007-LookupAccountNameW-NULL-account-name-handled.txt
Url: http://www.winehq.org/pipermail/wine-patches/attachments/20081021/aea9974b/attachment-0001.txt 

More information about the wine-patches mailing list