We are synchronizing the "Postal Address". During a normal synch the
driver maintains the structured format and writes it to the destination
in the expected format.

However, we have a policy that does a set dest attr value using the src
attr value of Postal Address as well. When we do this, it loses the
structured format and places the entire value into a single string.

Trace snippet:


Code:
--------------------

meta-ldap-anon ST: Performing actions for local-variable(current-node) = "Postal Address".
meta-ldap-anon ST: Action: do-if().
meta-ldap-anon ST: Evaluating conditions.
meta-ldap-anon ST: Expanded variable reference '$current-node$' to 'Postal Address'.
meta-ldap-anon ST: Query from policy
meta-ldap-anon ST:
<nds dtdversion="3.5" ndsversion="8.x">
<source>
<product version="3.6.10.4747">DirXML</product>
<contact>Novell, Inc.</contact>
</source>
<input>
<query class-name="User" dest-dn="\META-TEST\data\people\w536l817" dest-entry-id="409368" scope="entry">
<read-attr attr-name="Postal Address"/>
</query>
</input>
</nds>
meta-ldap-anon ST: Pumping XDS to eDirectory.
meta-ldap-anon ST: Performing operation query for \META-TEST\data\people\w536l817.
meta-ldap-anon ST: Query from policy result
meta-ldap-anon ST:
<nds dtdversion="3.5" ndsversion="8.x">
<source>
<product version="3.6.10.4747">DirXML</product>
<contact>Novell, Inc.</contact>
</source>
<output>
<instance class-name="User" qualified-src-dn="O=data\OU=people\CN=w536l817" src-dn="\META-TEST\data\people\w536l817" src-entry-id="409368">
<association state="associated">uid=w536l817,ou=people,dc=top,d c=secret</association>
<attr attr-name="Postal Address">
<value timestamp="1250141388#235" type="structured">
<component name="string">2530 South Main Circle</component>
<component name="string">Boomtown</component>
<component name="string">KS</component>
<component name="string"/>
<component name="string"/>
<component name="string"/>
</value>
</attr>
</instance>
<status level="success"></status>
</output>
</nds>
meta-ldap-anon ST: (if-src-attr '$current-node$' available) = TRUE.
meta-ldap-anon ST: Performing if actions.
meta-ldap-anon ST: Action: do-set-dest-attr-value("$current-node$",token-src-attr("$current-node$")).
meta-ldap-anon ST: Expanded variable reference '$current-node$' to 'Postal Address'.
meta-ldap-anon ST: arg-string(token-src-attr("$current-node$"))
meta-ldap-anon ST: token-src-attr("$current-node$")
meta-ldap-anon ST: Expanded variable reference '$current-node$' to 'Postal Address'.
meta-ldap-anon ST: Token Value: "2530 South Main CircleBoomtownKS".
meta-ldap-anon ST: Arg Value: "2530 South Main CircleBoomtownKS".

--------------------


Not sure how to remedy this one!? Any ideas?


--
Troy Moreland
Founder & CTO
Identity Automation, LP

we're hiring! http://www.identityautomation.com/careers
------------------------------------------------------------------------
tbmoreland's Profile: http://forums.novell.com/member.php?userid=14837
View this thread: http://forums.novell.com/showthread.php?t=384840