Unable to bind to server: Can’t contact LDAP server

* root@dab6a1398a2e:/var/www/html# ./console loginldap:synchronize-users --login=felipe.me@MYDOMAIN.it -vvv

* DEBUG [2020-12-23 14:57:59] 2527 UserSynchronizer::makeConfigured(): LDAP access synchronization not enabled.

* DEBUG [2020-12-23 14:57:59] 2527 UserSynchronizer::makeConfigured: configuring with defaultSitesWithViewAccess = all

* DEBUG [2020-12-23 14:57:59] 2527 UserSynchronizer::makeConfigured(): LDAP access synchronization not enabled.

* DEBUG [2020-12-23 14:57:59] 2527 UserSynchronizer::makeConfigured: configuring with defaultSitesWithViewAccess = all

* Synchronizing 'felipe.me@domain'... DEBUG [2020-12-23 14:57:59] 2527 Model\LdapUsers: start getUser() with [array]

* DEBUG [2020-12-23 14:57:59] 2527 Calling ldap_connect('ldaps :// 10.255.8.30', 3269)

* DEBUG [2020-12-23 14:57:59] 2527 ldap_connect result is [resource]

* WARNING [2020-12-23 14:57:59] 2527 /var/www/html/plugins/LoginLdap/Ldap/Client.php(91): Warning - ldap_bind(): Unable to bind to server: Can't contact LDAP server - Matomo 3.14.1 - Please report this message in the Matomo forums (please do a search first as it might have been reported already)

* DEBUG [2020-12-23 14:57:59] 2527 anonymous ldap_bind call finished; connection ok

* INFO [2020-12-23 14:57:59] 2527 LdapUsers::makeLdapClient: Using LDAP server ldaps

* 10.255.8.30:3269

* DEBUG [2020-12-23 14:57:59] 2527 Calling ldap_bind([resource], 'cn=LDAP_Linux,ou=Service Accounts,dc=iit,dc=local', <password[length=XX]>)

* WARNING [2020-12-23 14:57:59] 2527 /var/www/html/plugins/LoginLdap/Ldap/Client.php(146): Warning - ldap_bind(): Unable to bind to server: Can't contact LDAP server - Matomo 3.14.1 - Please report this message in the Matomo forums: (please do a search first as it might have been reported already)

* DEBUG [2020-12-23 14:57:59] 2527 ldap_bind result is '0'

* DEBUG [2020-12-23 14:57:59] 2527 Calling ldap_close([resource])

* DEBUG [2020-12-23 14:57:59] 2527 ldap_close returned true

* failed!



Synchronized 0 users!

Could not synchronize the following users in LDAP:
<myuser>		Could not bind as LDAP admin.

via ldapsearch and using ldaps 10.255.8.30:3269 and same credentials it works
I did add “TLS_REQCERT never” to /etc/ldap/ldap.conf
so it cant be a SSL Certificate problem

I am using matomo via official repo

I spent many hours in this problem… any help is welcome

Hello,
can anyone help?
We are stuck

solved here