0 Replies Latest reply on Nov 11, 2009 6:21 AM by aeik

    LDAP-Datatype for 'portal.user.enabled'



      i need to save all profile-data for a user in ldap, because the ldap ist used by other applications, too.

      everything works fine so far. only saving or changing the value of 'portal.user.enabled' does not work. registering a user fails, because the field could not be created.

      When enabling/disabling a user, following error occurs:

      ERROR [IdentityUserBean] updateProfile failed
      org.jboss.portal.identity.IdentityException: Wrong property type. Must be: java.lang.String; and found: java.lang.Boolean


      [Server] JBoss (MX MicroKernel) [4.2.3.GA (build: SVNTag=JBoss_4_2_3_GA date=200807181417)]
      OpenLDAP: slapd 2.4.9 on debian

      mapping in profile-config.xml:
       <display-name xml:lang="en">Enabled</display-name>
       <description xml:lang="en">Is user enabled?</description>

      attributeType ( 2.16.840.1.113730.3.2.94 NAME 'enabled'
       DESC 'userEnabled'
       SYNTAX )

      I've manualy set the value in my ldap. The correct value is displayed in the Portal User Management.

      What's wrong with my configuration? Any idea to solve the problem?