Uploaded image for project: 'Automation Hub'
  1. Automation Hub
  2. AAH-1957

PAH LDAP cannot set group type MemberDNGroupType

Details

    Description

      Description

      When attempting to set the LDAP Group to MemberDNGroupType.

      automationhub_ldap_group_type_class = "django_auth_ldap.config:MemberDNGroupType"

      The installer errors out in the {}pulp.pulp_installer.pulp_database_config{} task with the following error.

       

      File \"/usr/lib/python3.9/site-packages/galaxy_ng/app/dynaconf_hooks.py\", line 384, in configure_ldap", "    data[\"AUTH_LDAP_GROUP_TYPE\"] = group_type_class(name_attr=\"cn\")", "TypeError: {}init{}() missing 1 required positional argument: 'member_attr'"

      Key Dependency Versions

      python3-pulpcore-3.18.6-2.el9pc.noarch
      python3-pulp-container-2.10.7-1.el9pc.noarch
      python3-pulp-ansible-0.13.2-2.el9pc.noarch
      pulpcore-selinux-1.3.2-1.el9ap.x86_64

      automation-hub-4.5.2-1.el9pc.noarch

      Steps to Reproduce

      In the inventory file add the following LDAP option.

       

      automationhub_ldap_group_type_class="django_auth_ldap.config:MemberDNGroupType

      Actual Behavior

      The installer errors out.

      missing 1 required positional argument: 'member_attr'

      The member_attr is required for the MemberDNGroupType.

      Expected Behavior

      The installer completes successfully with the requested LDAP group type configured.

      Attachments

        Activity

          People

            ctorrens@redhat.com Christian Torrens
            rhn-support-jhunt Jacob Hunt
            Christian Torrens Christian Torrens
            Votes:
            1 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: