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.

have a nice day,
  roberto benedetti


[1]
| 
| var mail = membersSrcMail.get(i);
| println ("processing user: "+mail);
| var destDn = ldap.search("OU=Managed,OU=Domain 
Users,DC=pdl,DC=ms,DC=cineca,DC=it", "(mail=" + mail + ")");
| 

[2] 
https://lsc-project.org/documentation/tutorial/synchronizegroups
_______________________________________________________________
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