Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have this problem:

I have enabled Liferay to import and export users from/to OpenLDAP server.

When I create a user in Liferay I obtain this page:

enter image description here

So, I have create a new user and Liferay has assigned to it a password (3zbPk6KA).

But.. if I try to login with new user (and generated password) I obtain the error message of incorrect credentials. In LDAP server I can see the new account but, the corresponding password seems to be different from that generated by Liferay..

In Java console i read this waring: 14:20:15,882 WARN [http-bio-8080-exec-6][LDAPAuth:208] Passwords do not match for userDN cn=myUser,ou=users,dc=myProject,dc=com

Some suggestions?

share|improve this question

This is a bug of Liferay:

share|improve this answer

The Encryption must match between Liferay and your LDAP server.

You need to set ldap.auth.password.encryption.algorithm in

share|improve this answer
ok, I have set the ldap.auth.password.encryption.algorithm in my file (for example SHA) and... How can I know the corresponding encryption algorithm in OpenLDAP? – Safari Oct 3 '13 at 14:31

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.