Uploaded image for project: 'EJBCA'
  1. EJBCA
  2. ECA-1841

Error adding end entity with several required and non required OUs

    Details

      Description

      Created an end entity profile with a subject DN with CN field, 5 OU fields, O field and C field where:

      • CN is required and modifiable;
      • The first OU field is required and not modifiable;
      • The next 3 OU fields are modifiable only (not required);
      • The last OU is required and not modifiable;
      • O is not required and is modifiable;
      • C is required and is modifiable.

      When trying to add a new end entity, without filling one (or two or three) of the three
      (non required) OU fields it throws an exception:
      "Subject DN field 'ORGANIZATIONUNIT' must exist.
      org.ejbca.core.model.ra.raadmin.UserDoesntFullfillEndEntityProfile: Subject DN field 'ORGANIZATIONUNIT' must exist.
      at org.ejbca.core.ejb.ra.LocalUserAdminSessionBean.addUser(LocalUserAdminSessionBean.java:504)".

      If we use all five OUs there is no error.

      This happens both in the AdminGUI and via the WS API.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              lars Lars Silvén
              Reporter:
              ssantos Sara Gomes Santos
              Verified by:
              Tomas Gustavsson
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: