Liferay 6.2 - LDAP Integration
*****************************
Liferay 6.2 has no properties files ! Which were there until previous version. I guess now these are part of database tables.
So, while I was trying to integrate my server with LDAP server (TDS) I could configure the LDAP using the Control panel of liferay. And server was able to connect to LDAP.
But due to some issue I was not able to login using any of my ldap users or the default portal user. I was not able to login to the portal.
In earlier version there was a property file named, portal-ext.properties which used to hold those ldap specific values. But this doesnt exist in Liferay 6.2.
While looking at database ( portal database ), I found a table named portalpreferences, which has those ldap properties.
SELECT preferences FROM lportal.portalpreferences where portalPreferencesId = 10160
So, I changed the values of the parameters,
ldap.auth.enabled and ldap.auth.enabled ( which are two check boxes on the LDAP configuration page needs to be checked to enable LDAP login ) to false.
And that's it.
It worked for me, hope it helps you. This is still work under progress and I am looking to complete this LDAP connectivity with Liferay 6.2. So will keep updating this post.
https://www.liferay.com/documentation/liferay-portal/6.2/user-guide/-/ai/integrating-existing-users-into-liferay-liferay-portal-6-2-user-guide-17-en
*****************************
Liferay 6.2 has no properties files ! Which were there until previous version. I guess now these are part of database tables.
So, while I was trying to integrate my server with LDAP server (TDS) I could configure the LDAP using the Control panel of liferay. And server was able to connect to LDAP.
But due to some issue I was not able to login using any of my ldap users or the default portal user. I was not able to login to the portal.
In earlier version there was a property file named, portal-ext.properties which used to hold those ldap specific values. But this doesnt exist in Liferay 6.2.
While looking at database ( portal database ), I found a table named portalpreferences, which has those ldap properties.
SELECT preferences FROM lportal.portalpreferences where portalPreferencesId = 10160
So, I changed the values of the parameters,
ldap.auth.enabled and ldap.auth.enabled ( which are two check boxes on the LDAP configuration page needs to be checked to enable LDAP login ) to false.
And that's it.
It worked for me, hope it helps you. This is still work under progress and I am looking to complete this LDAP connectivity with Liferay 6.2. So will keep updating this post.
https://www.liferay.com/documentation/liferay-portal/6.2/user-guide/-/ai/integrating-existing-users-into-liferay-liferay-portal-6-2-user-guide-17-en
No comments:
Post a Comment