-
Bug
-
Resolution: Fixed
-
Minor
-
1.6.2
-
None
-
MOODLE_16_STABLE
-
MOODLE_18_STABLE, MOODLE_19_STABLE
This bug is essentially the same as MDL-3992 but concerns the username not the password.
To summarise: LDAP authentication fails for users with quotes (') or other special charactors in their usernames.
Like bug MDL-3992 a solution is to add a stripslashes() call.
In auth_user_login() in auth/ldap/lib.php after the check for blank username || password add the following:
$username = stripslashes( $username );
- will be (partly) resolved by
-
MDL-8590 Auth cleanup - META
-
- Closed
-