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