Dear everybody,

I hope you can help me with the following problem:

We have a eDir (with hierarchy) to eDir (with hierarchy). The sync is
working.

But there is one problem: The hierarchy on the first eDir is not the
same as the hierarchy on the second eDir.

eDir1: DE\SAMPLE\TEST

DC=DE, OU=SAMPLE, OU=TEST

is in the second

eDir2: DE\SAMPLE\01.

DC=DE, OU=SAMPLE, OU=01

My first idea: publisher-placement-policy with mapping-table. I hope
this is correct?

I found a sample xml-script for a rule which I a have modified a bit (i
don't know if this is correct):

<rule>
<description>Organizational Unit Placement Policy by Mapping
Table</description>
<conditions>
<and>
<if-class-name mode="nocase" op="equal">Organizational
Unit</if-class-name>
<if-src-dn op="in-subtree">DE\SAMPLE</if-src-dn>
</and>
</conditions>
<actions>
<do-set-op-dest-dn>
<arg-dn>
<token-src-dn convert="true" length="1" start="-1"/>
<token-text xml:space="preserve">,</token-text>
<token-map dest="destination" src="source"
table="..\ou-placement-table">
<token-op-attr name="L"/>
</token-map>
</arg-dn>
</do-set-op-dest-dn>
</actions>
</rule>

and a placement table like this:

<mapping-table>
<col-def name="source" type="nocase"/>
<col-def name="destination" type="nocase"/>
<row>
<col>TEST</col>
<col>OU=01,OU=SAMPLE,DC=DE</col>
</row>
</mapping-table>

Can you help and show me how to create a mapping?


--
robertmeier83
------------------------------------------------------------------------
robertmeier83's Profile: http://forums.novell.com/member.php?userid=110605
View this thread: http://forums.novell.com/showthread.php?t=448296