http://bugs.winehq.org/show_bug.cgi?id=17109 Summary: LookupAccountName regression prevents Galactic Civilizations II to start Product: Wine Version: 1.1.13 Platform: All OS/Version: All Status: UNCONFIRMED Severity: normal Priority: P2 Component: advapi32 AssignedTo: wine-bugs(a)winehq.org ReportedBy: daniel.mantione(a)freepascal.org Created an attachment (id=18949) --> (http://bugs.winehq.org/attachment.cgi?id=18949) Test program to reveal LookupAccountName regression Galactic Civilization starts in Wine 1.0, but is unable to start in Wine 1.1. It considers itself unactivated and when trying to reactivate the game with a valid serial, it is unable to activate itself because it is unable to get a SID. I investigated tis and it seems to be caused by a regression in LookupAccountName when used to query the local machine account. The result of LookupAccountName seems to be incorrect already in Wine 1.0, returning incorrect data, but the game does seem to be happy with the returned data. Wine 1.1 lets the LookupAccountName call fail, and GalCiv2 is unhappy with the failure, refusing to start. I have written a small program to demonstrate the program. You can find it attached, compile it with Free Pascal or Delphi. The result of the test program on a real (Windows 2003) machine is: SCORPIO lookupaccountname succeeded SID type: SidTypeDomain The result of the test program on Wine 1.0.1 is: commandchair lookupaccountname succeeded SID type: The result of the test program on Wine 1.1.13 is: commandchair lookupaccountname failed: 1332 -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.