MDL-41778 enrol/ldap fix settings.php