Setting up LDAP Environment

  1. Get OpenLDAP
  2. Install it
  3. Follow "Setting up encrypted LDAP connections"

Setting up encrypted LDAP connections

  1. Download the root certificate attached to this page and save it somewhere in your home directory (e.g. /home/username/.certs/dal_ldap.pem). It is the certificate UCIS uses to issue the server certificates for their LDAP servers.
  2. Create a file .ldaprc in your home directory with the following content:
    TLS_CACERT /path/to/dal_ldap.pem
    
  3. Make sure everything is working by running:
    ldapsearch -ZZ -h ldap.dal.ca -x -b 'dc=dal,dc=ca' '(uid=obaltzer)' dn
    
    If you do not get an error and something like:
    # numResponses: 2
    # numEntries: 1
    
    then it is working.
  4. Now, checkout your latest version of TE2 and try to login. If there is something wrong, you should get an error message.

For details see: http://www.openldap.org/pub/ksoper/OpenLDAP_TLS_howto.html