Author: ekohl
Date: Tue Sep 6 19:17:54 2011
New Revision: 53609
URL:
http://svn.reactos.org/svn/reactos?rev=53609&view=rev
Log:
[MUP]
- Any attempt to open or create a file on a remote machine will return
STATUS_BAD_NETWORK_PATH. This means the server is not available. Trying to create
\\testserver\testshare\testdir\test.txt fails just like on Windows XP.
- Add service key and values for the MUP driver. Add the driver to the File System group
because adding it to the Network group, like on Windows XP, does not load the driver.
Modified:
trunk/reactos/boot/bootdata/hivesys_i386.inf
trunk/reactos/drivers/filesystems/mup/create.c
Modified: trunk/reactos/boot/bootdata/hivesys_i386.inf
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/boot/bootdata/hivesys_i386…
==============================================================================
--- trunk/reactos/boot/bootdata/hivesys_i386.inf [iso-8859-1] (original)
+++ trunk/reactos/boot/bootdata/hivesys_i386.inf [iso-8859-1] Tue Sep 6 19:17:54 2011
@@ -1348,6 +1348,15 @@
HKLM,"SYSTEM\CurrentControlSet\Services\Msfs","ImagePath",0x00020000,"system32\drivers\msfs.sys"
HKLM,"SYSTEM\CurrentControlSet\Services\Msfs","Start",0x00010001,0x00000001
HKLM,"SYSTEM\CurrentControlSet\Services\Msfs","Type",0x00010001,0x00000002
+
+; Multiple UNC provider driver
+HKLM,"SYSTEM\CurrentControlSet\Services\Mup","Description",0x00000000,"Multiple
UNC Provider (MUP)"
+HKLM,"SYSTEM\CurrentControlSet\Services\Mup","ErrorControl",0x00010001,0x00000001
+;HKLM,"SYSTEM\CurrentControlSet\Services\Mup","Group",0x00000000,"Network"
+HKLM,"SYSTEM\CurrentControlSet\Services\Mup","Group",0x00000000,"File
System"
+HKLM,"SYSTEM\CurrentControlSet\Services\Mup","ImagePath",0x00020000,"system32\drivers\mup.sys"
+HKLM,"SYSTEM\CurrentControlSet\Services\Mup","Start",0x00010001,0x00000000
+HKLM,"SYSTEM\CurrentControlSet\Services\Mup","Type",0x00010001,0x00000002
; NDIS driver - the only boot-start network driver
HKLM,"SYSTEM\CurrentControlSet\Services\Ndis","ErrorControl",0x00010001,0x00000001
@@ -1747,6 +1756,6 @@
HKLM,"SYSTEM\Setup","SystemSetupInProgress",0x00010001,0x00000001
; Debug channels
-;HKLM,"SYSTEM\CurrentControlSet\Control\Session
Manager\Environment","DEBUGCHANNEL",0x00020000,"+ole,+rpc"
+;HKLM,"SYSTEM\CurrentControlSet\Control\Session
Manager\Environment","DEBUGCHANNEL",0x00020000,"+advapi,+testsvc,+wkssvc"
; EOF
Modified: trunk/reactos/drivers/filesystems/mup/create.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/filesystems/mup/cr…
==============================================================================
--- trunk/reactos/drivers/filesystems/mup/create.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/filesystems/mup/create.c [iso-8859-1] Tue Sep 6 19:17:54 2011
@@ -54,7 +54,7 @@
DPRINT("FileName: '%wZ'\n", &FileObject->FileName);
- Status = STATUS_ACCESS_DENIED;
+ Status = STATUS_BAD_NETWORK_PATH;
Irp->IoStatus.Information = (NT_SUCCESS(Status)) ? FILE_OPENED : 0;
Irp->IoStatus.Status = Status;