PRB: Active User Object (AUO) for Session State Not Working with Cookie AuthenticationID: Q222141
|
When a client authenticated via Automatic Cookie Authentication accesses a page that uses an AUO provider configured to write to the ou=Dynamic contain, you may encounter the following error:
Membership.UserObjects error '80020009'
An error occurred in loading the container in which the user object is created.
When authenticating anonymous users, AUO attempts to create a sub-contaner named ou=AnonymousUsers. In this scenario, the container it is attempting to create a sub-container in (ou=Dynamic) is designated for Dynamic Objects only. A container designated for Dynamic Objects is marked with the containsDynamicOnly attribute so it cannot contain anything but dynamic objects.
The configuration of the AUO provider should be modified so that AUO will not attempt to create a sub-container for objects associated with cookie authenticated clients. To do this, you must reconfigure the path suffix of the AUO provider to use the specific user property that is used for naming the object, typically the cn attribute. You can accomplish this by doing the following:
<server>:<port>/o=<realm>/ou=Dynamic/cn=
This behavior is by design.
To keep dynamic objects from being written to disk, the container for the object must be marked with the "containsDynamicOnly" flag. This is explained in the following article in the Microsoft Knowledge Base:
Q194720 Dynamic Data is Written to DiskAn alternative to creating a container and marking it with the "containsDynamicOnly" flag is to use the existing ou=Dynamic container. If ou=Dynamic is used, dynamic objects in use will not be visible via the MMC.
Build Active Directory Services (ADS) path<BR/>
<server>:<port>/o=<realm>/ou=SessionStateData<BR/>
Path suffix:
x User name
Build Active Directory Services (ADS) path
<server>:<port>/o=<realm>/ou=SessionStateData/cn=
Path suffix:
x User property
Property: cn
Using the Membership Directory and Active User Object (AUO) for Session State Data
Q194720 Dynamic Data is Written to Disk
Additional query words:
Keywords : prodsitesrv3
Version : winnt:3.0
Platform : winnt
Issue type : kbprb
Last Reviewed: March 26, 1999