ldap support for sharelatex (initial code)