Combination View Flat View Tree View
Threads [ Previous | Next ]
Monica Vlad
LDAP Liferay 6.1.1 export passwords issue
November 13, 2012 9:53 AM
Answer

Monica Vlad

Rank: New Member

Posts: 1

Join Date: November 13, 2012

Recent Posts

Hi guys,
I'm having some issues on exporting users to LDAP server.I'm using Liferay 6.1.1. Aparently the passwords exported are null. Also I noticed that if I export a user with an unencrypted password, the password gets encrypted in Liferay DB after export. I am not importing users from LDAP. This are my settings:

#LDAP settings

ldap.auth.enabled=true
ldap.auth.required=true
ldap.export.enabled=true

ldap.auth.search.filter.0=(&(objectCategory=person)(sAMAccountName=@screen_name@))
ldap.user.mappings.0=screenName=cn\npassword=userPassword\nemailAddress=mail\nfirstName=givenName\nlastName=sn\njobTitle=title
ldap.import.enabled.0=false
ldap.import.on.startup.0=false
ldap.users.dn.0=dc=example,dc=com
ldap.user.default.object.classes.0=top,person,inetOrgPerson,organizationalPerson,aselectperson

ldap.group.mappings.0=groupName=cn\ndescription=description\nuser=uniqueMember
ldap.groups.dn.0=dc=example,dc=com
ldap.group.default.object.classes.0=top,groupOfUniqueNames


ldap.password.policy.enabled=false
ldap.auth.method=password-compare
ldap.auth.password.encryption.algorithm=SHA

Also I can't export custom fields. I used this setting

ldap.user.custom.mappings.0=myLiferayAttr=myLDAPAttr

but It doesn't seem to work. Do you have any ideas what might go wrong?

Thanks