Dynamic Data is Written to DiskID: Q194720
|
When you create and modify dynamic objects in the Site Server 3.0 Membership directory, the dynamic object's data is written to the Membership directory's database instead of being kept in memory.
This is typically caused by creating dynamic objects in containers that have not been marked with the "containsDynamicOnly" flag. Without this flag, the Membership directory treats dynamic objects the same as any other object and writes the information to its database.
The containsDynamicOnly attribute cannot be set from the Microsoft Management Console (MMC). It must be set at the time the container is created. The following code demonstrates this procedure:
Dim adsRoot
Dim adsNewCont
Dim strLdapPath
Dim strAdmin
Dim strAdminPwd
strLdapPath = "LDAP://localhost:389/o=Microsoft"
strAdmin = "cn=Administrator,ou=Members,o=Microsoft"
strAdminPwd = "password"
Set adsRoot = GetObject("LDAP:")
Set adsRoot = adsRoot.OpenDSObject(strLdapPath, strAdmin, _
strAdminPwd, 0)
Set adsNewCont = adsRoot.Create("organizationalUnit",
"ou=DynamicObj")
adsNewCont.Put "containsDynamicOnly", CInt(1)
adsNewCont.SetInfo
When the containsDynamicOnly attribute is set on a container, any objects
created in the container are only kept in memory and, therefore, should
not be used for anything but storing dynamic objects. Also, once this flag
has been set, it cannot be removed.
Additional query words: kbDSupport
Keywords : prodsitesrv3 kbfix4.00.sp4
Version : WINNT:3.0
Platform : winnt
Issue type : kbprb
Last Reviewed: July 19, 1999