I am changing SN value in Source and its not getting updated in destination
What can be the problem. Thanks Vipin Jain Simeio Receives Highest Score <https://www.simeiosolutions.com/home/pr-10-25-2016.html> by Gartner in Traditional/Legacy Workforce IDaaS Use Case [image: bird, blue, logo, marketing, media, network, online, social, twitter icon] <https://twitter.com/Simeio> [image: facebook, fb, network, social, white icon] <https://www.facebook.com/Simeio> [image: blue, box, linkedin, social icon] <https://www.simeiosolutions.com/home/website_linkedin?trid=1000001841527&uid=1927d4cbEcreg1p6m> On Mon, Nov 6, 2017 at 9:18 AM, Vipin Jain <[email protected]> wrote: > Yes, Below is the latest copy and it fails. Please help > > <?xml version="1.0" ?> > <lsc xmlns="http://lsc-project.org/XSD/lsc-core-2.1.xsd" revision="0"> > > <connections> > > <ldapConnection> > <name>opendj1</name> > <url>ldap://192.168.14.148:389/ou=americas,dc=example,dc=com</url> > <username>cn=Directory Manager</username> > <password>Example#2017!</password> > <authentication>SIMPLE</authentication> > <referral>IGNORE</referral> > <derefAliases>NEVER</derefAliases> > <version>VERSION_3</version> > <pageSize>-1</pageSize> > <factory>com.sun.jndi.ldap.LdapCtxFactory</factory> > <tlsActivated>false</tlsActivated> > </ldapConnection> > > <ldapConnection> > <name>opendj2</name> > <url>ldap://192.168.14.148:1389/ou=americas,dc=example,dc=com</url> > <username>cn=Directory Manager</username> > <password>Example#2017!</password> > <authentication>SIMPLE</authentication> > <referral>IGNORE</referral> > <derefAliases>NEVER</derefAliases> > <version>VERSION_3</version> > <pageSize>-1</pageSize> > <factory>com.sun.jndi.ldap.LdapCtxFactory</factory> > <tlsActivated>false</tlsActivated> > </ldapConnection> > > > > </connections> > > <audits> > > <csvAudit> > <name>csv</name> > <append>true</append> > <operations>create, update,delete</operations> > <file>/tmp/dump.csv</file> > <datasets>cn, dn</datasets> > <separator>,</separator> > </csvAudit> > </audits> > > <tasks> > > <task> > <name>MySyncTask</name> > <bean>org.lsc.beans.SimpleBean</bean> > <ldapSourceService> > <name>OpenDJ1Source</name> > <connection reference="opendj1" /> > <baseDn>ou=peoplenew</baseDn> > <pivotAttributes> > <string>mail</string> > </pivotAttributes> > <fetchedAttributes> > <string>cn</string> > <string>sn</string> > <string>objectClass</string> > <string>uid</string> > <string>mail</string> > </fetchedAttributes> > <getAllFilter>(objectClass=inetorgperson)</getAllFilter> > <getOneFilter>(&(objectClass=inetorgperson) > (mail={mail}))</getOneFilter> > <cleanFilter>(&(objectClass=inetorgperson) > (mail={mail}))</cleanFilter> > </ldapSourceService> > > <ldapDestinationService> > <name>OpenDJ2Dest</name> > <connection reference="opendj2" /> > <baseDn>ou=peoplenew</baseDn> > > <pivotAttributes> > <string>mail</string> > </pivotAttributes> > <fetchedAttributes> > <string>cn</string> > <string>sn</string> > <string>objectClass</string> > <string>uid</string> > <string>mail</string> > </fetchedAttributes> > <getAllFilter>(objectClass=inetorgperson)</getAllFilter> > <getOneFilter>(&(objectClass=inetorgperson) > (mail={mail}))</getOneFilter> > </ldapDestinationService> > > <propertiesBasedSyncOptions> > <mainIdentifier>"cn="+srcBean.getDatasetFirstValueById("cn") > +",ou=peoplenew"</mainIdentifier> > <defaultDelimiter>;</defaultDelimiter> > <defaultPolicy>FORCE</defaultPolicy> > <dataset> > <name>sn</name> > <policy>FORCE</policy> > <forceValues> > <string>js:(srcBean.getDatasetFirstValueById("sn") != null ? srcBean. > getDatasetFirstValueById("sn").toUpperCase() : > srcBean.getDatasetFirstValueById("cn") > )</string> > </forceValues> > </dataset> > <dataset> > <name>description</name> > <policy>FORCE</policy> > <forceValues> > <string>js:(srcBean.getDatasetFirstValueById("sn") != null ? srcBean. > getDatasetFirstValueById("sn").toUpperCase() : null )</string> > </forceValues> > </dataset> > <dataset> > <name>objectClass</name> > <policy>KEEP</policy> > <createValues> > <string>"inetOrgPerson"</string> > </createValues> > </dataset> > <dataset> > <name>userPassword</name> > <policy>KEEP</policy> > <createValues> > <string>"changethis"</string> > </createValues> > </dataset> > </propertiesBasedSyncOptions> > </task> > </tasks> > <security> > <encryption> > <keyfile>etc/lsc.key</keyfile> > <algorithm>AES</algorithm> > <strength>128</strength> > </encryption> > </security> > </lsc> > > > Thanks > > Vipin Jain > > Simeio Receives Highest Score > <https://www.simeiosolutions.com/home/pr-10-25-2016.html> by Gartner in > Traditional/Legacy Workforce IDaaS Use Case > [image: bird, blue, logo, marketing, media, network, online, social, > twitter icon] <https://twitter.com/Simeio> [image: facebook, fb, > network, social, white icon] <https://www.facebook.com/Simeio> [image: > blue, box, linkedin, social icon] > <https://www.simeiosolutions.com/home/website_linkedin?trid=1000001841527&uid=1927d4cbEcreg1p6m> > > > > > On Fri, Nov 3, 2017 at 3:02 PM, Vipin Jain <[email protected]> > wrote: > >> This one also fails >> >> <dataset> >> <name>sn</name> >> <policy>FORCE</policy> >> <forceValues> >> <string>srcBean.getDatasetFirstValueById("sn")</string> >> </forceValues> >> </dataset> >> >> >> Thanks >> >> Vipin Jain >> >> Simeio Receives Highest Score >> <https://www.simeiosolutions.com/home/pr-10-25-2016.html> by Gartner in >> Traditional/Legacy Workforce IDaaS Use Case >> [image: bird, blue, logo, marketing, media, network, online, social, >> twitter icon] <https://twitter.com/Simeio> [image: facebook, fb, >> network, social, white icon] <https://www.facebook.com/Simeio> [image: >> blue, box, linkedin, social icon] >> <https://www.simeiosolutions.com/home/website_linkedin?trid=1000001841527&uid=1927d4cbEcreg1p6m> >> >> >> >> >> On Fri, Nov 3, 2017 at 2:29 PM, Vipin Jain <[email protected]> >> wrote: >> >>> I tried with below value but its not updating it >>> >>> <dataset> >>> <name>sn</name> >>> <policy>FORCE</policy> >>> <defaultValues> >>> <string>"changethis"</string> >>> </defaultValues> >>> <forceValues> >>> <string>"user"</string> >>> </forceValues> >>> <createValues></createValues> >>> </dataset> >>> >>> Thanks >>> >>> Vipin Jain >>> >>> Simeio Receives Highest Score >>> <https://www.simeiosolutions.com/home/pr-10-25-2016.html> by Gartner in >>> Traditional/Legacy Workforce IDaaS Use Case >>> [image: bird, blue, logo, marketing, media, network, online, social, >>> twitter icon] <https://twitter.com/Simeio> [image: facebook, fb, >>> network, social, white icon] <https://www.facebook.com/Simeio> [image: >>> blue, box, linkedin, social icon] >>> <https://www.simeiosolutions.com/home/website_linkedin?trid=1000001841527&uid=1927d4cbEcreg1p6m> >>> >>> >>> >>> >>> On Fri, Nov 3, 2017 at 12:21 PM, Vipin Jain <[email protected]> >>> wrote: >>> >>>> Team, >>>> >>>> Trying to have attribute updates between directories after initial >>>> migration and seeing not able to do it. Below is the dataset i am using >>>> >>>> <dataset> >>>> <name>sn</name> >>>> <policy>FORCE</policy> >>>> <defaultValues> >>>> <string>"changethis"</string> >>>> </defaultValues> >>>> <forceValues></forceValues> >>>> <createValues></createValues> >>>> </dataset> >>>> >>>> >>>> Thanks >>>> >>>> Vipin Jain >>>> >>>> >>>> >>>> >>> >> > -- The information in this message may contain confidential information and may be legally privileged. It is intended solely for the individual(s) named. Access to this email by anyone else is unauthorized. Please notify the sender immediately if you have received this email by mistake and delete this email from your system. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. Email transmission cannot be guaranteed to be secure or error-free, as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. When addressed to our clients any decisions or recommendations contained in this email are subject to the terms and conditions expressed our contract and related statement of work letter(s)
_______________________________________________________________ Ldap Synchronization Connector (LSC) - http://lsc-project.org lsc-users mailing list [email protected] https://lists.lsc-project.org/cgi-bin/mailman/listinfo/lsc-users

