Microsoft KB Archive/285694

= The Connected Directory Flow Script Is Not Recorded to or Updated from the Working Folder =

Article ID: 285694

Article Last Modified on 1/25/2006

-

APPLIES TO


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

-



This article was previously published under Q285694



SYMPTOMS
When you record templates to the working folder for any Management Agent (MA), the connected directory flow script is not recorded to the working folder.



CAUSE
This problem can occur because the $To_File and $From_File functions which manage the connected directory flow script attribute, are missing from both the Record.exp and At.st files. These functions enable the templates to be written to and to be read from the MA's working folder.

Typically, this problem can occur if the connected directory flow script is blank. However, even if the connected directory flow script is not blank, the template contents are still not recorded to the working folder. Conversely, the same problem exists when you attempt to update the MA from the working folder: the connected directory flow script is not updated in the folder even if the corresponding file is present in the working folder.



RESOLUTION
To resolve this problem, use one of the following methods:

For an Existing MA
 In the MA, click the Properties button. Click the Recording Templates tab. Click the other Recording Templates tab. Locate the Template recorded: section. Locate the section that has lines beginning with &quot;(Attribute Flow =&quot;.  Add the following line to this section: (CD Flow Script = $TO_FILE(&quot;cdflow.st&quot;, $msMMS-DisconnectorFlowScript, 0))

</li> Click OK to save these changes.</li> In the MA, click the Properties button.</li> Click the Recording Templates tab.</li> Click the second Recording Templates tab.</li> Click the Record this MA's templates to its working directory button. This writes out the attributes of the current MA according to the instructions found in the Record.exp file.</li></ol>

NOTE: Ensure that you have something in the connected directory flow script, otherwise the file cannot be recorded out.

For all New MAs
Make the preceding changes to the Record.exp file located in the C:\Zoomserv\Data\Dsgates\ \Record.exp folder.

NOTE: The drive letter can vary and  is the MA type, for example, Exchange.

For this functionality to work for all new MAs, you need to update every existing MA and all subfolders of the DSGates folder.

To resolve the problem of the connected directory flow script not being updated from the working folder: <ol> Open the At.st file that is located in the C:\Zoomserv\Bin\Init folder (the drive letter can vary).</li>  There are two sections of code that need to be modified. Find the following lines of code (in Microsoft Metadirectory Services [MMS] version 2.2, this code is near line 1478, however, the line numbers may vary): if $instance(&quot;$dn&quot;) = F  then # Initialize settings for new MAs only # This implies that Attribute flow will not be updated on upgrade $zcDsUpdateMetaAttributes = Do not update $zcDsUpdateConnectorAttributes = Update all attributes $zcDsSimpleAttributeFlowScript = $from_file(&quot;$v_directory\simple.st&quot;) $zcDsAttributeFlowScript = $from_file(&quot;$v_directory\advance.st&quot;) $zcDsDisconnectionAttributeFlowScript = $from_file(&quot;$v_directory\discnct.st&quot;) </li>  Add the following line of code immediately after the preceding code: $msMMS-DisconnectorFlowScript = $from_file(&quot;$v_directory\cdflow.st&quot;) </li>  Locate the second section of code (in MMS version 2.2, this code is near line 1499, however, the line numbers may vary): if $instance(&quot;$dn&quot;) = T   then # Updating an MA    $zcDsDirectory = $get_attr(&quot;$dn&quot;, $zcDsDirectory) $zcMAUpdateFromWorkDir = $get_attr(&quot;$dn&quot;, $zcMAUpdateFromWorkDir) if $zcMAUpdateFromWorkDir = TRUE then $v_directory = $zcDsDirectory $zcDsSimpleAttributeFlowScript = $from_file(&quot;$v_directory\simple.st&quot;) $zcDsAttributeFlowScript = $from_file(&quot;$v_directory\advance.st&quot;) $zcDsDisconnectionAttributeFlowScript = $from_file(&quot;$v_directory\discnct.st&quot;) </li>  Add the following line of code immediately after the preceding section of code: $msMMS-DisconnectorFlowScript = $from_file(&quot;$v_directory\cdflow.st&quot;) </li> Save these changes to the file. No further changes are required. These changes can correct all existing, as well as any future, instances of the MAs.</li></ol>

<div class="status_section">

STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.

Additional query words: Zoomit mms metadirectory

Keywords: kbbug kbnofix kbenv KB285694

-

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

© Microsoft Corporation. All rights reserved.