Foren

LDAP successfully configured with liferay, but users are't created portal?

RAVI RAJAMANI, geändert vor 7 Jahren.

LDAP successfully configured with liferay, but users are't created portal?

Regular Member Beiträge: 123 Beitrittsdatum: 07.12.14 Neueste Beiträge
Have configured the LDAP to liferay using portal-ext.properties as attached.

LDAP was successfully configured.
When i check in a Control panel-portal setting-authentication-LDAP-setting and LDAP user and Groups are showing fine.

but


The users and groups are not created in portal



ldap.base.provider.url=ldap://localhost:10389
ldap.base.dn=uid=admin,ou=system
ldap.security.principal=uid=admin,ou=system
ldap.security.credentials=secret
ldap.auth.enabled=true
ldap.auth.required=false
ldap.users.dn=ou=users,ou=system  
ldap.user.mappings=screenName=cn\npassword=userPassword\nemailAddress=mail\nfirstName=givenName\nlastName=sn\njobTitle=title\ngroup=groupMembership\n
ldap.import.user.search.filter=(objectClass=inetOrgPerson)
ldap.auth.search.filter=(mail=@email_address@)
ldap.user.default.object.classes=top,person,inetOrgPerson,organizationalPerson
ldap.user.custom.mappings.0=MobileNumber=mobile\n
ldap.import.method=user
ldap.import.method=group


ldap.import.enabled=true
ldap.import.on.startup=true


Regards,
Ravi R
thumbnail
David H Nebinger, geändert vor 7 Jahren.

RE: LDAP successfully configured with liferay, but users are't created por

Liferay Legend Beiträge: 14919 Beitrittsdatum: 02.09.06 Neueste Beiträge
You can't just apply LDAP settings and say they're all working.

Set them in the control panel and use the test buttons to verify they are all working.

Often times the import search filter is incorrect or needs to be modified to return a list of people (excluding service accounts).

I have yet to find a system where these default values work without some sort of modification.








Come meet me at the LSNA!
RAVI RAJAMANI, geändert vor 7 Jahren.

RE: LDAP successfully configured with liferay, but users are't created por

Regular Member Beiträge: 123 Beitrittsdatum: 07.12.14 Neueste Beiträge
All users are imported from the LDAP and user are created in portal.
but

I need to import the user who belongs to particular group not a all users in LDAP.


How to achieve this.
thumbnail
David H Nebinger, geändert vor 7 Jahren.

RE: LDAP successfully configured with liferay, but users are't created por

Liferay Legend Beiträge: 14919 Beitrittsdatum: 02.09.06 Neueste Beiträge
So you have to tweak your search filter to only include the group.