https://bugs.winehq.org/show_bug.cgi?id=57688
Bug ID: 57688 Summary: secur32:GetUserNameExW NameFormat [8,12] not implemented Product: Wine Version: 10.0-rc5 Hardware: x86-64 URL: https://learn.microsoft.com/en-us/windows/win32/api/se cext/ne-secext-extended_name_format OS: Linux Status: UNCONFIRMED Severity: minor Priority: P2 Component: secur32 Assignee: wine-bugs@winehq.org Reporter: winehq.tabloid372@passmail.net Distribution: Fedora
In ``` 0148:fixme:secur32:GetUserNameExW NameFormat 8 not implemented 0158:fixme:secur32:GetUserNameExW NameFormat 12 not implemented ```
enum values not handled in the switch https://github.com/wine-mirror/wine/blob/master/dlls/secur32/secur32.c#L1166 ``` NameUserPrincipal = 8, [..] NameDnsDomain = 12, ```
Since `NameSamCompatible` is already implemented in the upper part of the switch and we have a domain then `NameDnsDomain` should be composable in a fairly trivial way. Additionally, `NameUserPrincipal` seems to be a simpler version of that logic with a calls to: ``` GetUserNameW(usrname, &len)) GetComputerNameW(samname, &len)) -> usrname+'@'+samname. ```
If I am not mistaken?