Error with LDAP Module test connexion


I have installed LDAP Module version 0.5.0 with Omeka S 4.0.1

I try to connect to a test server : Online LDAP Test Server - Forum Systems

with this configuration in /local.config.php :

    'ldap' => [
        'adapter_options' => [
            'server1' => [
                'host' => '',
                'username' => 'cn=read-only-admin,dc=example,dc=com',
                'password' => 'password',
                'bindRequiresDn' => true,
                'baseDn' => 'ou=mathematicians,dc=example,dc=com',
                'accountFilterFormat' => '(&(objectClass=posixAccount)(uid=%s))',
                'accountCanonicalForm' => 4,
                'accountDomainName' => '',

I can’t connect to where i get the following message : “Email ou mot de passe invalide” and no user is created.

In the logs i get the following message :

Ldap: 0x1: Failed to retrieve DN for account: [0x51 (Can’t contact LDAP server; getLastError: could not call ldap_get_option because LDAP resource was not of type resource): ldap://]

I tried a lot of other config with no more result.

Could you tell me what’s wrong ? Any idea wellcome …
Many thanks in advance.

You might have better luck asking about this in the issue tracker for the Ldap module.

Thank you for your reply. I am not sure it is an issue but maybe an incorrect configuration…
But your are right i will ask the issue tracker :wink: