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 :
1
2ldap.auth.enabled=true
3
4ldap.factory.initial=com.sun.jndi.ldap.LdapCtxFactory
5ldap.base.provider.url=ldap://192.168.1.24:10638
6ldap.base.dn=o=My Corpo Test
7ldap.security.principal=uid=admin,OU=Users,ou=Admin,o=My Corpo Test
8ldap.security.credentials=admin
9
10ldap.user.mappings=screenName=cn\nemailAddress=mail\nfirstName=displayname\nlastName=sn\njobTitle=description\ngroup=memberOf\npassword=userPassword
11ldap.user.impl=com.liferay.portal.security.ldap.LDAPUser
12ldap.user.default.object.classes=top,person,inetOrgPerson,organizationalPerson
13
14ldap.group.mappings=groupName=cn\nuser=member
15
16ldap.import.enabled=true
17ldap.import.on.startup=true
18ldap.import.interval=5
19ldap.import.user.search.filter=(objectClass=inetOrgPerson)
20ldap.import.group.search.filter=(objectClass=groupOf*)
21
22ldap.export.enabled=false
23
24ldap.import.method=user
25
26auth.pipeline.pre=com.liferay.portal.security.auth.LDAPAuth
27ldap.auth.search.filter=(cn=@screen_name@)
28
29ldap.password.policy.enabled=true
30
31passwords.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.
Por favor, faça login para denunciar.