Import Users From LDAP to Liferay

So, I'm using Liferay 6.1 CE, LDAP server with all my users and groups. What I want to do is to import the users and their group from LDAP to Liferay. I did the configurarion in the Cntrol Panel of Liferay with These Parameter :

USER

Authentication Search Filter : (uid=@screen_name@) Import Search Filter : (objectClass=inetOrgPerson) Mapping (Screen Name --> uid , Password --> userPassword, Email address --> email, fullname --> cn, last name --> sn, uuid --> uid) ... The "Test LDAP Users" gives me a result, so my config until now is correct !

Next for the Group :

Group

Import Search Filter : (objectClass=posixGroup) ... for the mapping (Group Name --> cn , user --> memberUid)

Now, when I try to log in Liferay with my credentials from the LDAP it doesn't work... Any idea to fix this issue ?

Thanks & Regards


You can try adding

users.screen.name.validator=com.liferay.portal.security.auth.LiberalScreenNameValidator

in you portal-ext.properties files. This allows liferay to handle underscores and numerals better in the username.

链接地址: http://www.djcxy.com/p/60888.html

上一篇: memberOf来自继承组和角色/过滤的值

下一篇: 将用户从LDAP导入Liferay