Foren

How to distinguish LDAP users

thumbnail
Aritz Galdos, geändert vor 13 Jahren.

How to distinguish LDAP users

Expert Beiträge: 416 Beitrittsdatum: 15.05.07 Neueste Beiträge
Hi there:

I need to distinguish users logged and inported from LDAP against user that do not exist in LDAP.

Is there any way to do it programatically?

Another solution could be maybe to add user to a group called i.e. LDAP-USERS or non-LDAP users to a group called i.e. NON-LDAP

Any suggestion?
thumbnail
Gustavo Fernández Gómez, geändert vor 13 Jahren.

RE: How to distinguish LDAP users

Regular Member Beiträge: 191 Beitrittsdatum: 26.10.07 Neueste Beiträge
Hi,

the ldap import process crearte a regular user into the liferay backend. I think if you want to distinguish users added from ldap you have to check it manually using custom-attributes or groups or roles...
thumbnail
Aritz Galdos, geändert vor 13 Jahren.

RE: How to distinguish LDAP users

Expert Beiträge: 416 Beitrittsdatum: 15.05.07 Neueste Beiträge
Great, is what I thought.

So I will have to add users to different groups during import or creation phase.

Thanks
thumbnail
Gustavo Fernández Gómez, geändert vor 13 Jahren.

RE: How to distinguish LDAP users

Regular Member Beiträge: 191 Beitrittsdatum: 26.10.07 Neueste Beiträge
one question, why use groups insted of custom attributes?
thumbnail
Aritz Galdos, geändert vor 13 Jahren.

RE: How to distinguish LDAP users

Expert Beiträge: 416 Beitrittsdatum: 15.05.07 Neueste Beiträge
No reason actually. It may be the solution I will adopt too.

;)