Where are exactly the update conditions defined? in here?
<propertiesBasedSyncOptions>
<mainIdentifier>"CN=" +
srcBean.getDatasetFirstValueById("cn") +
",OU=IDVault,DC=testdir,DC=Organization,DC=com"</mainIdentifier>
<defaultDelimiter>;</defaultDelimiter>
<defaultPolicy>FORCE</defaultPolicy>
<conditions>
<create>false</create>
<delete>false</delete>
*<update>condition</update>??*
</conditions>
Or is something at attribute level?
On 14 November 2012 17:21, Clément OUDOT <[email protected]> wrote:
>
>
> 2012/11/14 Emilio García <[email protected]>
>
>> Good day everyone!
>>
>> I have now a lovely OpenLDAP --> AD sync working fine in place. I would
>> like now to sync the OpenLDAP to AD passwords. So I have a custom attribute
>> in OpenLdap with a cleartext (soon to be encrypted AES values) which I want
>> to update to AD.
>>
>> Now the logic I want to implement is this:
>>
>> if (canBind(user,openldapAttributePasswdValue))
>> doNothing
>> else
>> updateUnicodePwdInAD
>>
>> How can I plug this into the xml logic? Specially the doNothing part.
>>
>
>
> You can create a separate task just for password and set the update
> condition to !canBind(user,
> openldapAttributePasswdValue)
>
>
> Clément.
>
>
--
*Emilio Garcia*
Systems Developer, Cloudreach Limited
[t] +44 20 7183 3893 (ext. 403)
[m] +44 7958 036 743
Cloudreach Limited is a limited company registered in England with registered
number 06975407
The above terms reflect a potential business arrangement, are provided solely
as a basis for further discussion,
and are not intended to be and do not constitute a legally binding obligation.
No legally binding obligations
will be created, implied, or inferred until an agreement in final form is
executed in writing by all parties involved.
This email may be confidential or privileged. If you received this
communication by mistake, please don't forward
it to anyone else, please erase all copies and attachments, and please let us
know that it has gone to the wrong person.
_______________________________________________________________
Ldap Synchronization Connector (LSC) - http://lsc-project.org
lsc-users mailing list
[email protected]
http://lists.lsc-project.org/listinfo/lsc-users