The information in this article applies to:
SYMPTOMS
When you print to a Novell NetWare print queue, a directory handle may be
inadvertently deallocated. This may cause the following symptoms (this list
of symptoms is not exhaustive):
CAUSE
When the reference count for a Verb Control Block (VCB) becomes zero, the
NetWare redirector (Nwrdr) scavenger thread cleans up the VCB by calling
the NwCleanupVcb() application programming interface (API). NwCleanupVcb()
deallocates the directory handle for every VCB regardless of whether its
Flags information indicates a print queue or drive mapping.
MORE INFORMATION
When a connection is made to a volume on a NetWare server, the Novell
NetWare server allocates a directory handle for the client. When the client
connects to a print queue, the server provides the client a print queue ID.
NT uses a union in the Verb Control Block (VCB) structure to represent,
drive, and print information in the same storage space. For this reason,
Client Service for NetWare (CSNW) should keep track of which type is
currently stored in the union by evaluating the flag field in the VCB
structure, but it fails to do so. A Flags value of 0x3 indicates an
explicit drive mapping connection, and a Flags value of 0x4 indicates a
print queue connection.
A Flags value of 4 in example B indicates the union is being used for a print queue ID. The print queue ID returned by the Novell server for the print queue above is: -553516826 decimal or 0xDF0200E6 hexadecimal. The second byte from the left in the hexadecimal number indicates the handle and has a value of 02. It has the same handle value as the Handle in the first VCB example above. RESOLUTIONA fix for this problem is available in the latest Service Pack for Windows NT 3.51. The fix evaluates the VCB to determine whether it represents a drive mapping or a print queue. If it is a print queue, it does not enter the code that deallocates directory handles. STATUS
Microsoft has confirmed this to be a problem in Windows NT versions 3.5 and
3.51. This problem was corrected in the latest U.S. Service Pack for
Windows NT Workstation or Server version 3.51. For information on obtaining
this update, query on the following word in the Microsoft Knowledge Base
(without the spaces):
S E R V P A C K Additional query words: 3.50 3.51 prodnt csnw gsnw
Keywords : ntprotocol NTSrvWkst |
Last Reviewed: February 13, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |