You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit d87a57a
Browse filesBrowse the repository at this point in the historyBrowse files
fix(auth_identity): drop local qualifier before a qualified name (#767)
`Username::parse(".\\AzureAD\\user@example.com")` and
`AuthIdentityBuffers { user: "AzureAD\\user@example.com", domain: "." }`
failed with `MixedFormat`, because the first `\` made `.` the NetBIOS
domain and left a `\` inside the account name.
A local machine qualifier (`.\`) in front of an already-qualified name
is now dropped, so both forms read as `AzureAD\user@example.com`.
`Username::new(account, Some("."))` with a qualified account name is
parsed the same way, which also covers the CredSSP/FFI path where the
domain arrives as `.` in a separate field.
Does not change:
- `.\user` keeps `.` as its NetBIOS domain.
- Every input that parsed before parses exactly as before; only inputs
that were `Err(MixedFormat)` are now accepted.
- Not verified against Windows: that `.\X\Y` and `X\Y` are treated as
the same identity there. `X\Y` is the form Microsoft documents for
Entra-joined RDP.
0 commit comments