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

Paul Bryan Roberts pbronline-wine at yahoo.co.uk
Mon Oct 20 18:05:34 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.

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 
name BUILTIN.

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 --------------
A non-text attachment was scrubbed...
Name: 0007-LookupAccountNameW-NULL-account-name-handled.patch
Type: text/x-diff
Size: 0 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20081021/ab6643a7/attachment-0001.patch 


More information about the wine-patches mailing list