Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
RE: How to load Ldap users into Liferay 7.2 EE
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 ?
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.
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.
<p>Chris, can you please let me know how I have import AD groups into Liferay</p>
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.
I am not sure, if the filter is correct by default. Maybe you need to change it.
Thanks Chris, I loaded by enabling Import through Control Panel --> Instance Settings
Copyright © 2025 Liferay, Inc
• Privacy Policy
Powered by Liferay™