2012/11/15 Emilio García <[email protected]> > 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>(&(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. > >
use forceLValues instead of defaultValues.
_______________________________________________________________ Ldap Synchronization Connector (LSC) - http://lsc-project.org lsc-users mailing list [email protected] http://lists.lsc-project.org/listinfo/lsc-users

