Microsoft KB Archive/215360

= PRB: No GUID Available for the cn=Administrator Object =

Article ID: 215360

Article Last Modified on 6/11/2002

-

APPLIES TO


 * Microsoft Site Server 3.0 Standard Edition
 * 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= group and give the object SUPERBROKER privileges to the Membership Directory.



STATUS
This behavior is by design



Steps to Reproduce Behavior
To reproduce this issue, use these steps:

  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:// : /cn=Administrator,ou=Members,o= ")

'Attempt to retrieve the GUID attribute. WScript.Echo adsObject.Get("GUID")  Replace, and in the script with the information relevant to your configuration. Save the TestGuid.vbs file. Double-click the file to execute the script.

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

Additional query words: 8000500D

Keywords: kbprb KB215360

-

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

© Microsoft Corporation. All rights reserved.