Le 11/12/2018 à 12:37, Roberto Benedetti a écrit :
> ----- Original Message -----
>> Hello Roberto,
>>
>> the object "srcLdap" is the source LDAP connection if you use an
>> ldapSourceService, and the object "ldap" is the destination LDAP
>> connection if you use an ldapDestinationService
>>
>> You can find here the javadoc correspondind to these objects:
>> https://lsc-project.org/javadoc/2.1-SNAPSHOT/org/lsc/jndi/ScriptableJndiServices.html
>>
> hello, Clement.
>   thanks a lot for your support.
> I /imagined/ "ldap" was meant as the destination object, indeed.
>
> my problem was with Active Directory not exposing logs that let me understand 
> my mistake.
>
> I switched to an (Open)LDAP target - whom I'm more familiar with, beloved 
> logs! - and could finally see that the "basedn" parameter in the "search()" 
> method is *a prefix* of the "ldapConnection" baseDn object (which is set to 
> "o=cineca,c=it").
> I was searching in the non existent 
>   "ou=vpn,ou=tools,ou=groups,o=cineca,c=it,o=cineca,c=it" subtree
> whilst I had to look in the 
>   "ou=vpn,ou=tools,ou=groups,o=cineca,c=it" subtree (notice the suffix 
> repetition).
>
> if helpful, enclosed please find the now properly working code.

Thanks for teh feedback!

This behavior is indeed linked to JNDI which keep the context.

-- 
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

Reply via email to