Advanced Attribute Flow Script Is Not Updated from Working Directory in Windows NT Management Agent (274761)



The information in this article applies to:

  • Microsoft Metadirectory Services 2.1
  • Microsoft Metadirectory Services 2.2

This article was previously published under Q274761

SYMPTOMS

When you configure the Microsoft Windows NT Management Agent (MA) to update its templates from its working directory, the advanced attribute flow script is not updated from the file specified in the MA recording template (zcDseRecord).

CAUSE

This behavior may occur because the advanced attribute flow script is stored as the zcDsAttributeFlowScript attribute. The advanced attribute flow update behavior involves the At.st file in the \Zoomserv\Bin\Init folder.

For the Windows NT MA only, the MA update template sets the outbound (save) file to "Advance.st" and the inbound (update from working directory) file to "Attflow.st".

RESOLUTION

To resolve this behavior, you must first consider the following two issues, and then follow the steps after these issues:

  • First, if an existing Windows NT MA could not be updated from its working directory, you must make changes to correct that particular MA.
  • Second, to correct for any future Windows NT MAs which may be created, the master Windows NT template must be corrected. A single change corrects both situations in this case. This behavior is unusual, as generally, all MA attributes are stored within the directory itself. However, in this case, the template which is referenced when the MA updates itself is not stored in the MA, but it is retained in the file system in the \Zoomserv\Bin\Init folder. A single copy for all MAs is retained in the file system.

Changing the ZcDseRecord Attribute

In order to correct the preceding behavior for all MAs, changes must be made to the At.st file in the \Zoomserv\Bin\Init folder, by performing the following steps:
  1. Using Microsoft Windows Notepad (or a similar editor), open the At.st file located in the \Zoomserv\Bin\Init\At.st folder.
  2. Using your system's search function, find the line which begins with "if $zcDsSystemType = NT". This block of template code introduces Windows NT-specific changes to the default behavior of the MA.
  3. Scroll down a few lines within this block of code until the following line is located:

    $zcDsAttributeFlowScript = from_file("$v_directory\attflow.st")

  4. Change the preceding line to the following line:

    $zcDsAttributeFlowScript = $from_file("$v_directory\advance.st")

  5. Save and close the file.
The preceding information is the corresponding inbound configuration which compliments the outbound configuration in the MA. The inbound configuration can be verified by performing the following steps:
  1. Log on to Microsoft Metadirectory Services as the administrator.
  2. Using the left-hand Actions panel, click Management Agents.
  3. Using the right-hand Metaverse panel, select the target MA.
  4. Using the left-hand Actions panel, click Properties.
  5. Click the Recording Templates tab.
  6. Click the Recording Templates tab again.
  7. Scroll down until the following line is displayed:

    (Attribute Flow = $TO_FILE("advance.st", $zcDsAttributeFlowScript, 0))

The following items must be verified before you update the MAs templates:
  1. Verify that the contents of the Advance.st file (in the working directory of the MA to be updated) contains the proper instructions.
  2. You are not required to stop the server during this procedure. In fact, to update the MA, you must be logged on to the system with sufficient privilege. Usually, this means administrative privilege.

STATUS


Modification Type:MinorLast Reviewed:1/25/2006
Keywords:kbbug KB274761