• Kai Blin's avatar
    advapi32: Fix output of GetUserNameW when joined to a domain. · faf6f3f2
    Kai Blin authored
    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 off the domain instead of just replacing the \ character.
    faf6f3f2
advapi.c 9.8 KB