advapi32: Fix output of GetUserNameW when joined to a domain.

Kai Blin kai.blin at gmail.com
Mon Jun 1 15:51:19 CDT 2009


On a Windows box joined to a domain, GetUserName will not return the domain
part. On a Unix box joined to a domain via winbindd, wine_get_user_name will.
So we need to cut it off again instead of just replacing the \ character.
---
 dlls/advapi32/advapi.c |   15 ++++++++++++++-
 1 files changed, 14 insertions(+), 1 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: e7ff09702940918238102587cfd90a903ca87527.diff
Type: text/x-patch
Size: 1166 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20090601/51a1b54f/attachment.bin>


More information about the wine-patches mailing list