留言板
LDAP alternative to internal DB
I had few questions:
Do we need to have all the users in the liferay db before they can login, is it not enough if they are in some external LDAP?
Also, if we have an external LDAP with users, why do we even LR db?
Thanks!
Do we need to have all the users in the liferay db before they can login, is it not enough if they are in some external LDAP?
Also, if we have an external LDAP with users, why do we even LR db?
Thanks!
Yes, the users need to exist within Liferay's User_ table as well. This is because there are other relationships with other tables that need to key off of the User_ table.
The best approach is to simply just have your Liferay User_ table mirror your LDAP server. This can be done lazily or as a batch update.
The best approach is to simply just have your Liferay User_ table mirror your LDAP server. This can be done lazily or as a batch update.