[PATCH 09/12] LookupAccountNameW() - only first user account and well known SIDs accepted
Paul Bryan Roberts
pbronline-wine at yahoo.co.uk
Mon Oct 20 18:06:23 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
Actually, that should read "... any not-so-well-known SID account ...".
By doing so, three more conformance test failures become passes.
This patch should have been two.
The second half throws in a test to reject any request for anything
other than the local system. This was copied from LookupAccountSidW().
When a conformance test was added for this, it was found to be returning
the wrong error code. Another conformance test showed that
LookupAccountSidW() too was returning the wrong error code.
New conformance test verified against W2K SP4.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 0 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20081021/04b428b0/attachment.patch
More information about the wine-patches