I have a groovy script to connect to LDAP server; the code is:
import org.apache.directory.groovyldap.LDAP
import org.apache.directory.groovyldap.Search
import org.apache.directory.groovyldap.SearchScope
ldap = LDAP.newInstance('ldap://<Ip address>:389/', 'cn=Manager,dc=telecom,dc=it', 'italtel123')
result = ldap.exists('uid=TstAut01,ou=People,dc=telecom,dc=it')
log.info result
It's possible to use the ldaps protocol instead of ldap (ldaps://<Ip address>:636/) ?
Regards
Massimo