Mh I am trying just to reset the password with this:

<ldapDestinationService>
                <name>ad-dst-service</name>
                <connection reference="ldap-dst-conn" />

<baseDn>OU=IDVault,DC=testdir,DC=organization,dc=com</baseDn>
                <pivotAttributes>
                    <string>description</string>
                </pivotAttributes>
                <fetchedAttributes>
                    <string>description</string>
                    <string>cn</string>
 <string>unicodePwd</string>
<!--<string>userPassword</string>-->
                </fetchedAttributes>
                <getAllFilter>(objectClass=user)</getAllFilter>

<getOneFilter>(&amp;(objectClass=user)(description={entryUUID}))</getOneFilter>
            </ldapDestinationService>
            <propertiesBasedSyncOptions>
                <mainIdentifier>"CN=" +
srcBean.getDatasetFirstValueById("cn") +

",OU=IDVault,DC=testdir,DC=organization,DC=com"</mainIdentifier>
                <defaultDelimiter>;</defaultDelimiter>
                <defaultPolicy>KEEP</defaultPolicy>
                <conditions>
                    <create>false</create>
<update>true</update>
 <delete>false</delete>
<changeId>false</changeId>
                </conditions>
<dataset>
<name>unicodePwd</name>
 <policy>FORCE</policy>
<createValues>
<string>AD.getUnicodePwd("Changeth1s!")</string>
 </createValues>
</dataset>
            </propertiesBasedSyncOptions>

I run it with -s all but nothing seems to get synced...

Nov 15 10:40:57 - INFO  - All entries: 367, to modify entries: 0,
successfully m
odified entries: 0, errors: 0

Why is not getting the True in the update condition? I had marked the
attribute as FORCE too.

Thanks!

On 15 November 2012 08:34, Clément OUDOT <[email protected]> wrote:

>
>
> 2012/11/15 Emilio García <[email protected]>
>
>> 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?
>>
>>
> No, you found the right place, this in in <conditions>.
>
> Clément.
>
>

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

Reply via email to