I am trying to develop a driver to list users that do not have
DirXML-Association between my two eDirectory trees. I am trying to use
the structured mode to find a component name equal to the specific
driver. Here is the xml code that designer has generated and the
portion of the trace that is relevant. Any help would be appreciated.



XML

<?xml version="1.0" encoding="UTF-8"?><policy>
<rule>
<description>vetoAssociatedUsers</description>
<conditions>
<and>
<if-src-attr mode="structured" name="DirXML-Associations"
op="equal">
<component
name="volume">tps\system\IDVaultDriverSet\vaultToU SD501</component>
</if-src-attr>
</and>
</conditions>
<actions>
<do-veto/>
</actions>
</rule>
</policy>




LEVEL 3 TRACE

<nds dtdversion="4.0" ndsversion="8.x">
<source>
<product edition="Standard" version="4.0.1.0">DirXML</product>
<contact>Novell, Inc.</contact>
</source>
<output>
<instance class-name="User"
qualified-src-dn="O=tps\OU=domainServices\OU=Staff\CN=XXXXX"
src-dn="\VAULT\tps\domainServices\Staff\XXXXX" src-entry-id="90787">
<association state="migrate"></association>
<attr attr-name="DirXML-Associations">
<value timestamp="1343069758#1" type="structured">
<component name="nameSpace">1</component>
<component
name="volume">\VAULT\tps\system\IDVaultDriverSet\v aultToUSD501</component>
<component
name="path">{3F152633-B449-294a-8DA7-3F152633B449}</component>
</value>
<value timestamp="1359566938#2" type="structured">
<component name="nameSpace">4</component>
<component
name="volume">\VAULT\tps\system\IDVaultDriverSet\d t-NoUSD501Association</component>
<component name="path"/>
</value>
</attr>
</instance>
<status level="success"></status>
</output>
</nds>
[01/30/13 11:29:03.886]:NOT ST: (if-src-attr 'DirXML-Associations'
equal {volume="tps\system\IDVaultDriverSet\vaultToUSD501 "}) = FALSE.
[01/30/13 11:29:03.886]:NOT ST: Rule rejected.
[01/30/13 11:29:03.887]:NOT ST:Policy returned:


--
jschwill
------------------------------------------------------------------------
jschwill's Profile: https://forums.netiq.com/member.php?userid=2209
View this thread: https://forums.netiq.com/showthread.php?t=46672