Hi Thomas,

Can you check the details of your connection ldap-src-conn ?

Regards

Le 18 juil. 2016 23:54, "Tomáš Lukl" <[email protected]> a écrit :

> Hello,
>
> I am trying to setup an asyncLdapSourceService with ActiveDirectory.
> The service is set up as follows:
>
>      <asyncLdapSourceService>
>         <name>ldap-src-service</name>
>         <connection reference="ldap-src-conn" />
>         <baseDn>...</baseDn>
>         <pivotAttributes>
>           <string>sAMAccountName</string>
>         </pivotAttributes>
>         <fetchedAttributes>
>       <string>sAMAccountName</string>
>           <string>cn</string>
>           <string>sn</string>
>           <string>userPassword</string>
>           <string>objectClass</string>
>           <string>givenName</string>
>       <string>distinguishedName</string>
>       <string>objectGUID</string>
>         </fetchedAttributes>
>         <getAllFilter><![CDATA[(&(objectClass=*))]]></getAllFilter>
>
> <getOneFilter><![CDATA[(&(objectClass=user)(sAMAccountName={sAMAccountName}))]]></getOneFilter>
>         <serverType>ActiveDirectory</serverType>
>       </asyncLdapSourceService>
>
>
>
> The LSC is run in server mode.
>
> Actualy I have two problems:
>
> - the service DOES NOT perform an initial full synchronization.
> - the service throws an error while performing sync of one entry:
>
>   Jul 18 23:13:44 - DEBUG -
> org.apache.directory.ldap.client.api.exception.InvalidConnectionException:
> Cannot connect on the server, the connection is invalid
> org.apache.directory.ldap.client.api.exception.InvalidConnectionException:
> Cannot connect on the server, the connection is invalid
>         at
> org.apache.directory.ldap.client.api.LdapNetworkConnection.checkSession(LdapNetworkConnection.java:271)
> ~[api-all-1.0.0-M22.jar:1.0.0-M22]
>         at
> org.apache.directory.ldap.client.api.LdapNetworkConnection.searchAsync(LdapNetworkConnection.java:1667)
> ~[api-all-1.0.0-M22.jar:1.0.0-M22]
>         at
> org.apache.directory.ldap.client.api.LdapNetworkConnection.search(LdapNetworkConnection.java:1710)
> ~[api-all-1.0.0-M22.jar:1.0.0-M22]
>         at
> org.apache.directory.ldap.client.api.LdapNetworkConnection.search(LdapNetworkConnection.java:1603)
> ~[api-all-1.0.0-M22.jar:1.0.0-M22]
>         at
> org.apache.directory.ldap.client.api.LdapNetworkConnection.search(LdapNetworkConnection.java:1613)
> ~[api-all-1.0.0-M22.jar:1.0.0-M22]
>         at
> org.lsc.service.SyncReplSourceService.getBean(SyncReplSourceService.java:250)
> ~[lsc-core-2.1.3.jar:na]
>         at org.lsc.SynchronizeTask.run(AbstractSynchronize.java:707)
> [lsc-core-2.1.3.jar:na]
>         at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
> [na:1.8.0_92]
>         at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
> [na:1.8.0_92]
>         at java.lang.Thread.run(Thread.java:745) [na:1.8.0_92]
> Jul 18 23:13:44 - ERROR - Synchronization aborted because no source object
> has been found !
>
>
>
>
> Any help is appreciated. Thank you.
>
> Best regards
>
>
> Tomas
>
>
>
>
>
> *--*
>
> *Tomáš Lukl*
> *ARTiiS GROUP a.s.*
> 602 00 BRNO
> Běhounská 2/22-24
> T: +420 736184076
> E: [email protected]
> W: www.artiisgroup.cz
>
>
>
>
>
> _______________________________________________________________
> 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