Featured post

Docker setup for Liferay 7 with MySQL

Tuesday 15 May 2012

LDAP Group import fails if email address is null for a user


Context: 
We are trying to import users based on specific groups.

Our Import Search Filter is set properly -

The issue one facing is for one user the email address is not set. So the import is failing.

Question :
Ideally it should skip that user and import the other users but the whole process fails.


Answer :
Here is a response to that question.  It is not a bug.  In order for a user to be authenticated in the
Liferay Portal, five pieces of user data are needed.  Without these, user authentication will fail.

They are:

1.  Screen name
2.  First name
3.  Last name
4.  Email
5.  Password



Resolution :
 So in this case, you need to set:

     users.email.address.required=true to "false."
     users.email.address.auto.suffix=@no-emailaddress.com

If require, please take reference from portal.properties in Liferay Source or leave a comment here.

You are just done, Try & Enjoy the function.............:))


1 comment:

  1. I was surfing the Internet for information and came across your blog. I am impressed by the information you have on this blog. It shows how well you understand this subject. find contact details

    ReplyDelete