Can you paste the new javascript expression ? Regards, -- Sebastien BAHLOUL IAM / Security specialist Ldap Synchronization Connector : http://lsc-project.org Blog : http://sbahloul.wordpress.com/
2011/9/29 Marcio Ricardo Schneider <[email protected]> > Sorry folks, the email was stuck on my antispam system.**** > > ** ** > > Now the error is: **** > > ** ** > > C:\lsc-1.2.1\bin>lsc.bat -f c:\lsc-1.2.1\etc -s replica_ListasEmail**** > > Sep 29 16:46:35 - INFO - Starting sync for replica_ListasEmail**** > > Sep 29 16:46:35 - INFO - Connecting to LDAP server ldap:// > 172.23.0.79:389/dc=sicredi,dc=com,dc=br anonymously**** > > Sep 29 16:46:36 - INFO - Connecting to LDAP server ldap:// > 172.23.134.52:389/DC=sicredi-hom,DC=net,DC=br as > CN=administrator,CN=Users,DC=sicredi-hom,DC=net,DC=br**** > > ** ** > > Sep 29 16:46:37 - ERROR - Error while synchronizing ID > {uid=accenture_incidentes_terceiros}: > org.mozilla.javascript.EvaluatorException: Java class "java.lang.Object" has > no public instance field or method named "1". (<cmd>#1)Sep 29 16:46:37 - > ERROR - All entries: 1, to modify entries: 0, modified entries: 0, errors: 1 > **** > > ** ** > > *De:* Sébastien Bahloul [mailto:[email protected]] > *Enviada em:* quinta-feira, 29 de setembro de 2011 16:41 > *Para:* Marcio Ricardo Schneider > *Cc:* [email protected] > *Assunto:* Re: [lsc-users] Problem merging two attributes to one**** > > ** ** > > Hi Marcio, **** > > ** ** > > Does Xavier's answer solve your issue ?**** > > ** ** > > Regards,**** > > ** ** > > -- > Sebastien BAHLOUL > IAM / Security specialist > Ldap Synchronization Connector : http://lsc-project.org > Blog : http://sbahloul.wordpress.com/ > > > **** > > 2011/9/28 Xavier Montagutelli <[email protected]>**** > > On Tuesday 27 September 2011 20:26:43 Marcio Ricardo Schneider wrote: > > Hi folks, I need some help here. > > > > I'm synchronizing groups from LDAP to AD. When I try to replicate two > > attributes "mailalternateaddress" and "mail" to active directory > > "proxyAddresses" attribute I'm getting the error: > > > > > > ERROR - Error while synchronizing ID > {uid=accenture_incidentes_terceiros}: > > org.mozilla.javascript.EvaluatorException: missing ; before statement > > (<cmd>#1) > > > > I'm trying to insert a string inside an array with "push". > > > > Below it's the relevant config: > > > > lsc.syncoptions.replica_ListasEmail.proxyAddresses.action = F > > lsc.syncoptions.replica_ListasEmail.proxyAddresses.force_value = \ > > > > var MailAlternateAddress = > > srcBean.getAttributeValuesById("mailalternateaddress").toArray() ; \ > > > > for (var k=0; k < MailAlternateAddress.length; k++ ) { \ > > MailAlternateAddress[k] = "SMTP:" + > > MailAlternateAddress[k] \ } \ > > > > > > MailAlternateAddress.push(srcBean.getAttributeFirstValueById("mail")) \* > *** > > Try adding a ";" at the end of this line, like this :**** > > > MailAlternateAddress.push(srcBean.getAttributeFirstValueById("mail")) ; \ > > > > > > MailAlternateAddress > > > > > > Thank you in advance! > > > > **** > > -- > Xavier Montagutelli Tel : +33 (0)5 55 45 77 20 > Service Commun Informatique Fax : +33 (0)5 55 45 75 95 > Universite de Limoges > 123, avenue Albert Thomas > 87060 Limoges cedex > _______________________________________________________________ > Ldap Synchronization Connector (LSC) - http://lsc-project.org > > lsc-users mailing list > [email protected] > http://lists.lsc-project.org/listinfo/lsc-users**** > > ** ** > > As informacoes contidas neste e-mail e anexos podem ser confidenciais e > privilegiadas, protegidas por sigilo legal. Qualquer forma de utilizacao > deste documento depende de autorizacao do emissor, sujeito as penalidades > cabiveis. O emissor utiliza o recurso somente para fins profissionais, > eximindo o empregador de responsabilidades por uso pessoal ou improprio. Se > esta mensagem foi recebida por engano, o conteudo deve ser apagado e o > remetente avisado imediatamente, atraves de resposta a este e-mail. > >
_______________________________________________________________ Ldap Synchronization Connector (LSC) - http://lsc-project.org lsc-users mailing list [email protected] http://lists.lsc-project.org/listinfo/lsc-users

