PRB: No GUID Available for the cn=Administrator Object

ID: Q215360


The information in this article applies to:
  • Microsoft Site Server version 3.0
  • Microsoft Active Directory Service Interfaces, versions 2.0, 2.5


SYMPTOMS

When attempting to retrieve the globally unique identifier (GUID) attribute of the cn=Administrator object in the Site Server Membership Directory using Active Directory Service Interfaces (ADSI), ADSI causes the following error message to appear:

0x8000500D (E_ADS_PROPERTY_NOT_FOUND).


CAUSE

The default Administrator Member object that is created with each new Membership Directory does not have the GUID attribute set.


RESOLUTION

Do not attempt to retrieve the GUID attribute of the cn=Administrator object. If your code is reliant on a Member object with Administrator privileges, create a new Member object. Add them to the cn=AdminGroup,ou=Members,o=<realm> group and give the object SUPERBROKER privileges to the Membership Directory.


STATUS

This behavior is by design


MORE INFORMATION

Steps to Reproduce Behavior

To reproduce this issue, use these steps:

  1. Create a new file named TestGuid.vbs then copy and paste the following code:

    
       Dim adsObject
    
       'Bind to the cn=Administrator object.
       Set adsObject = GetObject("LDAP://<server>:<port>/cn=Administrator,ou=Members,o=<realm>")
    
       'Attempt to retrieve the GUID attribute.
       WScript.Echo adsObject.Get("GUID") 


  2. Replace <server>, <port> and <realm> in the script with the information relevant to your configuration.


  3. Save the TestGuid.vbs file.


  4. Double-click the file to execute the script.


RESULTS: Windows Script Host should generate the run-time error 0x8000500D.

Additional query words: 8000500D

Keywords : kbADSI
Version : winnt:2.0,2.5,3.0
Platform : winnt
Issue type : kbprb


Last Reviewed: October 19, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.