2012/9/18 Martin Weibel <[email protected]>:
> Hi all
>
> I have a problem with the sync of OpenLDAP to Active Directory. I get the
> error "ERROR - Error while synchronizing ID" and I do not know why. Is this
> Error raised because the AD LDAP Connection isn't SSL? Can you help me?
>
> - Here is my output when I run lsc in dry mode:
>
> Sep 18 06:38:13 - DEBUG - Loading XML configuration from:
> /root/lsc-2.0/etc/lsc.xml
> Sep 18 06:38:13 - INFO  - Reflections took 182 ms to scan 1 urls, producing 60
> keys and 226 values
> Sep 18 06:38:13 - DEBUG - Importing XML schema file: schemas/lsc-core-2.0.xsd
> Sep 18 06:38:14 - INFO  - Logging configuration successfully loaded from
> /root/lsc-2.0/etc/logback.xml
> Sep 18 06:38:14 - INFO  - LSC configuration successfully loaded from
> /root/lsc-2.0/etc/
> Sep 18 06:38:14 - INFO  - Connecting to LDAP server
> ldap://dc1.phlu.ch:389/dc=phlu,dc=ch as
> cn=Administrator,cn=Users,dc=phlu,dc=ch
> Sep 18 06:38:14 - INFO  - Connecting to LDAP server
> ldaps://localhost:636/o=labornet,c=ch as uid=manager,ou=People,o=labornet,c=ch
> Sep 18 06:38:14 - INFO  - Starting sync for adUser
> Sep 18 06:38:14 - ERROR - Error while synchronizing ID {uid=root}:
> java.lang.NullPointerException
> Sep 18 06:38:14 - ERROR - Error while synchronizing ID {uid=bebuehler}:
> java.lang.NullPointerException
> Sep 18 06:38:14 - ERROR - Error while synchronizing ID {uid=user764}:
> java.lang.NullPointerException
> Sep 18 06:38:14 - ERROR - Error while synchronizing ID {uid=administrator}:
> java.lang.NullPointerException
> Sep 18 06:38:14 - ERROR - All entries: 4, to modify entries: 0, successfully
> modified entries: 0, errors: 4
> Sep 18 06:38:14 - INFO  - Starting clean for adUser
> Sep 18 06:38:14 - ERROR - Empty or non existant destination (no IDs found)
>
>

It seems you have a syntax error here:

<mainIdentifier>src.Bean.getMainIdentifier()</mainIdentifier>

Use srcBean and not src.Bean.

And you should maybe construct the mainIdentifier to build a correct
entry in the destination, for exemple
"cn="+srcBean.getDatasetFirstValueById('cn')+"ou=...."



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