Details

    • Branch Version/s:
      6.0.x
    • Backported to Branch:
      Committed

      Description

      1. Click Settings in Control Panel.
      2. Click LDAP in Authentication.
      3. Add a LDAP Server.
      4. Check "Enabled" and "Required" and "Export Enabled".Then save.
      5. Add a user.

      You can see the error message:"Users is temporarily unavailable. ".And error message in console:
      02:30:39,812 ERROR [render_portlet_jsp:154] com.liferay.portal.ModelListenerException: javax.naming.directory.InvalidAttributeIdentifierException: [LDAP: error code 17 - failed to
      modify entry cn=song,ou=users,dc=paul,dc=example,dc=com: null]; remaining name 'cn=song,ou=users,dc=paul,dc=example,dc=com'
      at com.liferay.portal.model.UserListener.onAfterCreate(UserListener.java:39)
      at com.liferay.portal.model.UserListener.onAfterCreate(UserListener.java:1)
      at com.liferay.portal.model.BaseModelListener.onAfterCreate(BaseModelListener.java:1)
      at com.liferay.portal.service.persistence.impl.BasePersistenceImpl.update(BasePersistenceImpl.java:258)
      at com.liferay.portal.service.persistence.impl.BasePersistenceImpl.update(BasePersistenceImpl.java:274)
      at com.liferay.portal.service.impl.UserLocalServiceImpl.addUser(UserLocalServiceImpl.java:443)
      at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:86)
      at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:60)
      at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:60)
      at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:60)
      at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:60)
      at com.liferay.portal.service.impl.UserServiceImpl.addUser(UserServiceImpl.java:194)
      at com.liferay.portal.service.impl.UserServiceImpl.addUser(UserServiceImpl.java:217)
      at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:86)
      at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:60)
      at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:60)
      at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:60)
      at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:60)
      at com.liferay.portal.service.UserServiceUtil.addUser(UserServiceUtil.java:117)
      at com.liferay.portlet.enterpriseadmin.action.EditUserAction.addUser(EditUserAction.java:386)
      Caused by: javax.naming.directory.InvalidAttributeIdentifierException: [LDAP: error code 17 - failed to modify entry cn=song,ou=users,dc=paul,dc=example,dc=com: null]; remaining na
      me 'cn=song,ou=users,dc=paul,dc=example,dc=com'
      at com.sun.jndi.ldap.LdapCtx.mapErrorCode(LdapCtx.java:3110)
      at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2987)

        Attachments

          Activity

            People

            • Assignee:
              paul.piao Paul Piao (Inactive)
              Reporter:
              paul.piao Paul Piao (Inactive)
              Participants of an Issue:
              Recent user:
              Esther Sanz
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                8 years, 30 weeks, 5 days ago

                Packages

                Version Package
                6.0.12 EE
                6.1.0 CE RC1