Microsoft Product Support Services   All Products  |   Support  |   Search  |   microsoft.com Home  
microsoft.com
  Support Home  |   Self Support  |   Assisted Support  |   Custom Support  |

GetEffectiveRightsFromAcl() Function Causes "ERROR_NO_SUCH_DOMAIN" Error Message


The information in this article applies to:
  • Microsoft Windows versions 2000, 2000 SP1 Professional
  • Microsoft Windows versions 2000, 2000 SP1 Server
  • Microsoft Windows versions 2000, 2000 SP1 Advanced Server


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

A supported fix is now available from Microsoft, but it is only intended to correct the problem described in this article and should be applied only to systems experiencing this specific problem. This fix may receive additional testing at a later time, to further ensure product quality. Therefore, if you are not severely affected by this problem, Microsoft recommends that you wait for the next Windows 2000 service pack that contains this fix.

To resolve this problem immediately, download the fix as instructed below or contact Microsoft Product Support Services to obtain the fix. For a complete list of Microsoft Product Support Services phone numbers and information on support costs, please go to the following address on the World Wide Web:

http://support.microsoft.com/directory/overview.asp
NOTE: In special cases, charges that are normally incurred for support calls may be canceled, if a Microsoft Support Professional determines that a specific update will resolve your problem. Normal support costs will apply to additional support questions and issues that do not qualify for the specific update in question.

The following file is available for download from the Microsoft Download Center:
U.S. English:
[GRAPHIC: Download]Download Q286360_w2k_sp2_x86_en.exe now

French:
[GRAPHIC: Download]Download Q286360_w2k_sp2_x86_fr.exe now

German:
[GRAPHIC: Download]Download Q286360_w2k_sp2_x86_de.exe now

Italian:
[GRAPHIC: Download]Download Q286360_w2k_sp2_x86_it.exe now

Japanese:
[GRAPHIC: Download]Download Q286360_w2k_sp2_x86_ja.exe now

Spanish:
[GRAPHIC: Download]Download Q286360_w2k_sp2_x86_es.exe now
For additional information about how to download Microsoft Support files, click the article number below to view the article in the Microsoft Knowledge Base:
Q119591 How to Obtain Microsoft Support Files from Online Services
Microsoft used the most current virus detection software available on the date of posting to scan this file for viruses. Once posted, the file is housed on secure servers that 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 this to be a problem in the Microsoft products listed at the beginning of this article.


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:

Q249149 Installing Microsoft Windows 2000 and Windows 2000 Hotfixes

Additional query words:

Keywords : kbWin2000PreSP2Fix
Issue type : kbbug
Technology : kbwin2000AdvServ kbwin2000AdvServSearch kbwin2000S kbwin2000Ssearch kbwin2000Search kbwin2000ProSearch kbwin2000Pro


Last Reviewed: February 22, 2001
© 2001 Microsoft Corporation. All rights reserved. Terms of Use.


Article ID: Q286360

Last Reviewed:
February 22, 2001

Send to a friend

Provided by
Microsoft Product Support Services


Did the information in this article help answer your question?

Yes
No
Did not apply

Please provide additional comments about this information.
(255 character max)