Hi Marcio, You are probably encountering a JNDI related issue for binary attributes usage : try to force a list of "non standard' attributes to JNDI configuration through dst.java.naming.ldap.attributes.binary = thumbnailphoto
Take a look at the section "Specifying Additional Nonstring Attributes" in the following page : http://download.oracle.com/javase/jndi/tutorial/ldap/misc/attrs.html If it does not help you, can you paste some logs ? Regards, 2011/7/26 Marcio Ricardo Schneider <[email protected]> > Hi Folks, **** > > ** ** > > I’m using lcs 1.2.1 to replicate from an openldap directory to AD. Until > now I was successful, but I’m stuck on replicating a picture from my users. > **** > > ** ** > > The attributes are jpegphoto on Ldap and thumbnailphoto on AD. The > replication seems to work and the thumbnailphoto is populated, but the > stream is not recognized as a picture.**** > > ** ** > > ** ** > > My lsc.properties:**** > > ** ** > > > ------------------------------------------------------------------------------------------------------------------------------ > **** > > ####**** > > #### atualiza_foto : Source**** > > ####**** > > lsc.tasks.atualiza_foto.srcService = org.lsc.jndi.SimpleJndiSrcService**** > > lsc.tasks.atualiza_foto.srcService.baseDn = cn=users**** > > lsc.tasks.atualiza_foto.srcService.filterAll = > (&(objectClass=SicrediUsuario)(!(SicrediSituacao=300)) > (uid=marcio_schneider) )**** > > lsc.tasks.atualiza_foto.srcService.pivotAttrs = uid**** > > lsc.tasks.atualiza_foto.srcService.filterId = > (&(objectClass=inetOrgPerson)(uid={uid}))**** > > lsc.tasks.atualiza_foto.srcService.attrs = jpegPhoto**** > > ** ** > > ** ** > > ####**** > > #### atualiza_foto : Destination**** > > ####**** > > ** ** > > ** ** > > lsc.syncoptions.atualiza_foto = > org.lsc.beans.syncoptions.PropertiesBasedSyncOptions**** > > lsc.syncoptions.atualiza_foto.default.action = F**** > > lsc.tasks.atualiza_foto.dstService = org.lsc.jndi.SimpleJndiDstService**** > > lsc.tasks.atualiza_foto.dstService.baseDn = OU=importados**** > > lsc.tasks.atualiza_foto.dstService.filterAll = > (&(objectclass=user)(sAMAccountName=*))**** > > lsc.tasks.atualiza_foto.dstService.pivotAttrs = samaccountname**** > > lsc.tasks.atualiza_foto.dstService.filterId = > (&(objectClass=user)(|(sAMAccountName={samaccountname})(sAMAccountName={uid}))) > **** > > lsc.tasks.atualiza_foto.dstService.attrs = thumbnailphoto**** > > lsc.tasks.atualiza_foto.bean = org.lsc.beans.SimpleBean**** > > lsc.tasks.atualiza_foto.dn = ""**** > > ** ** > > ** ** > > #cuidando da foto "thumbnailphoto**** > > lsc.syncoptions.atualiza_foto.thumbnailphoto.action = F**** > > lsc.syncoptions.atualiza_foto.thumbnailphoto.force_value = > srcBean.getAttributeFirstValueById("jpegphoto")**** > > ** ** > > > ---------------------------------------------------------------------------------------------------------------------------- > **** > > ** ** > > ** ** > > Thank you folks!**** > > ** ** > > ** ** > > 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 > > -- Sebastien BAHLOUL IAM / Security specialist Ldap Synchronization Connector : http://lsc-project.org Blog : http://sbahloul.wordpress.com/
_______________________________________________________________ Ldap Synchronization Connector (LSC) - http://lsc-project.org lsc-users mailing list [email protected] http://lists.lsc-project.org/listinfo/lsc-users

