Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to bind to LDAPS TLS #224

Closed
xoroz opened this issue Jan 14, 2021 · 1 comment
Closed

Unable to bind to LDAPS TLS #224

xoroz opened this issue Jan 14, 2021 · 1 comment

Comments

@xoroz
Copy link

xoroz commented Jan 14, 2021

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 v4

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

Calling ldap_connect('ldaps://10.255.8.30', 3269)
DEBUG [2021-01-14 15:42:51] 11408 ldap_connect result is [resource]
WARNING [2021-01-14 15:42:51] 11408 /var/www/matomo/plugins/LoginLdap/Ldap/Client.php(91): Warning - ldap_bind(): Unable to bind to server: Can't contact LDAP server - Matomo 4.1.0

also posted here
https://forum.matomo.org/t/unable-to-bind-to-server-can-t-contact-ldap-server/40000

@xoroz
Copy link
Author

xoroz commented Jan 14, 2021

SOLVED
it works if I set
ldaps://10.255.8.30:3269
and port blank

also had an issue with AD password changed it to unicodePwd and it worked

@xoroz xoroz closed this as completed Jan 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant