2014-09-24 9:52 GMT+02:00 Mani Chandrakant Seshasaye Velamuri <
[email protected]>:

>  Hi Clement,
>
>
>
> Appreciate your time. I removed update task and made <update>true</update>
> in the conditions tag.
>
> But the attributes are not getting updated in mysql.
>
>
>
> Here is a quick recap of what I am doing.
>
> I have created 4 records in ApacheDS with these attributes (cn, sn, uid,
> mail, mobile) mail is pivot attribute here.
>
> when i run the insert script it adds these 4 records to mysql successfully
> for the first time.
>
>
>
> Then I modified mobile numbers in ApacheDS. Now there are 4 records to be
> updated.But when i run the task, no records get updated in mysql.
>
> Please find below the console log.
>
> D:\lsc-2.1.1\bin>lsc -f D:\LSC\adtomysql -s insert
> Sep 24 13:11:58 - INFO  - Logging configuration successfully loaded from
> D:\LSC\adtomysql\logback.xml
> Sep 24 13:11:58 - INFO  - LSC configuration successfully loaded from
> D:\LSC\adtomysql\
> Sep 24 13:11:58 - INFO  - Connecting to LDAP server
> ldap://107.108.219.17:10389/dc=samsung,dc=com as uid=admin,ou=system
> Sep 24 13:11:58 - INFO  - Registered pre-bundled control factory:
> 1.3.6.1.4.1.18060.0.0.1
> Sep 24 13:11:58 - INFO  - Registered pre-bundled control factory:
> 2.16.840.1.113730.3.4.7
> Sep 24 13:11:58 - INFO  - Registered pre-bundled control factory:
> 2.16.840.1.113730.3.4.2
> Sep 24 13:11:58 - INFO  - Registered pre-bundled control factory:
> 1.2.840.113556.1.4.319
> Sep 24 13:11:58 - INFO  - Registered pre-bundled control factory:
> 2.16.840.1.113730.3.4.3
> Sep 24 13:11:58 - INFO  - Registered pre-bundled control factory:
> 1.3.6.1.4.1.4203.1.10.1
> Sep 24 13:11:58 - INFO  - Registered pre-bundled control factory:
> 1.3.6.1.4.1.18060.0.0.1
> Sep 24 13:11:58 - INFO  - Registered pre-bundled control factory:
> 2.16.840.1.113730.3.4.7
> Sep 24 13:11:58 - INFO  - Registered pre-bundled control factory:
> 2.16.840.1.113730.3.4.2
> Sep 24 13:11:58 - INFO  - Registered pre-bundled control factory:
> 1.2.840.113556.1.4.319
> Sep 24 13:11:58 - INFO  - Registered pre-bundled control factory:
> 2.16.840.1.113730.3.4.3
> Sep 24 13:11:58 - INFO  - Registered pre-bundled control factory:
> 1.3.6.1.4.1.4203.1.10.1
> Sep 24 13:11:58 - INFO  - Registered pre-bundled control factory:
> 1.3.6.1.4.1.42.2.27.8.5.1
> Sep 24 13:11:58 - INFO  - Registered pre-bundled control factory:
> 1.3.6.1.4.1.4203.1.9.1.3
> Sep 24 13:11:58 - INFO  - Registered pre-bundled control factory:
> 1.3.6.1.4.1.4203.1.9.1.4
> Sep 24 13:11:58 - INFO  - Registered pre-bundled control factory:
> 1.3.6.1.4.1.4203.1.9.1.1
> Sep 24 13:11:58 - INFO  - Registered pre-bundled control factory:
> 1.3.6.1.4.1.4203.1.9.1.2
> Sep 24 13:11:58 - INFO  - Registered pre-bundled control factory:
> 1.2.840.113556.1.4.473
> Sep 24 13:11:58 - INFO  - Registered pre-bundled control factory:
> 1.2.840.113556.1.4.474
> Sep 24 13:11:58 - INFO  - Registered pre-bundled control factory:
> 1.2.840.113556.1.4.841
> Sep 24 13:11:58 - INFO  - Registered pre-bundled extended operation
> factory: 1.3.6.1.1.8
> Sep 24 13:11:58 - INFO  - Registered pre-bundled extended operation
> factory: 1.3.6.1.4.1.18060.0.1.8
> Sep 24 13:11:58 - INFO  - Registered pre-bundled extended operation
> factory: 1.3.6.1.4.1.18060.0.1.3
> Sep 24 13:11:58 - INFO  - Registered pre-bundled extended operation
> factory: 1.3.6.1.4.1.18060.0.1.6
> Sep 24 13:11:58 - INFO  - Registered pre-bundled extended operation
> factory: 1.3.6.1.4.1.18060.0.1.5
> Sep 24 13:11:58 - INFO  - Registered pre-bundled extended operation
> factory: 1.3.6.1.4.1.4203.1.11.1
> Sep 24 13:11:58 - INFO  - Registered pre-bundled extended operation
> factory: 1.3.6.1.4.1.4203.1.11.3
> Sep 24 13:11:58 - INFO  - Registered pre-bundled extended operation
> factory: 1.3.6.1.4.1.1466.20037
> Sep 24 13:11:58 - INFO  - Starting sync for insert
> Sep 24 13:11:59 - INFO  - All entries: 4, to modify entries: 0,
> successfully modified entries: 0, errors: 0
>
>
>
> LSC is supposed to sync these updates right? Dont know why. IS the rest of
> my configuration correct? Do I need to add any other elements to my lsc.xml
> for update case?
>
>

Please answer to the list.

LSC do not seem to detect modifications  between your LDAP and your
database (see "to modify entries: 0"). Your configuration seems fine.

Could you try to use DEBUG level in logback.xml, and get also logs from
LDAP server and MySQL?



Clément.
_______________________________________________________________
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