Skip to content
Snippets Groups Projects
Commit 5984493c authored by Alexander Bias's avatar Alexander Bias
Browse files

Adopt a code change in Moodle core auth_ldap

parent c6e62f71
Branches
Tags
No related merge requests found
......@@ -16,6 +16,7 @@ This plugin requires Moodle 2.7+
Changes
-------
* 2014-10-08 - Adopt a code change in Moodle core auth_ldap
* 2014-09-12 - Bugfix: Fetching user details from LDAP on manual user creation didn't work in some circumstances
* 2014-09-02 - Bugfix: Check if LDAP auth is really used on manual user creation
* 2014-08-29 - Support login via email for first-time LDAP logins (MDL-46638)
......
......@@ -114,6 +114,7 @@ class auth_plugin_ldap_syncplus extends auth_plugin_ldap {
do {
$value = ldap_get_values_len($ldapconnection, $entry, $this->config->user_attribute);
$value = core_text::convert($value[0], $this->config->ldapencoding, 'utf-8');
$value = trim($value);
$this->ldap_bulk_insert($value);
} while ($entry = ldap_next_entry($ldapconnection, $entry));
}
......
......@@ -26,8 +26,8 @@
defined('MOODLE_INTERNAL') || die();
$plugin->component = 'auth_ldap_syncplus';
$plugin->version = 2014051207;
$plugin->release = '2.7 (Build: 2014091700)';
$plugin->version = 20140512078;
$plugin->release = '2.7 (Build: 2014100800)';
$plugin->requires = 2014051200;
$plugin->maturity = MATURITY_STABLE;
$plugin->dependencies = array('auth_ldap' => 2014051200);
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment