Today we had a problem with the NTLM authentication of PHPBB and we discovered that in the case that if you have more then one entry in the LDAP the authentication fails. As workaround we placed a rem in functions_ldap.php and functions_ldap_groups.php:
in functions_ldap.php
/*
if ($query_result["count"] != 1) {
$result = LDAP_INVALID_USERNAME;
}
else {
*/
in functions_ldap_groups.php
/*
if ($query_result["count"] != 1) {
$result = LDAP_INVALID_USERNAME;
}
else {
*/
remember also to rem one of the } that remeins opened after the else end.
Posted by falcinelli