OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 19.1 Legacy Series »
  • [SOLVED] Unable to import LDAP users
« previous next »
  • Print
Pages: [1]

Author Topic: [SOLVED] Unable to import LDAP users  (Read 5855 times)

gvecchi

  • Newbie
  • *
  • Posts: 10
  • Karma: 0
    • View Profile
[SOLVED] Unable to import LDAP users
« on: April 24, 2019, 06:39:16 pm »
Hi everybody,

trying to import LDAP users, the following error message displays:


Code: [Select]
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
« Last Edit: April 26, 2019, 10:11:49 am by gvecchi »
Logged

ruggerio

  • Sr. Member
  • ****
  • Posts: 295
  • Karma: 11
    • View Profile
Re: Unable to import LDAP users
« Reply #1 on: April 24, 2019, 08:31:35 pm »
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.


Logged

hbc

  • Hero Member
  • *****
  • Posts: 501
  • Karma: 47
    • View Profile
Re: Unable to import LDAP users
« Reply #2 on: April 24, 2019, 09:43:35 pm »
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.
Logged
Intel(R) Xeon(R) Silver 4116 CPU @ 2.10GHz (24 cores)
256 GB RAM, 300GB RAID1, 3x4 10G Chelsio T540-CO-SR

gvecchi

  • Newbie
  • *
  • Posts: 10
  • Karma: 0
    • View Profile
Re: Unable to import LDAP users
« Reply #3 on: April 26, 2019, 10:11:33 am »
Setting Transport to TCP - Standard in System: Access: Servers solved the issue.
Logged

hbc

  • Hero Member
  • *****
  • Posts: 501
  • Karma: 47
    • View Profile
Re: Unable to import LDAP users
« Reply #4 on: April 26, 2019, 10:21:01 am »
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  ;)
Logged
Intel(R) Xeon(R) Silver 4116 CPU @ 2.10GHz (24 cores)
256 GB RAM, 300GB RAID1, 3x4 10G Chelsio T540-CO-SR

gvecchi

  • Newbie
  • *
  • Posts: 10
  • Karma: 0
    • View Profile
Re: [SOLVED] Unable to import LDAP users
« Reply #5 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?
Logged

hbc

  • Hero Member
  • *****
  • Posts: 501
  • Karma: 47
    • View Profile
Re: [SOLVED] Unable to import LDAP users
« Reply #6 on: April 26, 2019, 10:50:04 am »
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.
Logged
Intel(R) Xeon(R) Silver 4116 CPU @ 2.10GHz (24 cores)
256 GB RAM, 300GB RAID1, 3x4 10G Chelsio T540-CO-SR

gvecchi

  • Newbie
  • *
  • Posts: 10
  • Karma: 0
    • View Profile
Re: [SOLVED] Unable to import LDAP users
« Reply #7 on: April 26, 2019, 10:57:03 am »
Quote from: hbc on April 26, 2019, 10:50:04 am
Maybe. You can open an issue on github.

Ok, thanks
Logged

iam

  • Full Member
  • ***
  • Posts: 105
  • Karma: 1
    • View Profile
Re: [SOLVED] Unable to import LDAP users
« Reply #8 on: April 27, 2019, 09:21:34 am »
I haven't this problem. Do you have imported the certificates of your LDAP server?
Logged

hbc

  • Hero Member
  • *****
  • Posts: 501
  • Karma: 47
    • View Profile
Re: [SOLVED] Unable to import LDAP users
« Reply #9 on: April 27, 2019, 09:27:48 am »
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.
Logged
Intel(R) Xeon(R) Silver 4116 CPU @ 2.10GHz (24 cores)
256 GB RAM, 300GB RAID1, 3x4 10G Chelsio T540-CO-SR

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • Archive »
  • 19.1 Legacy Series »
  • [SOLVED] Unable to import LDAP users
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2024 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2