https://bugs.documentfoundation.org/show_bug.cgi?id=146607

--- Comment #2 from Mike Kaganski <[email protected]> ---
I have no access to a network with Windows shares, other than own home system
that I attempted to open in Explorer using a \\MYSYSTEM\share UNC
(successfully) and \\MYSYSTEM.\share - the latter showed a login prompt, and
refused my login/password.

Reading the specs, I don't see a definite answer.

1) File path formats on Windows systems [1] tells that "If a segment ends in a
single period, that period is removed" in "Trim characters" section; but that
section relates to relative path segments, as clear when reading the context,
discussing normalization of .. and ...; nowhere on that page, a system name is
identified as "segment".

2) Naming conventions in Active Directory for computers, domains, sites, and
OUs [2] discusses NetBIOS names and DNS names; the former can't have leading
periods (but other restrictions are not mentioned), while for former, the
period may only separate DNS parts, and trailing period is explicitly
forbidden. For NetBIOS names, if trailing dots are allowed to be part of a
name, that would mean that \\SERVER and \\SERVER. are *different* names.

I do not know how to get a definite answer about proper normalization of server
part of UNC - please share if you find a good reference. Thanks.

[1] https://docs.microsoft.com/en-us/dotnet/standard/io/file-path-formats
[2]
https://docs.microsoft.com/en-us/troubleshoot/windows-server/identity/naming-conventions-for-computer-domain-site-ou

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to