Issue #47 has been updated by Jonathan Clarke.

Assigned to changed from Cl?ment Oudot to Jonathan Clarke

J?r?me Schell wrote:
> I just need the DN of the entry being synchronized that's why I was using 
> soc.getDistinguishName().
> Nevertheless I solved this issue by constructing myself the DN but I thought 
> that this method should return a valid result too ;)

You are referring to the getDistinguishName() method in the LscObject class. 
This bug refers to the method with the same name in the AbstractBean class. I 
have therefore opened Bug #64, about the bug you're seeing. Of course, it may 
well be directly linked to this bug...
----------------------------------------
Bug #47: srcBean.getDistinguishName does not works like expected
http://tools.lsc-project.org/issues/show/47

Author: Cl?ment Oudot
Status: Feedback
Priority: Normal
Assigned to: Jonathan Clarke
Category: Core
Target version: 1.1.0


Hello,

I try to use this to select branches :

<pre>
lsc.tasks.inetOrgPerson.condition.create = 
srcBean.getDistinguishName().toLowerCase().matches(".*((ou=users)|(ou=admin)).*")
</pre>

but the result of srcBean.getDistinguishName() is the generated DN and not the 
orginal DN, so the test does not work.

But when looking in log, we see the wanted DN because the logger use "id".


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://tools.lsc-project.org/my/account
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://lists.lsc-project.org/pipermail/lsc-dev/attachments/20090609/ebe04a54/attachment.htm>

Reply via email to