Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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
add comment

2 Answers 2

This is a bug of Liferay:

share|improve this answer
add comment

The Encryption must match between Liferay and your LDAP server.

You need to set ldap.auth.password.encryption.algorithm in portal-ext.properties

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

Your Answer

 
discard

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.