cancel
Showing results for 
Search instead for 
Did you mean: 

If not localhost, Ldap authentification is impossible.

potitius
Champ in-the-making
Champ in-the-making
Hello Community,

I already finished my project with activiti and I am facing the last steps with the integration of my project within the server.

My Ldap configuration works fine while I am on localhost and connect succefully into LDAP but it's not the case when I copy/paste the activit-exlorer folder into the server that will host my project under tomcat of course.

The only change I proceeded for is changing

                <property name="server" value="ldap://localhost" />

into
 
                <property name="server" value="ldap://MyMachineIP" />


Thank you for your help.
Best Regards.

5 REPLIES 5

vasile_dirla
Star Contributor
Star Contributor
I guess you already tested but I want to be sure.
did you test if your LDAP is accessible from the machine where the tomcat is installed. (try to connect with some other tool)
(maybe it's a firewall activate, as I know there are some restrictions by default in some linux distributions)

Hey,
Thank you for your response.

LDAP is accessible, I tested with telnet.

I am wondering if Activiti verify if LDAP has a certificate or not in order to authorize authentification ?
This is the only parameter that differ from my LDAP config and the company's LDAP config.

potitius
Champ in-the-making
Champ in-the-making
Hey all,

I just solved the problem.

If someone else meet the same issue then you just have to add this in your LDAP config, the default value was simple and it didn't work  :
<code>
                <property name="securityAuthentication" value="none" />
</code>

vasile_dirla
Star Contributor
Star Contributor
have a look into this class:
LdapConfiguration.java

here you'll see how it is done, and what exactly you should configure in order to make it work.

I suggest yo to connect to the real LDAP server from your development machine and then with a debugger you could see what's happening.

btw: do you have any relevant information into the log file ?

vasile_dirla
Star Contributor
Star Contributor
Ahh , just saw you solve it.

Thanks for sharing your problem along side with the solution.
Getting started

Tags


Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.