Script functions reference > LDAP functions > Connecting to the directory server > Non-persistent connections

Non-persistent connections
You can use the following script functions to establish a non-persistent connection to the directory server:
The connection stays open until the job ends. You can also use the LdapDisconnect script function to disconnect from the directory server.
Non-encrypted connections
The LdapConnect function is used when the connection is not encrypted. The syntax is as follows:
LdapConnect(connName, hostName, user, password)
connName
hostName
user
password
Leaving the user and password fields blank implies an anonymous logon. This normally results in a limited read only access to the user directory.
Encrypted connections
The LdapConnectSsl and LdapConnectSslCca are used when the connection is encrypted. LdapConnectSsl uses username and password for authentication, and LdapConnectSslCca uses a client certificate for authentication. See the online help for more information on these script functions.
OpenText StreamServe 5.6 Updated: 2013-03-01