LDAP code for authentication and user profile information.