Microsoft KB Archive/274761

= Advanced Attribute Flow Script Is Not Updated from Working Directory in Windows NT Management Agent =

Article ID: 274761

Article Last Modified on 1/25/2006

-

APPLIES TO


 * Microsoft Metadirectory Services 2.1
 * Microsoft Metadirectory Services 2.2 Service Pack 1

-



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 &quot;Advance.st&quot; and the inbound (update from working directory) file to &quot;Attflow.st&quot;.



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:

 Using Microsoft Windows Notepad (or a similar editor), open the At.st file located in the \Zoomserv\Bin\Init\At.st folder. Using your system's search function, find the line which begins with &quot;if $zcDsSystemType = NT&quot;. This block of template code introduces Windows NT-specific changes to the default behavior of the MA. Scroll down a few lines within this block of code until the following line is located:

$zcDsAttributeFlowScript = from_file(&quot;$v_directory\attflow.st&quot;)

 Change the preceding line to the following line:

$zcDsAttributeFlowScript = $from_file(&quot;$v_directory\advance.st&quot;)

 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:  Log on to Microsoft Metadirectory Services as the administrator.</li> Using the left-hand Actions panel, click Management Agents.</li> Using the right-hand Metaverse panel, select the target MA.</li> Using the left-hand Actions panel, click Properties.</li> Click the Recording Templates tab.</li> Click the Recording Templates tab again.</li> Scroll down until the following line is displayed:

(Attribute Flow = $TO_FILE(&quot;advance.st&quot;, $zcDsAttributeFlowScript, 0))

</li></ol>

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.

<div class="status_section">

STATUS
Additional query words: Zoomit Via MA zscript genlogs Recording Templates Management Agent MMS Metadirectory

Keywords: kbbug KB274761

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.