WFWG/LAN Manager Race Condition Problem

ID: Q98427


The information in this article applies to:
  • Microsoft LAN Manager, versions 2.1, 2.1a, 2.2


SUMMARY

If a Windows for Workgroups workstation opens a file on a LAN Manager server and then closes it, the workstation may not immediately send the Close Server Message Block (SMB). WFWG sends the Close SMB asynchronously: it returns immediately to the calling program (which closed the file) without checking whether the close succeeded or failed.

This "overlapping" can cause a problem if the WFWG machine immediately tries to reopen the same file. The LAN Manager server may process the reopen before it processes the close, or the WFWG machine may send the open and close in reverse order. If either of these conditions occurs, the LAN Manager server sees that the client is attempting to open a file that is already open, and sends a "sharing violation" to the client.

Microsoft is researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.

Additional query words: wfw wfwg 2.10 2.1 2.10a 2.1a 2.20 2.2

Keywords :
Version : :2.1,2.1a,2.2
Platform :
Issue type :


Last Reviewed: November 10, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.