I just tested in our environment and everything seems to be working correctly. I tried the following scenarios:
- LDAP user (administrator)
- Non-LDAP user with local DB authentication fallback (login by username)
- Non-LDAP user with local DB authentication fallback (login by email address)
In my testing I did get the same LDAP failure errors logged when logging in as a local DB user. This is expected, however, because at the time of attempted LDAP login, it's not known if they are an LDAP or local user. So seeing those messages appear in your log is normal.
Unfortunately I don't have the ability to test against a true LDAP server, but as Joe said, that portion of the code has not been modified for a very long time (years).
Are you getting a login failure message displayed in mojoPortal, or does it just appear that nothing is happening? I've seen the latter occur with a misconfiguration of SSL settings.
Jamie