Foren

Regarding the addtional fields import in LDAP synchronize

Kevin yi, geändert vor 14 Jahren.

Regarding the addtional fields import in LDAP synchronize

New Member Beiträge: 5 Beitrittsdatum: 28.04.09 Neueste Beiträge
Hi All ,

I set up a LDAP import and it went well ,but it seems it only be able to synchronize the fields showed on configuration page(Frist/Last Name ,Screen name ,Email etc.)

Is it possible If I want to also import additional fields such contact number and address from LDAP ?

Anyone can give a clue? My liferay is 5.1

Thanks

Kevin
thumbnail
Samuel Kong, geändert vor 14 Jahren.

RE: Regarding the addtional fields import in LDAP synchronize

Liferay Legend Beiträge: 1902 Beitrittsdatum: 10.03.08 Neueste Beiträge
It is possible to import additional fields, but you will need to modify/extend the class PortalLDAPUtil
Kevin yi, geändert vor 14 Jahren.

RE: Regarding the addtional fields import in LDAP synchronize

New Member Beiträge: 5 Beitrittsdatum: 28.04.09 Neueste Beiträge
Thanks Samuel ,

if for phone and address ,there are exist fields in liferay ,right ?

and also ,can you give me a reference page for developing in that way ....

Regards

Samuel Kong:
It is possible to import additional fields, but you will need to modify/extend the class PortalLDAPUtil
thumbnail
Samuel Kong, geändert vor 14 Jahren.

RE: Regarding the addtional fields import in LDAP synchronize

Liferay Legend Beiträge: 1902 Beitrittsdatum: 10.03.08 Neueste Beiträge
Information on developing with the extension can be found here
Kevin yi, geändert vor 14 Jahren.

RE: Regarding the addtional fields import in LDAP synchronize

New Member Beiträge: 5 Beitrittsdatum: 28.04.09 Neueste Beiträge
Thanks for your prompting response

Cheers
thumbnail
Edgar Vonk, geändert vor 14 Jahren.

RE: Regarding the addtional fields import in LDAP synchronize

New Member Beiträge: 11 Beitrittsdatum: 09.06.09 Neueste Beiträge
Hi,

a little bit off-topic maybe but can Liferay update previously imported users from LDAP when these users are changed in LDAP? Also see: LDAP group import of new groups for existing users .

cheers,

Edgar
thumbnail
Edgar Vonk, geändert vor 14 Jahren.

RE: Regarding the addtional fields import in LDAP synchronize

New Member Beiträge: 11 Beitrittsdatum: 09.06.09 Neueste Beiträge
Sorry. By looking into the code and testing I see that it does so by default. Everytime a user logs in all user attributes are synced from LDAP thereby overriding any changes that may have been made in Liferay.
daniel bosch, geändert vor 14 Jahren.

RE: Regarding the addtional fields import in LDAP synchronize

New Member Beiträge: 9 Beitrittsdatum: 21.04.09 Neueste Beiträge
Kevin yi:
Hi All ,

I set up a LDAP import and it went well ,but it seems it only be able to synchronize the fields showed on configuration page(Frist/Last Name ,Screen name ,Email etc.)

Is it possible If I want to also import additional fields such contact number and address from LDAP ?

Anyone can give a clue? My liferay is 5.1

Thanks

Kevin


And is possible import users without email?

Thanks
thumbnail
Nidhi Singh, geändert vor 14 Jahren.

RE: Regarding the addtional fields import in LDAP synchronize

Regular Member Beiträge: 155 Beitrittsdatum: 07.10.09 Neueste Beiträge

And is possible import users without email?

Thanks


Hi,

email address is necessary.

Thanks
Nidhi Singh