See this article on LDAP Authentication or read it below.