Re: eDir2eDir ou placement policy

On Wed, 16 Nov 2011 15:46:02 +0000, robertmeier83 wrote:> 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

Interesting. So, conceptually, how do you decide that users from OU=TESTgo in OU=01? Is there a 1:1 mapping between these two hierarchicalstructures, only with different naming?

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

You're using the value of 'L', why? Does it contain useful information?

Let's see a level 3 trace of an <add> operation being processed by yourrule, so we can see what information you have to start with, and theresults of processing it.

> 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?

Given that this is eDirectory, you want your dest dn in slash format, notLDAP, so:> <col>OU=01,OU=SAMPLE,DC=DE</col>

Re: eDir2eDir ou placement policy

On Fri, 18 Nov 2011 11:46:02 +0000, robertmeier83 wrote:

> Is the "no-dn-generated" a problem, because there is no entry found in> the table? How to handle> entries which are not an the table?

Usually, I assign the result of token-map to a variable, so I can checkit to see if I got anything. If nothing returned, the variable is empty,and I can react (send email, establish a default, veto because it's anerror, etc.) to it.

The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.