Foren

LDAP alternative to internal DB

curious Liferay, geändert vor 14 Jahren.

LDAP alternative to internal DB

Junior Member Beiträge: 57 Beitrittsdatum: 08.10.09 Neueste Beiträge
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!
thumbnail
Brian Kim, geändert vor 14 Jahren.

RE: LDAP alternative to internal DB

Expert Beiträge: 311 Beitrittsdatum: 17.08.04 Neueste Beiträge
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.