Uploaded image for project: 'Red Hat Directory Server'
  1. Red Hat Directory Server
  2. DIRSRV-179

Web UI: the Subtrees field must not be mandatory If you configure the Attribute Uniqueness plug-in over object classes

    • Icon: Bug Bug
    • Resolution: Done-Errata
    • Icon: Normal Normal
    • dirsrv-13.0
    • dirsrv-12.4
    • cockpit-389-ds
    • None
    • cockpit-389-ds-3.0.6-1.el10dsrv
    • None
    • rhel-idm-ds
    • 0
    • False
    • False
    • Hide

      None

      Show
      None
    • None
    • Red Hat Directory Server
    • None
    • None

      Description of a problem

      Go to *Plugin* -> *Attribute Uniqueness*  and click *Add Config* button.
      
      When you configure the Attribute Uniqueness {color:red}over object classes{color}, the configuration window requires you to set *Subtrees* field. This is incorrect, because only the *Top Entry OC* and *Subtree Entry's OC* fields are required.
      
      The configuration window will not let you save  the configuration without the *Subtrees* field set. See the screenshot for more details. 
      
      Corresponding command in the command line if you configure the plug-in over object classes is the fallowing:
      
      dsconf -D "cn=Directory Manager" ldap://server.example.com plugin attr-uniq add "Mail Uniqueness with OC" --attr-name mail --subtree-entries-oc=inetOrgPerson --top-entry-oc=nsContainer
      
      
      

       

      Version-Release number of the selected component

      rpm -q 389-ds-base cockpit-389-ds

      389-ds-base-2.5.2-2.el9_5.x86_64
      cockpit-389-ds-2.5.1-2.module+el9dsrv+22071+e756ccfb.noarch
       

      Browser (if applicable)

      Chrome

      Steps to reproduce

      1.
      2.
      3.
      

      Actual results

       

      Expected results

      The configuration window lets you to save the plug-in config with only *Top Entry OC* and *Subtree Entry's OC* fields set.

      Additional information

       

              idm-ds-dev-bugs IdM DS Dev
              emartyny@redhat.com Evgenia Martyniuk
              IdM DS QE IdM DS QE
              Evgenia Martyniuk Evgenia Martyniuk
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: