LDAP auth did not work for me. Although the ldap connect worked fine, the search would not return any results. Changing to $ldapConn->bind() and $ldapConn->search() fixed the problem. Additionally, it is not allowed not to provide bind credentials to do an anonymous bind (which is anyways already performed by ldap->connect()).
LDAP auth did not work for me. Although the ldap connect worked fine, the search would not return any results. Changing to $ldapConn->bind() and $ldapConn->search() fixed the problem. Additionally, it is not allowed not to provide bind credentials to do an anonymous bind (which is anyways already performed by ldap->connect()).