Helios SR2 and Liferay IDE 1.2.1

Hello everyone,

*See Update *

I just noticed that Eclipse has released Eclipse Helios SR2 (3.6.2).  Also last week we released a bug fix release for Liferay IDE 1.2.1.  Unfortunately I have just verified that the latest Eclipse release (3.6.2 and WTP 3.2.3) is not compatible with Liferay IDE 1.2.1 (as well as previous versions).  If you upgrade to Helios SR2 there will be a new blocking issue introduced during publishing of projects (deployment) that will cause it to fail.  There is no workaround that I know of at this time other than to use Plugins SDK deployment via "ant deploy" build.  

This issue can be fixed but it wont be available until next week, Monday at the earliest.  Sorry for the inconveince.

*Update*  Version 1.2.2 has been released that contains a fix for the previous incompatibility..  So just "Check for updates..." to get the latest version.

 

博客
Greg,

Thanks for keeping the community aware of the risk of upgrading their helios SR2. Will wait for a quick fix in IDE 1.2.1 to make it compatible with this new release.
Hi Ahmed,

I am new to Liferay.

How to create ldap users using liferay API?

Please help me..

Thanks,
-Suresh.
Hi Suresh,

There is inbuilt option in liferay to export the user into LDAP.
So by making export enable you can create ldap user.
Hope this is the answer
Hi Jignesh,

Thank you for your reply.

I want to add a user to the LDAP server using the Liferay API.

Could you please provide any suggestions how can I acheive this?

Thanks,
-Suresh.
Hi Jignesh,

I am using Apache Directory Server to integrate with Liferay.The default admin user "uid=admin,ou=system" and the password "secret". When I try to connect to the apache dirtory server from the JXplorer or Apache Directory Studio it throws the following error:

"The authentication failed
- [LDAP: error code 49 - INVALID_CREDENTIALS: Bind failed: ERR_229 Cannot authenticate user uid=admin,ou=system]
javax.naming.AuthenticationException: [LDAP: error code 49 - INVALID_CREDENTIALS: Bind failed: ERR_229 Cannot authenticate user uid=admin,ou=system]
at com.sun.jndi.ldap.LdapCtx.mapErrorCode(Unknown Source)
at com.sun.jndi.ldap.LdapCtx.processReturnCode(Unknown Source)
at com.sun.jndi.ldap.LdapCtx.processReturnCode(Unknown Source)
at com.sun.jndi.ldap.LdapCtx.connect(Unknown Source)
at com.sun.jndi.ldap.LdapCtx.ensureOpen(Unknown Source)
at com.sun.jndi.ldap.LdapCtx.ensureOpen(Unknown Source)
at com.sun.jndi.ldap.LdapCtx.reconnect(Unknown Source)
at javax.naming.ldap.InitialLdapContext.reconnect(Unknown Source)
at org.apache.directory.studio.connection.core.io.jndi.JNDIConnectionWrapper$7.run(JNDIConnectionWrapper.java:1055)
at org.apache.directory.studio.connection.core.io.jndi.JNDIConnectionWrapper.runAndMonitor(JNDIConnectionWrapper.java:1272)
at org.apache.directory.studio.connection.core.io.jndi.JNDIConnectionWrapper.doBind(JNDIConnectionWrapper.java:1065)
at org.apache.directory.studio.connection.core.io.jndi.JNDIConnectionWrapper.bind(JNDIConnectionWrapper.java:254)
at org.apache.directory.studio.connection.core.jobs.CheckBindRunnable.run(CheckBindRunnable.java:80)
at org.apache.directory.studio.connection.ui.RunnableContextRunner$1.run(RunnableContextRunner.java:123)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)

[LDAP: error code 49 - INVALID_CREDENTIALS: Bind failed: ERR_229 Cannot authenticate user uid=admin,ou=system]
"

Can you know why this exception appears?

Please help me..

Thanks,
-Suresh.
Hi all,

I solved my issue by configuring via portal-ext.properties.
When we configured liferay to integrate with LDAP via portal-ext.properties. The users & groups automatically added to the LDAP server also.