LDAP troubleshooting #9899
-
Are there any hidden java command line tools that can be used to step through the ldap configuration process? I am having a hell of a time getting ldap to work on a management server running Ubuntu 24.04.01 lts. I was able to get it working on a previous install running on CentOS 9. |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 7 replies
-
@ffslcschools , I know its a pain and furtunately this is a one time effort, but unfortunately there is not much to help. I use apache directory studio to help checking the organisation of the ldap tree. (https://directory.apache.org/studio/). Are you using manual, auto import or auto sync? |
Beta Was this translation helpful? Give feedback.
-
@DaanHoogland , to be honest I don't know, the documentation is extremely confusing in relation to all of the different management interface locations that ldap can be configured. I believe I am setup for the manual import, where I choose Add LDAP Account and then select the domain filter to have it populate accounts based on the group membership. I guess I should create a suggestion change request what have you for the ldap process. |
Beta Was this translation helpful? Give feedback.
-
Hi @ffslcschools, I am also stuck in similar situation where no users is returning. I am using authentik for LDAP Provider. If you have any insights for this issue it will be very helpful. :) |
Beta Was this translation helpful? Give feedback.
-
@ffslcschools Thank You for your reply, I will also look into it and update my progress. and would you mind sharing your previously working document? I will try working from that docs, any information is helpful :). |
Beta Was this translation helpful? Give feedback.
-
@ffslcschools Thank you, Yes I have also got it working. I am using another provider lldap. |
Beta Was this translation helpful? Give feedback.
@ujan-shakya
I did get it working and I documented what I had done. I have been away from testing Cloudstack for a bit and just recently got back to it. Now I am back to being unable to get ldap working again no matter what I try. I constantly get the error below regardless of what certificates I put in the keystore.
Caused by: javax.net.ssl.SSLHandshakeException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
File permissions are set for root:cloud on the folder and keystore files so they should be accessible. I don't know if the intent is to configure LDAP in Configuration/Global Settings…