OPNsense Forum
Archive => 19.1 Legacy Series => Topic started by: gvecchi on April 24, 2019, 06:39:16 pm
-
Hi everybody,
trying to import LDAP users, the following error message displays:
Could not connect to the LDAP server. Please check your LDAP configuration
Credentials test through System: Access: Tester is successfull, how to debug the error?
Thanks
-
Hi,
Firewall-Port for LDAP/LDAPS open? Otherwise, please post your config. Btw. i went in troubles using ldap when browsing the whole subtree. So, i indicated just 1 level, not the whole subtree in search area.
-
Using TLS/SSL for LDAP? I always set it to plain for import and afterwards back to TLS.
With encryption activated, i never could import.
-
Setting Transport to TCP - Standard in System: Access: Servers solved the issue.
-
Setting Transport to TCP - Standard in System: Access: Servers solved the issue.
Do not forget to revert back to TLS/SSL after import ;)
-
Do not forget to revert back to TLS/SSL after import ;)
Do you think this could be a bug?
-
Do not forget to revert back to TLS/SSL after import ;)
Do you think this could be a bug?
Maybe. You can open an issue on github.
-
Maybe. You can open an issue on github.
Ok, thanks
-
I haven't this problem. Do you have imported the certificates of your LDAP server?
-
I haven't this problem. Do you have imported the certificates of your LDAP server?
You lucky one. I imported the root, intermediate and issuing CA. This should be enough to verify certificate, since chain is complete.
Authenticating works with TLS/SSL, just the import and sometimes the list of authentication containers just works with no encryption.
But since I import once per installation, this is an issue with workaround that I can live with. There are other things that are more important to be fixed.