Microsoft KB Archive/286360

= GetEffectiveRightsFromAcl Function Causes &quot;ERROR_NO_SUCH_DOMAIN&quot; Error Message =

Article ID: 286360

Article Last Modified on 2/20/2007

-

APPLIES TO


 * Microsoft Windows 2000 Service Pack 1
 * Microsoft Windows 2000 Advanced Server
 * Microsoft Windows 2000 Service Pack 1

-



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



RESOLUTION
To 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:

U.S. English:

Download Q286360_w2k_sp2_x86_en.exe now

French:

Download Q286360_w2k_sp2_x86_fr.exe now

German:

Download Q286360_w2k_sp2_x86_de.exe now

Italian:

Download Q286360_w2k_sp2_x86_it.exe now

Japanese:

Download Q286360_w2k_sp2_x86_ja.exe now

Spanish:

Download Q286360_w2k_sp2_x86_es.exe now

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



STATUS
Microsoft 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.



MORE INFORMATION
For additional information about how to install Windows 2000 and Windows 2000 hotfixes at the same time, click the article number below to view the article in the Microsoft Knowledge Base:

249149 Installing Microsoft Windows 2000 and Windows 2000 Hotfixes

Keywords: kbbug kbfix kbgraphxlinkcritical kbwin2000presp2fix KB286360

-

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

© Microsoft Corporation. All rights reserved.