Hi,
I'm not a expert of sql or lsc but for me if it's not update existing entry
it's mean lsc don't find them
You need to have a look on these both request, one of them is failling :
<requestNameForList>getInetOrgPersonList</requestNameForList>
<requestNameForObject>getInetOrgPerson</requestNameForObject>
Can you enable mysql debug to known which reqest is done ?
Not sure, but maybe your #login# is unknown ? :
In the list, you populate uid :
<select id="getInetOrgPersonList" resultClass="java.util.HashMap">
SELECT u.login AS *uid*
FROM customer_user AS u
But later you try to find them as login :
Select id="getInetOrgPerson"
.... ...
WHERE u.login = *#login#*
Regards
2016-03-07 16:47 GMT+01:00 Mišel Mešnjak <[email protected]>:
> On Fri, Mar 4, 2016 at 12:00 PM, <[email protected]>
> wrote:
>
>>
>> Hi,
>>
>> you should be able to do all that you need in a single task. The problem
>> may be with the pivotAttribute, which is used by LSC to know if the
>> entry already exists in destination. If LSC tries to add existing
>> entries, it means it did not find them. So try to search on this side.
>>
>> If you need more help, you will have to send your complete configuration
>> (lsc.xml and iBatis files).
>>
>> --
>> Cl?ment OUDOT
>> Consultant en logiciels libres, Expert infrastructure et s?curit?
>> Savoir-faire Linux
>>
>
> Hi Clement,
>
> I'm not sure what is wrong if you could take a look, please.
> I tried changing "mainIdentifier" tag value but it did not change the
> outcome. I still get lsc trying to insert instead of update existing
> records in the database.
> I'm attaching lsc.xml, InsertOrgPerson.xml and customer_user.ddl.sql if
> you could take a look and point me to what is wrong with this configuration.
>
> Thank you,
> Misel
>
> _______________________________________________________________
> 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