Connects to the directory server using an encrypted connection. A Client Certificate Authentication is provided instead of user/password authentication.
To use the LdapConnectSSLCCAPersistent function, the following two arguments must have been entered in the argument file:
-ldapSslCertDb <path> specifying the path to the
cert7.db certificate database
-ldapSslKeyDb <path> specifying the path to the
key3.db key database
You do not need to use LdapConnectSSLCCAPersistent for every script function. Once the server connection is established, it will only be closed when you apply the
LdapDisconnect function.
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 default port (
636).