* fhandler_process.cc (dos_drive_mappings::fixup_if_match): Convert
native NT network paths into DOS UNC paths.
This commit is contained in:
parent
c52fd6cd47
commit
a9cc13a8e0
|
@ -1,3 +1,8 @@
|
|||
2011-10-15 Corinna Vinschen <corinna@vinschen.de>
|
||||
|
||||
* fhandler_process.cc (dos_drive_mappings::fixup_if_match): Convert
|
||||
native NT network paths into DOS UNC paths.
|
||||
|
||||
2011-10-15 Corinna Vinschen <corinna@vinschen.de>
|
||||
|
||||
* sec_auth.cc (get_token_group_sidlist): Add CONSOLE LOGON SID on
|
||||
|
|
|
@ -605,6 +605,14 @@ struct dos_drive_mappings
|
|||
|
||||
wchar_t *fixup_if_match (wchar_t *path)
|
||||
{
|
||||
/* Check for network drive first. */
|
||||
if (!wcsncmp (path, L"\\Device\\Mup\\", 12))
|
||||
{
|
||||
path += 10;
|
||||
path[0] = L'\\';
|
||||
return path;
|
||||
}
|
||||
/* Then test local drives. */
|
||||
for (mapping *m = mappings; m; m = m->next)
|
||||
if (!wcsncmp (m->mapping, path, m->len))
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue