PRB: No GUID Available for the cn=Administrator Object (215360)



The information in this article applies to:

  • Microsoft Site Server 3.0
  • Microsoft Active Directory Service Interfaces 2.0
  • Microsoft Active Directory Service Interfaces 2.5

This article was previously published under Q215360

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.

Modification Type:MajorLast Reviewed:6/11/2002
Keywords:kbprb KB215360