掲示板

LDAP import issue Liferay 6

12年前 に Alexandre Terrasson によって更新されました。

LDAP import issue Liferay 6

Junior Member 投稿: 25 参加年月日: 10/07/15 最新の投稿
Hi,
I got some problems with the LDAP import in Liferay 6.

Whatever I make the LDAP configuration into the Control Panel or put it in the portal-ext.properties it's same : the users import don't work.
The first time I start/restart the server after the LDAP configuration, I got some strange error (Password policy exception) and after that, the import doesn't even launch. Sometimes the server won't start after the import tried and failed.

Here my LDAP parameters in the portal-ext.properties :


ldap.auth.enabled=true

ldap.factory.initial=com.sun.jndi.ldap.LdapCtxFactory
ldap.base.provider.url=ldap://192.168.1.24:10638
ldap.base.dn=o=My Corpo Test
ldap.security.principal=uid=admin,OU=Users,ou=Admin,o=My Corpo Test
ldap.security.credentials=admin

ldap.user.mappings=screenName=cn\nemailAddress=mail\nfirstName=displayname\nlastName=sn\njobTitle=description\ngroup=memberOf\npassword=userPassword
ldap.user.impl=com.liferay.portal.security.ldap.LDAPUser
ldap.user.default.object.classes=top,person,inetOrgPerson,organizationalPerson

ldap.group.mappings=groupName=cn\nuser=member

ldap.import.enabled=true
ldap.import.on.startup=true
ldap.import.interval=5
ldap.import.user.search.filter=(objectClass=inetOrgPerson)
ldap.import.group.search.filter=(objectClass=groupOf*)

ldap.export.enabled=false

ldap.import.method=user

auth.pipeline.pre=com.liferay.portal.security.auth.LDAPAuth
ldap.auth.search.filter=(cn=@screen_name@)

ldap.password.policy.enabled=true

passwords.encryption.algorithm=NONE


Those parameters works well with Liferay 5.2.3.
I use the Liferay-Tomcat bundle (versions 6 and 5.2.3).

Any help or suggestions would be greatly appreciated because I really don't understand what the problem .....

Thanks.
thumbnail
12年前 に Drew Blessing によって更新されました。

RE: LDAP import issue Liferay 6

Junior Member 投稿: 78 参加年月日: 11/01/27 最新の投稿
I am not exactly sure about the exception you are getting. I know the portal has a password policy but I was under the impression that LDAP synchronization overrides password policy. Maybe that's just CAS and I'm mistaken. I would suggest checking out the password policy settings in the portal. They could have changed those default policies in version 6. Maybe your accounts are not meeting that policy.

Below is the LDAP sync section from our Liferay 6 portal-ext.properties file. Maybe adding some of the additional property definitions will help you out. For reference, we're using OpenLDAP.

##
## ldap properties

ldap.auth.enabled=true
ldap.base.provider.url=ldap://ldap.ourdomain.org
ldap.base.dn=dc=ourdomain,dc=org
ldap.security.principal=cn=pam,dc=ourdomain,dc=org
ldap.security.credentials=supersecurepassword
ldap.referral=follow

ldap.auth.method=bind

ldap.auth.search.filter=(mail=@email_address@)
ldap.user.mappings=screenName=uidNumber\npassword=userPassword\nemailAddress=mail\nfirstName=givenName\nlastName=sn\ngroup=groupMembership\nfullName=gecos
ldap.import.enabled=true
ldap.import.on.startup=false
ldap.import.interval=10 
ldap.import.user.search.filter=(objectClass=inetOrgPerson)
ldap.import.group.search.filter=(objectClass=groupOfUniqueNames)
ldap.import.method=user
11年前 に Harsha M によって更新されました。

RE: LDAP import issue Liferay 6

New Member 投稿: 15 参加年月日: 08/09/26 最新の投稿
I am facing a similar issue using Domino LDAP integration with Liferay 6.1 CE ga1

The setting are successful but the users are not imported.
I was able to configure Microsoft Active Directory without any issues. But not sure why the Domino LDAP is giving this issue.

Regards,
Harsha
9年前 に David Welch によって更新されました。

RE: LDAP import issue Liferay 6

Junior Member 投稿: 87 参加年月日: 15/02/19 最新の投稿
I'm tring to configure Domino LDAP also, any luck?