留言板

LDAP alternative to internal DB

curious Liferay,修改在14 年前。

LDAP alternative to internal DB

Junior Member 帖子: 57 加入日期: 09-10-8 最近的帖子
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,修改在14 年前。

RE: LDAP alternative to internal DB

Expert 帖子: 311 加入日期: 04-8-17 最近的帖子
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.