Hope somebody can help me with this.

I am trying to trap an error when a user create fails in a down stream
directory from my vault. What I need is to get back the DN so that I can
process mail correctly. Right now I am having trouble getting the DN
back on the error.

What i have so far for my test code

output transform has the following code for preloading DN.

<rule>
<description>Add payload data to create operations</description>
<conditions>
<and>
<if-operation mode="nocase" op="equal">modify</if-operation>
</and>
</conditions>
<actions>
<!-- Add a operation data payload element to pick up result of a
password operation -->
<do-append-xml-element expression="operation-data" name="modify"/>
<do-append-xml-text expression="operation-data/userDN">
<arg-string>
<token-src-dn/>
</arg-string>
</do-append-xml-text>
</actions>
</rule>


My input transform contains the following code to capture the error.

<rule>
<description>TRW IDV Error Control</description>
<conditions>
<and>
<if-operation mode="case" op="equal">status</if-operation>
<if-xpath op="true">self::status[@level = 'error']</if-xpath>
</and>
</conditions>
<actions>
<do-trace-message>
<arg-string>
<token-text xml:space="preserve">IDV ERROR </token-text>
<token-xpath expression="self::status/child::text()"/>
<token-text xml:space="preserve"> DN = </token-text>
<token-xpath
expression="self::status/operation-data/userDN/text()"/>
</arg-string>
</do-trace-message>
</actions>
</rule>

I get everything but the DN.

Any Ideas?


--
stuartbyrnes
------------------------------------------------------------------------
stuartbyrnes's Profile: http://forums.novell.com/member.php?userid=14194
View this thread: http://forums.novell.com/showthread.php?t=371126