RE: How to load Ldap users into Liferay 7.2 EE

sree p, modified 5 Years ago. Junior Member Posts: 91 Join Date: 10/3/19 Recent Posts
Hello, I successfully configured ldap with my liferay 7.2 EE, but I could not see ldap users to grant an access, so how I can load all ldap users and groups into my Liferay ? is this good approach ? how I can grant access to AD users ?
thumbnail
Christoph Rabel, modified 5 Years ago. Liferay Legend Posts: 1555 Join Date: 9/24/09 Recent Posts
I am not sure about Liferay 7.2, but in earlier version there was a checkbox "Import enabled". It enabled an import job that tried to import all users in regular intervals.
I usually found that it is a mixed blessing to import all users. At least in earlier versions that background job took quite some time to import/update thousands and thousand of users. And in that sense, it proved to be not reliable.
I mean, a new user is added and the admin immediately wants to give him some permissions in Liferay. But it wasn't imported yet. And the admin doesn't know if he will be imported soon or only a lot later. (Note: This was my experience in Liferay 6, so it might have improved).
We usually use ldap groups to grant access. We configure group import and then we add those groups to roles as members.
sree p, modified 5 Years ago. Junior Member Posts: 91 Join Date: 10/3/19 Recent Posts
<p>Chris, can you please let me know how I have import AD groups into Liferay</p>
thumbnail
Christoph Rabel, modified 5 Years ago. Liferay Legend Posts: 1555 Join Date: 9/24/09 Recent Posts
In the form where you configure the LDAP server, hostname, credentials, ... you also have a list of fields for group import. When you click "Test LDAP Groups" you should see a list of some groups. If you see that list, it should also be imported.
I am not sure, if the filter is correct by default. Maybe you need to change it.
sree p, modified 5 Years ago. Junior Member Posts: 91 Join Date: 10/3/19 Recent Posts
Thanks Chris, I loaded by enabling Import through Control Panel --> Instance Settings