GetEffectiveRightsFromAcl() Function Causes "ERROR_NO_SUCH_DOMAIN" Error Message (286360)
The information in this article applies to:
- Microsoft Windows 2000 Server SP1
- Microsoft Windows 2000 Advanced Server SP1
- Microsoft Windows 2000 Professional SP1
This article was previously published under Q286360 SYMPTOMS
Calling the GetEffectiveRightsFromAcl function may return the following error message:
1355 0x54b ERROR_NO_SUCH_DOMAIN
CAUSE
This issue occurs if one of the access control entries (ACEs) in the access control list (ACL) parameter contains a domain global group security identifier (SID) and the computer is a client computer that is joined to a domain. This problem does not occur on the domain controller.
For example, assume that the following sample code is being run:
DWORD GetEffectiveRightsFromAcl(
PACL pacl, // source ACL
PTRUSTEE pTrustee, // trustee
PACCESS_MASK pAccessRights // trustee's access rights
);
GetEffectiveRightsFromAcl returns 1355 if the ACL (which is specified in the first parameter in this function) contains an ACE that specifies a global group. In this example, if the first parameter of GetEffectiveRightsFromAcl (pAcl) specifies an ACL that contains the DOMAIN\GlobalGroup group, GetEffectiveRightsFromAcl returns 1355 instead of succeeding if the computer is a client computer that is joined to the domain.
The error message that is returned is:
MessageId: ERROR_NO_SUCH_DOMAIN
MessageText:
The specified domain either does not exist or could not be contacted.
#define ERROR_NO_SUCH_DOMAIN 1355L
RESOLUTIONTo resolve this problem, obtain the latest service pack for Windows 2000. For additional information, click the following article number to view the article in the
Microsoft Knowledge Base:
260910 How to Obtain the Latest Windows 2000 Service Pack
The following file is available for download from the Microsoft Download Center:
For additional information about how to download Microsoft Support files, click the following article number to view the article in the Microsoft Knowledge Base:
119591 How to Obtain Microsoft Support Files from Online Services
Microsoft scanned this file for viruses. Microsoft used the most current virus-detection software that was available on the date that the file was posted. The file is stored on security-enhanced servers that help to prevent any unauthorized changes to the file.
The English version of this fix should have the following file attributes or later:
Date Time Version Size File name
-------------------------------------------------------
10/24/2000 10:08p 5.0.2195.2564 101,136 Ntmarta.dll
STATUSMicrosoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article. This problem was first corrected in Windows 2000 Service Pack 2.
Modification Type: | Major | Last Reviewed: | 9/12/2003 |
---|
Keywords: | kbbug kbfix kbgraphxlinkcritical kbWin2000PreSP2Fix KB286360 |
---|
|