FIX: MSMQ: Queue Created by a Service with IsWorldReadable=True Can't be Deleted by the Service (243758)
The information in this article applies to:
- Microsoft Message Queue Server (MSMQ) 1.0
- Microsoft Windows NT Server 4.0
- Microsoft Windows NT Workstation 4.0
This article was previously published under Q243758 SYMPTOMS
A service running on Windows NT 4.0 that logs on as LocalSystemAccount uses the Microsoft Message Queue (MSMQ) ActiveX components to create a queue with the IsWorldReadable parameter set to TRUE and is not be able to delete the queue.
CAUSE
The MSMQ automation components call MQCreateQueue with a Security Descriptor for LocalSystemAccount, however on the MSMQ server it is translated to anonymous. This translation causes the problem.
RESOLUTION
Do not use IsWorldReadable when creating queues. The default MSMQ security on a new queue is full access for everyone, and thus it is readable by everyone as well.
STATUSMicrosoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article.
This problem does not occur on Windows 2000 and only occurs on Windows NT 4.0 when the service in question is running under the Local System Account.
Modification Type: | Major | Last Reviewed: | 11/17/2003 |
---|
Keywords: | kbBug kbfix KB243758 |
---|
|