Issue #110 has been updated by Jonathan Clarke.

Cl?ment Oudot wrote:
> I'm sorry, I just tested this morning (with the 1.1-SNAPSHOT) and I still 
> have the pb.
> 
> I have this in lsc.properties:
> [...]
> 
> And in DEBUG:
<pre>
[main] DEBUG  
org.lsc.beans.BeanComparator.getModifyEntry(BeanComparator.java:342)   - 
Checking if attribute userpassword is modified.
[main] DEBUG  
org.lsc.beans.BeanComparator.getModifyEntry(BeanComparator.java:347)   - Adding 
modification for attribute userpassword.
</pre>

You can't be using the latest snapshot. I've added a line of log between those 
two lines:
<pre>
LOGGER.debug("Attribute " + dstAttr.getID() + ": source values are " + srcAttr 
+ ", old values were " + dstAttr + ", new values are " + toReplaceAttr);
</pre>

Which should display something (admittely ugly, but still) like:
<pre>
[java] 397  - DEBUG - Attribute userPassword: source values are userPassword: 
[B at e4ac00c, old values were userPassword: [B at 4d865b28, new values are 
userPassword: [B at e4ac00c
</pre>

Can you please check that you are using the latest SNAPSHOT? Or, better still, 
try out the 1.1.0-rc1 version?

Thanks,
Jonathan
----------------------------------------
Bug #110: userPassword is always modified
http://tools.lsc-project.org/issues/show/110

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


Hi,

just updated my connector and I see that my attribute userPassword is always 
updated, which is strange because it is in clear text (SASL) and the same in 
source and destination.

The config is:
<pre>
lsc.syncoptions.user = org.lsc.beans.syncoptions.PropertiesBasedSyncOptions
lsc.syncoptions.user.default.action = F
# userPassword <- sAMAccountName
lsc.syncoptions.user.userPassword.default_value = "{SASL}" + 
srcBean.getAttributeValueById("sAMAccountName") + "@example.com"
</pre>

userPassword is declared in lsc.tasks.user.dstService.attrs

Do you have an idea?


-- 
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/20090722/3439edf3/attachment-0001.htm>

Reply via email to