[Bug 21397] New: LookupAccountName cannot retrieve a 'groups' SID
wine-bugs at winehq.org
wine-bugs at winehq.org
Sat Jan 16 18:16:12 CST 2010
http://bugs.winehq.org/show_bug.cgi?id=21397
Summary: LookupAccountName cannot retrieve a 'groups' SID
Product: Wine
Version: 1.1.36
Platform: x86
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: advapi32
AssignedTo: wine-bugs at winehq.org
ReportedBy: us at edmeades.me.uk
Debugging an application I found the cause of the first failure is that the
software installs a 'group' (which fails with a fixme). Post install, I created
a group (addgroup) but the application calls LookupAccountName to retrieve the
SID of that created group.
You can hack around this (if LookupAccountName fails, query the current user
and re-call the function to get it's sid) but looking at the function there is
complete support missing for anything other than the current user.
Ideally it should call (something like getgrent?) and if it finds a group, map
it to a SID somehow (perhaps end the SID with the gid?). It could handle
querying other users as well in a similar way (getpwnam?)
JEWMQ
--
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.
More information about the wine-bugs
mailing list