Quote:
Originally Posted by anybodytech
Very nice mod - installed with no fuss.
I though had the problem that my LDAP server was containing a new user where the username was not used in vB, but the email was already taken by another username in vB.
This means that your plugin tries to create the new user when a correct username/password is issued (seen from the LDAP server). But due to that the email already exists i vB with another username then the creation of the new user fails. This is properly okay, as two different users can not have the same email. But the error messages indicates that a wrong password/username is issued.
My suggestion for improvement is to give better response to this case.
Best regards
Tom
|
Thanks
I'll have to look into this bug, that's NOT what's meant to happen - It's supposed to rename the user to match the LDAP...
I can see what you mean though, the error message is unhelpful in this instance, but in keeping with normal login failure message procedure, I've tried not to allow a potential brute-force attacker know what he/she got wrong (username/password etc). A more "helpful" error message might give away the fact that users are being created on the fly from an external database, and that might give an opportunity to inject a user into the system. (Sorry if I seem paranoid, but it's my job, I work with system security all day).
H.