2013-09-16 103 views
0

我想啓用Liferay中的用戶導出到我的OpenLDAP服務器中。 因此,我啓用了配置頁面上的ceckbox,並在LDAP導出中設置了參數。Liferay和將用戶導出到LDAP中

現在,當我嘗試創建Liferay的用戶,我得到:

登錄暫時不可用。

有什麼建議嗎?

enter image description here

這是Java控制檯中的BT:

Caused by: javax.naming.directory.InvalidAttributeValueException: [LDAP: error code 21 - object 
class: value #1 invalid per syntax]; remaining name 'cn=myname,dc=myTest,dc=com' 
     at com.sun.jndi.ldap.LdapCtx.mapErrorCode(LdapCtx.java:3054) 
     at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2987) 
     at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2794) 
     at com.sun.jndi.ldap.LdapCtx.c_bind(LdapCtx.java:397) 
     at com.sun.jndi.ldap.LdapCtx.c_bind(LdapCtx.java:354) 
     at com.sun.jndi.toolkit.ctx.ComponentContext.p_bind(ComponentContext.java:596) 
     at com.sun.jndi.toolkit.ctx.PartialCompositeContext.bind(PartialCompositeContext.java:1 
83) 
     at javax.naming.InitialContext.bind(InitialContext.java:404) 
     at com.liferay.portal.security.ldap.PortalLDAPExporterImpl.addUser(PortalLDAPExporterIm 
pl.java:360) 
     at com.liferay.portal.security.ldap.PortalLDAPExporterImpl.exportToLDAP(PortalLDAPExpor 
terImpl.java:252) 
     at com.liferay.portal.security.ldap.PortalLDAPExporterUtil.exportToLDAP(PortalLDAPExpor 
terUtil.java:62) 
     at com.liferay.portal.model.UserListener.exportToLDAP(UserListener.java:96) 
     at com.liferay.portal.model.UserListener.onAfterUpdate(UserListener.java:72) 
     ... 91 more 
+0

哪個Liferay版本?每個人都有不同的LDAP錯誤 – yannicuLar

回答

0

或者你在錯誤的配置,或者你被困在一個Liferay的 - LDAP錯誤。 Here是未解決問題的列表。

下次請給我們提供英文錯誤信息,因爲我在屏幕截圖中看到的所有內容都是......錯誤信息。

0

如果您使用的是Liferay 6.1社區,那麼在該版本中有一些未解決的LDAP相關錯誤。我遇到了一些問題,最終它的工作原理如下:

隨意問任何人有任何問題。