http://bugs.winehq.org/show_bug.cgi?id=17109
--- Comment #23 from Juan Lang juan_lang@yahoo.com 2009-02-02 10:08:16 --- (In reply to comment #22)
If I look at the patch the function will now always set peUse:=SidTypeDomain, regardless wether a username or computername is being looked up
That isn't correct. If a username is being looked up, it'll return peUse=SidTypeUser. See the function LookupUserAccountName for the username case.