Microsoft KB Archive/242193

= Create File NCP May Not Function Correctly with Read and Write Access Flags =

Article ID: 242193

Article Last Modified on 1/25/2007

-

APPLIES TO


 * Microsoft Windows 98 Second Edition
 * Microsoft Windows 98 Standard Edition
 * Microsoft Windows 95
 * Microsoft Windows 95

-



This article was previously published under Q242193



SYMPTOMS
When you create a file on a Novell NetWare server with read and write permissions, a handle to a file opened with read-only permissions may be returned. Subsequent attempts to use this handle in a write operation are unsuccessful.



CAUSE
This behavior occurs when the Microsoft Client for NetWare Networks (Nwredir) is installed. The Client for NetWare Networks code that handles the File Create NCP command (0x2222 87 01) attempts to open the file with the correct read and write permissions. If the call is unsuccessful, the original create request flags are checked for OPEN_ALWAYS. If the file is not opened with OPEN_ALWAYS, the process continues to the next check to see if the error status equals 0x90 (Some Files Read Only). If the ACCESS_READWRITE bits are set, the process toggles off the WRITE bit and attempts to open the file with ACCESS_READONLY. If this call is successful, the read-only handle is returned to the caller.



RESOLUTION
A supported hotfix is now available from Microsoft, but it is only intended to correct the problem that this article describes. Apply it only to systems that are experiencing this specific problem.

To resolve this problem, contact Microsoft Product Support Services to obtain the hotfix. For a complete list of Microsoft Product Support Services telephone numbers and information about support costs, visit the following Microsoft Web site:

http://support.microsoft.com/contactus/?ws=support

Note In special cases, charges that are ordinarily incurred for support calls may be canceled if a Microsoft Support Professional determines that a specific update will resolve your problem. The usual support costs will apply to additional support questions and issues that do not qualify for the specific update in question.

The English-language version of this fix should have the following file attributes or later:

  Date      Time    Version      Size      File name     Platform ---  11/02/99  1:59P   04.00.1113   174,618   Nwredir.vxd   Win95 11/02/99 1:59P   04.00.1113   174,618   Nwredir.vxd   OSR2 11/02/99 1:59P   04.00.1113   174,618   Nwredir.vxd   OSR2.1 11/02/99 1:59P   04.00.1113   174,618   Nwredir.vxd   OSR2.5 11/03/99 12:19P  04.10.2224   178,718   Nwredir.vxd   Win98 11/03/99 12:19P  04.10.2224   178,718   Nwredir.vxd   Win98SE



STATUS
Microsoft has confirmed that this is a problem in the Microsoft Client for NetWare Networks.



MORE INFORMATION
For additional information about Windows 98 and Windows 98 Second Edition hotfixes, click the article number below to view the article in the Microsoft Knowledge Base:

206071 General Information About Windows 98 and Windows 98 Second Edition Hotfixes

For additional information about Windows 95 hotfixes, click the article number below to view the article in the Microsoft Knowledge Base:

161020 Implementing Windows 95 Updates

Keywords: kbbug kbfix kbqfe kbenv kbhotfixserver KB242193

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.