Error with LDAP Module test connexion

Hi,

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' => 'ldap.forumsys.com',
                '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' => 'example.com',
            ],
        ],
    ],  

I can’t connect to myomekas.com/login 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: gauss@example.com [0x51 (Can’t contact LDAP server; getLastError: could not call ldap_get_option because LDAP resource was not of type resource): ldap://ldap.forumsys.com:389]

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.
Gil

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:
Gil

This topic was automatically closed 360 days after the last reply. New replies are no longer allowed.