enrol_ldap broke after upgrading to 2.9+