How to Configure the Reports Management Agent to List Disconnected Entries (287535)



The information in this article applies to:

  • Microsoft Metadirectory Services 2.1
  • Microsoft Metadirectory Services 2.2

This article was previously published under Q287535

SUMMARY

This article discusses how to configure a Reports Management Agent to list disconnected entries from the connector name space. A disconnector is an entry in the connector namespace that is not joined to an entry in the metaverse. With a large folder it can be difficult to find a specific entry in the connector namespace. The Reports Management Agent can assist you to find the disconnected entries.

By default, the Reports Management Agent is configured to report on metaverse objects only.

MORE INFORMATION

To create an instance of the Reports Management Agent and to configure the Inclusion template:
  1. Click the Server object in the directory tree, and then click the Create New Management Agent action.
  2. Click Name the Management Agent, and then click Report Management Agent from the drop-down list.
  3. Click Create. This action opens the Configure Management Agent dialog box. Both the Inclusion and Exclusion templates are displayed.
  4. Click the Inclusion tab. The following template is displayed:
    condition 01
    $mv_object_class("zcperson") = TRUE
    						
  5. Remove the preceding code and replace it with the following code:
    condition 01
    $structuralObjectClass = zcExcludedAliasThing
    						
  6. Click OK.
You must edit the Management Agent (MA) script so that the import program (Importt.exe) can read the connector namespace:
  1. Click the Reports Management Agent that you just created, and then click the Design MA action.
  2. Click the Report Generation Script tab.
  3. In the script template you can observe the following command line which runs the script:
    # Generate the report
    EXECUTE importt -updateDib -populator/update -currentDn "%dn%" +
                                     -logFileName %zcDsDirectory%\dsforn.log
    
    						
  4. Add the -PopulateDSA switch to the command line, which should resemble:
    EXECUTE importt -PopulateDSA -updateDib -populator/update -currentDn "%dn%" +
                                     -logFileName %zcDsDirectory%\dsforn.log
    						
  5. Click OK to save your changes.
You can run the Report Management Agent to generate the report. All objects that have a zcExcludedAliasThing object class are included in the report. You can observe containers, as well as person objects, in the report.

NOTE: One limitation to the preceding process is that when you run your computer in Delta mode, there are no objects listed in the report. This behavior is by design as the connector space objects are ignored when you run your computer in Delta mode.

Modification Type:MinorLast Reviewed:1/25/2006
Keywords:kbenv kbinfo KB287535