Le 06/12/2018 à 14:49, Lior Dotan a écrit :
> Hi
>
> When I store users in my destination, I store them in lower case.
> Some of the users in the source AD has upper case in their e-mail and
> LSC always syncs them to the destination on each run.
> I am using this as the main id:
> <mainIdentifier>"mail=" +
> srcBean.getDatasetFirstValueById("mail".toLowerCase())</mainIdentifier>
>
> but LSC still thinks it needs to sync those users.
>
> I have followed this guide:
> https://lsc-project.org/documentation/2.0/configuration/syncoptions
>
> and tried different Force/Keep/Merge values for the sn, GivenName and
> mail which are the fields I want to sync.
>
> My question is how can I make LSC ignore the case of the e-mail field
> and only sync users if the e-mail, sn or givenName really changed?
> My configuration is below.Hello, you need indeed to force the value in lowercase in the dataset, so it will be stored in lowercase in destination, and then when comparing values, they will both be in lower case, so LSC should try to update the value in destination. I don't understand in your code why you slice the value. -- Clément Oudot | Identity Solutions Manager [email protected] Worteks | https://www.worteks.com _______________________________________________________________ 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

