Le 11/12/2018 à 10:12, Roberto Benedetti a écrit : > hello to everyone. > > what I'm missing in my script is, given a single-valued attribute value, the > way to search for its corresponding DN in the destination directory > service[1]. > (please notice that the mail value gets properly printed out) > > > as I previously said, I tried to copy from the docs[2] without actually > understanding the way it works. > in particular, I can't tell where is the reference to the target > server/connection in the "ldap.search()" call. > > any help would be appreciated.
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 -- 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

