PRB: No GUID Available for the cn=Administrator ObjectID: Q215360
|
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:
0x8000500D (E_ADS_PROPERTY_NOT_FOUND).
The default Administrator Member object that is created with each new Membership Directory does not have the GUID attribute set.
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.
This behavior is by design
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")
Additional query words:
Keywords :
Version : winnt:2.0,3.0
Platform : winnt
Issue type : kbprb
Last Reviewed: July 27, 1999