LdapConnectSSLPersistent(connName, hostName, user, password);
connName
A name you specify which will be used in all the following LDAP functions to identify which server they will access.hostName
The name of the server to which you want to establish a connection. The default port is 636, but can be overridden using the host:port syntax in the host name.user
password
Connects to the directory server using an encrypted connection. To use the LdapConnectSSLPersistent function, the following argument must have been entered in the argument file:-ldapSslCertDb <path> specifying the path to the cert7.db certificate databaseYou do not need to use LdapConnectSSLPersistent for every script function. Once the server connection is established, it will only be closed when you apply the LdapDisconnect function.
1 -1 LdapConnectSSLPersistent("con", "U-Stor-It.company.com:4205","cn=Directory Manager","streamserve");In this example, an encrypted connection is established to the LDAP server on the machine named U-Stor-It.company.com. The connection is given the name con and attaches to the port 4205.
Note: The common name (cn) consists of the first and last names of the user.
OpenText StreamServe 5.6 | Updated: 2013-03-01 |