[SOLVED] Unable to import LDAP users

Started by gvecchi, April 24, 2019, 06:39:16 PM

Previous topic - Next topic
April 24, 2019, 06:39:16 PM Last Edit: April 26, 2019, 10:11:49 AM by gvecchi
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.
Intel(R) Xeon(R) Silver 4116 CPU @ 2.10GHz (24 cores)
256 GB RAM, 300GB RAID1, 3x4 10G Chelsio T540-CO-SR

Setting Transport to TCP - Standard in System: Access: Servers solved the issue.

Quote from: gvecchi on April 26, 2019, 10:11:33 AM
Setting Transport to TCP - Standard in System: Access: Servers solved the issue.
Do not forget to revert back to TLS/SSL after import  ;)
Intel(R) Xeon(R) Silver 4116 CPU @ 2.10GHz (24 cores)
256 GB RAM, 300GB RAID1, 3x4 10G Chelsio T540-CO-SR

Quote
Do not forget to revert back to TLS/SSL after import  ;)

Do you think this could be a bug?

Quote from: gvecchi on April 26, 2019, 10:22:54 AM
Quote
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.
Intel(R) Xeon(R) Silver 4116 CPU @ 2.10GHz (24 cores)
256 GB RAM, 300GB RAID1, 3x4 10G Chelsio T540-CO-SR


I haven't this problem. Do you have imported the certificates of your LDAP server?

Quote from: iam on April 27, 2019, 09:21:34 AM
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.
Intel(R) Xeon(R) Silver 4116 CPU @ 2.10GHz (24 cores)
256 GB RAM, 300GB RAID1, 3x4 10G Chelsio T540-CO-SR