Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-67004

"dsconf config replace" should handle multivalued attributes.

Linking RHIVOS CVEs to...Migration: Automation ...Sync from "Extern...XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done-Errata
    • Icon: Normal Normal
    • rhel-9.6
    • rhel-9.4
    • 389-ds-base
    • None
    • 389-ds-base-2.6.1-1.el9
    • No
    • Moderate
    • rhel-idm-ds
    • 26
    • 0
    • False
    • False
    • Hide

      None

      Show
      None
    • Yes
    • None
    • Bug Fix
    • Hide
      .`dsconf config replace` can now handle multivalued attributes as expected

      Before this update, the `dsconf config replace` command could set only one value for an attribute, such as `nsslapd-haproxy-trusted-ip`. With this release, you can set several values by using the following command:

      [subs="+quotes"]
      ----
      # *dsconf _<instace_name>_ config replace nsslapd-haproxy-trusted-ip=_<ip_address_1>_ nsslapd-haproxy-trusted-ip=_<ip_address_2>_ nsslapd-haproxy-trusted-ip=_<ip_address_3>_*
      ----
      Show
      .`dsconf config replace` can now handle multivalued attributes as expected Before this update, the `dsconf config replace` command could set only one value for an attribute, such as `nsslapd-haproxy-trusted-ip`. With this release, you can set several values by using the following command: [subs="+quotes"] ---- # *dsconf _<instace_name>_ config replace nsslapd-haproxy-trusted-ip=_<ip_address_1>_ nsslapd-haproxy-trusted-ip=_<ip_address_2>_ nsslapd-haproxy-trusted-ip=_<ip_address_3>_* ----
    • Done
    • None

      Description of a problem

      It would be useful if the "dsconf config replace" command can be used to replace current value(s) with new ones.
      For instance, to replace the existing values of "nsslapd-haproxy-trusted-ip":
      
      dsconf -D "cn=Directory Manager" ldap://<HOST>:<PORT> config replace nsslapd-haproxy-trusted-ip=<NEW_IP_ADDRESS_1> nsslapd-haproxy-trusted-ip=<NEW_IP_ADDRESS_2> nsslapd-haproxy-trusted-ip=<NEW_IP_ADDRESS_3> 
      

      Version-Release number of the selected component

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

       

      Browser (if applicable)

       

      Steps to reproduce

      1.
      2.
      3.
      

      Actual results

       

      Expected results

       

      Additional information

       

              spichugi@redhat.com Simon Pichugin
              rhn-support-tmihinto Têko Mihinto
              IdM DS Dev IdM DS Dev
              Viktor Ashirov Viktor Ashirov
              Evgenia Martyniuk Evgenia Martyniuk
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: