Hi Mathieu,
Thanks for letting me know! I added the line 'bind_username': 'einstein', to the LDAP_SERVER but I got the exact same error. I'm guessing it's because it's looking for both 'bind_username' and 'bind_password' in the LDAP_SERVERS settings to decide which authentication method to use.
179 authentication = SIMPLE if bind_username and bind_password else ANONYMOUS
So I tried putting both lines
'bind_username': 'einstein', and 'bind_password': 'password', into LDAP_SERVERS and now I'm getting some new behavior! Unfortunately it looks like a new error related to the LDAP bind DN:
NEMO.views.authentication WARNING User einstein attempted to authenticate with LDAP (ldap.forumsys.com), but an error occurred. The user was denied access: LDAPInvalidDNSyntaxResult - 34 - invalidDNSyntax - None - invalid DN - bindResponse - None
From what I can tell from a quick internet search, the error 34 is an "invalid DN" error. I'm guessing this is happening when the connection is made, but I do not know enough about LDAP to know what could be wrong with the DN. Do you (or does anyone) have any ideas?
Thanks again,
Jordan