* fhandler_process.cc (dos_drive_mappings::fixup_if_match): Convert
native NT network paths into DOS UNC paths.
This commit is contained in:
@ -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>
|
2011-10-15 Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
* sec_auth.cc (get_token_group_sidlist): Add CONSOLE LOGON SID on
|
* 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)
|
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)
|
for (mapping *m = mappings; m; m = m->next)
|
||||||
if (!wcsncmp (m->mapping, path, m->len))
|
if (!wcsncmp (m->mapping, path, m->len))
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user