Deleting Files on Samba Servers May Delete Local Files Instead

ID: Q140558


The information in this article applies to:
  • Microsoft Windows 95


SYMPTOMS

When you use the Microsoft Client for Microsoft Networks (Vredir.vxd) to connect to a Samba file server running on a UNIX-based computer and you try to delete files on the server, you may delete files on your Windows 95-based computer instead.


CAUSE

This behavior occurs because Samba file servers let you create file names with characters that are invalid in Windows 95. These invalid characters include the following characters:

  • backslash (\)


  • asterisk (*)


  • question mark (?)


For example, Samba file servers let you create file names such as c:\*.* or \\server\share\*.*. If a UNIX user creates a file called "c:\*.*" and shares it, a Windows 95 user who connects to the server and tries to delete the file with Windows Explorer or My Computer may delete all the files in the root directory of local drive C instead.

NOTE: You are not affected by this problem if any of the following conditions are true:
  • You are not connected to a local area network.


  • You do not use a dial-up application (such as Dial-Up Networking) to dial into a local area network.


  • You are connected to a local area network, but you do not connect to Samba file servers running on UNIX-based computers.


  • You connect to Samba file servers running on UNIX-based computers but you delete only files you created with Windows Explorer or My Computer.



RESOLUTION

Although this is not a problem with Windows 95, Microsoft has released a new version of the Vredir.vxd file (version 4.00.955) that filters out files that have file names with invalid characters. When you use the updated version of the Vredir.vxd file, you cannot see these files and cannot, therefore, try to delete them.

To install the updated Vredir.vxd file, follow these steps:

  1. Download the Vredrupd.exe file from one of the online services listed below to an empty folder.


  2. In My Computer or Windows Explorer, double-click the Vredrupd.exe file.


  3. Follow the instructions on your screen.


Caching


MORE INFORMATION

Instructions for Downloading

The following file is available for download from the Microsoft Download Center. Click the file name below to download the file:
Vredrupd.exe
For more information about how to download files from the Microsoft Download Center, please visit the Download Center at the following Web address
http://www.microsoft.com/downloads/search.asp
and then click How to use the Microsoft Download Center.
Note that Microsoft has also released this update as part of Microsoft Windows 95 Service Pack 1. For information about Microsoft Windows 95 Service Pack 1, please see the following article in the Microsoft Knowledge Base:
Q142794 Availability of Microsoft Windows 95 Service Pack 1

Additional query words: smbclient servicepack1

Keywords : kbfile dun 3rdpartynet msnets win95
Version : WINDOWS:95
Platform : WINDOWS
Issue type :


Last Reviewed: January 13, 2000
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.