I have created a mapping table that has a context code and a context field
and I want to place users into the correct context in my eDir tree based on
the context code. Here is the table structure and a sample record.
<?xml version="1.0" encoding="UTF-8"?><mapping-table>

<col-def name="Location" type="nocase"/>

<col-def name="Department" type="nocase"/>

<col-def name="Context Code" type="numeric"/>

<col-def name="Context" type="nocase"/>

<row>

<col>21ST</col>

<col>BUSSVC</col>

<col>1002</col>

<col>BUSSVC.21ST</col>

</row>

I need to place the organization value twc_nyc onto the context value for
proper placement. I am having trouble creating the policy to do this. This
is the xml I have come up with so far.

<rule>

<description>User Placement by Mapping Table</description>

<conditions>

<and>

<if-class-name mode="nocase" op="equal">User</if-class-name>

</and>

</conditions>

<actions>

<do-set-op-dest-dn>

<arg-dn>

<token-map dest="Context Code" src="Context Code"
table="\[root]\TWC_NYC\services\Flattree\eDirectory Driver\Context
Mapping"/>

</arg-dn>

</do-set-op-dest-dn>

</actions>

Thank you.