Connects to LDAP server to find users.

Users are looked up by their 'mail' attribute, which corresponds to the id given out by Shibboleth.
At the moment, nothing returned from LDAP is actually used, but this could change quite easily.