Fix ldap error message for $ldap_base