Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
Zimbra LDAP server integration with Liferay
Hi all,
I installed liferay and zimbra. I want to connect the Zimbra LDAP server to liferay
My ldap connection is :
ldap.users.dn=ou=People,dc=zimbra,dc=localhost,dc=com ldap.user.mappings=screenName=uid\npassword=userPassword\nemailAddress=mail\nfirstName=cn\nlastName=sn
ldap.base.provider.url=ldap://localhost:389
ldap.security.principal=uid=zimbra,cn=admins,cn=zimbra
ldap.security.credentials=cblra2HMy
ldap.auth.enabled=true
ldap.auth.required=false
ldap.auth.password.encryption.algorithm.types=MD5,SHA,SSHA
i am getting the following errror
19:07:05,256 ERROR [PortalLDAPUtil:60] Error importing LDAP users and groups
javax.naming.NameNotFoundException: [LDAP: error code 32 - No Such Object]; remaining name 'dc=people,uid=admin,dc=localhost'
at com.sun.jndi.ldap.LdapCtx.mapErrorCode(LdapCtx.java:3030)
at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2951)
at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2758)
at com.sun.jndi.ldap.LdapCtx.searchAux(LdapCtx.java:1812)
at com.sun.jndi.ldap.LdapCtx.c_search(LdapCtx.java:1735)
at com.sun.jndi.toolkit.ctx.ComponentDirContext.p_search(ComponentDirContext.java:368)
at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.search(PartialCompositeDirContext.java:338)
at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.search(PartialCompositeDirContext.java:321)
at javax.naming.directory.InitialDirContext.search(InitialDirContext.java:248)
at com.liferay.portal.security.ldap.PortalLDAPUtil.getUsers(PortalLDAPUtil.java:526)
at com.liferay.portal.security.ldap.PortalLDAPUtil.getUsers(PortalLDAPUtil.java:515)
at com.liferay.portal.security.ldap.PortalLDAPUtil.importFromLDAP(PortalLDAPUtil.java:568)
at com.liferay.portal.security.ldap.PortalLDAPUtil.importFromLDAP(PortalLDAPUtil.java:548)
at com.liferay.portlet.admin.job.LDAPImportJob.execute(LDAPImportJob.java:63)
at com.liferay.portal.job.JobWrapper.execute(JobWrapper.java:62)
at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:529)
Please help me out..
Thanks in advance...
Regards,
thangavel
I installed liferay and zimbra. I want to connect the Zimbra LDAP server to liferay
My ldap connection is :
ldap.users.dn=ou=People,dc=zimbra,dc=localhost,dc=com ldap.user.mappings=screenName=uid\npassword=userPassword\nemailAddress=mail\nfirstName=cn\nlastName=sn
ldap.base.provider.url=ldap://localhost:389
ldap.security.principal=uid=zimbra,cn=admins,cn=zimbra
ldap.security.credentials=cblra2HMy
ldap.auth.enabled=true
ldap.auth.required=false
ldap.auth.password.encryption.algorithm.types=MD5,SHA,SSHA
i am getting the following errror
19:07:05,256 ERROR [PortalLDAPUtil:60] Error importing LDAP users and groups
javax.naming.NameNotFoundException: [LDAP: error code 32 - No Such Object]; remaining name 'dc=people,uid=admin,dc=localhost'
at com.sun.jndi.ldap.LdapCtx.mapErrorCode(LdapCtx.java:3030)
at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2951)
at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2758)
at com.sun.jndi.ldap.LdapCtx.searchAux(LdapCtx.java:1812)
at com.sun.jndi.ldap.LdapCtx.c_search(LdapCtx.java:1735)
at com.sun.jndi.toolkit.ctx.ComponentDirContext.p_search(ComponentDirContext.java:368)
at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.search(PartialCompositeDirContext.java:338)
at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.search(PartialCompositeDirContext.java:321)
at javax.naming.directory.InitialDirContext.search(InitialDirContext.java:248)
at com.liferay.portal.security.ldap.PortalLDAPUtil.getUsers(PortalLDAPUtil.java:526)
at com.liferay.portal.security.ldap.PortalLDAPUtil.getUsers(PortalLDAPUtil.java:515)
at com.liferay.portal.security.ldap.PortalLDAPUtil.importFromLDAP(PortalLDAPUtil.java:568)
at com.liferay.portal.security.ldap.PortalLDAPUtil.importFromLDAP(PortalLDAPUtil.java:548)
at com.liferay.portlet.admin.job.LDAPImportJob.execute(LDAPImportJob.java:63)
at com.liferay.portal.job.JobWrapper.execute(JobWrapper.java:62)
at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:529)
Please help me out..
Thanks in advance...
Regards,
thangavel
Please try http://127.0.0.1 instead of localhost.
I hope it will be helpful to you.
Thanks & regards
Nrupay Shah
I hope it will be helpful to you.
Thanks & regards
Nrupay Shah