Setting up LDAP Environment
- Get OpenLDAP
- Install it
- Follow "Setting up encrypted LDAP connections"
Setting up encrypted LDAP connections
- 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.
- Create a file .ldaprc in your home directory with the following content:
TLS_CACERT /path/to/dal_ldap.pem
- 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. - 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
