It's correct, bu personnaly i prefere to use this :

<mainIdentifier>srcBean.getDN().replace("dc=XXXX,dc=com","dc=XXX,dc=XXXXX,dc=com")</mainIdentifier>

The main advantage is we have have a non flat structure on destination

Regards


2016-04-07 19:05 GMT+02:00 Anderson P. Almeida <[email protected]>
:

> Hi James
>
> try this:
> .
> <propertiesBasedSyncOptions>
> <mainIdentifier>
> "cn=" + srcBean.getDatasetFirstValueById("uid") +
> ",ou=XXXX,dc=YYYY,dc=ZZZZZ"
> </mainIdentifier>
> .
>
>
>
> 2016-04-07 11:26 GMT-03:00 James Thiago Pereira <
> [email protected]>:
>
>> Hi Lsc Users,
>>
>> I need some help to change the cn value in the synchronized user (AD to
>> LDAP).
>> Can I send the UID field value to CN field?
>>
>> ​Carefully
>> ,
>> [image: UNISANTOS]
>>
>> James Thiago Pereira
>> DTI - Analista de Infraestrutura de TI
>> Tel.: (13) 3205-5555, ramal 1348
>> [email protected]
>>
>> Universidade Católica de Santos
>> www.unisantos.br
>>
>>
>>
>> _______________________________________________________________
>> Ldap Synchronization Connector (LSC) - http://lsc-project.org
>>
>> lsc-users mailing list
>> [email protected]
>> http://lists.lsc-project.org/listinfo/lsc-users
>>
>
>
>
> --
> Anderson P. Almeida
>
>
> <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
>  Livre
> de vírus. www.avast.com
> <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>.
> <#m_4078869692822310124_DDB4FAA8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
>
> _______________________________________________________________
> Ldap Synchronization Connector (LSC) - http://lsc-project.org
>
> lsc-users mailing list
> [email protected]
> http://lists.lsc-project.org/listinfo/lsc-users
>
_______________________________________________________________
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