Uploaded image for project: 'OpenIDM'
  1. OpenIDM
  2. OPENIDM-12414

Explicit DS sample includes country attribute but no objectClass to support it

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Cannot Reproduce
    • Affects Version/s: 6.5.0
    • Fix Version/s: 7.0.0
    • Component/s: Module - Repository DS
    • Labels:
    • Verified Version/s:
    • Support Ticket IDs:

      Description

      When installing DS as an explicit repository, the following objectClasses are defined within the repo.ds-explicit-managed-user.json for the managed/user type:

              "objectClasses": [
                "person",
                "organizationalPerson",
                "inetOrgPerson",
                "fr-idm-managed-user-explicit"
              ],
      

      This also includes an attribute for country:

                "country": {
                  "type": "simple",
                  "ldapAttribute": "c"
                },
      

      However, the 'c' attribute is not an attribute for any of these classes so country cannot be used despite being included in the schema. If you add the 'country' objectClass, then 'c' becomes a MUST despite being non-required in the managed schema.

      A simple solution would be to modify the 60-repo-schema.ldif file to add 'c' to the 'fr-idm-managed-user-explicit' objectClass as a MAY:

      objectClasses: ( 1.3.6.1.4.1.36733.2.3.2.7
        NAME 'fr-idm-managed-user-explicit'
        SUP inetOrgPerson
        MAY ( fr-idm-accountStatus $
              fr-idm-password $
              pwdCheckQuality $
              pwdMinLength $
              pwdExpireWarning $
              fr-idm-role $
              fr-idm-effectiveRole $
              fr-idm-effectiveAssignment $
              fr-idm-kbaInfo $
              fr-idm-lastSync $
              fr-idm-preferences $
              fr-idm-consentedMapping $
              c )
        X-ORIGIN 'OpenIDM DSRepoService' )
      

        Attachments

          Activity

            People

            • Assignee:
              jason Jason Lemay
              Reporter:
              tom.wood Tom Wood
              QA Assignee:
              Son Nguyen
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: