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

dsidm failing with error "argument must be a string or a number"

Linking RHIVOS CVEs to...Migration: Automation ...SWIFT: POC ConversionSync from "Extern...XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done-Errata
    • Icon: Undefined Undefined
    • rhel-10.1
    • None
    • 389-ds-base
    • None
    • 389-ds-base-3.1.3-2.el10
    • No
    • Low
    • rhel-idm-ds
    • 0
    • False
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • Unspecified
    • Unspecified
    • Unspecified
    • None

      Description of a problem

      dsimd command is failing to show the status details.
      For instance:
      
      dsidm ldapi://%2fvar%2frun%2fslapd-<INSTANCE>.socket -b ou=people,o=test account entry-status cn=user_1,ou=people,o=test
      Error: float() argument must be a string or a number, not 'NoneType'

      Version-Release number of the selected component

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

      389-ds-base-2.4.5-7.module+el9dsrv+22137+7a1133f7.x86_64
      cockpit-389-ds-2.4.5-7.module+el9dsrv+22137+7a1133f7.noarch

      Browser (if applicable)

       

      Steps to reproduce

      1. Create a new user
      2. Check the account status
      3. Check for another user
      

      Actual results

      Failing to get the account details.

      Expected results

      Working command

      Additional information

      # dsidm ldapi://%2fvar%2frun%2fslapd-<INSTANCE>.socket -b ou=people,o=test account entry-status cn=user_1,ou=people,o=test
      Error: float() argument must be a string or a number, not 'NoneType'
      #
      
      while this is working fine for another user:
      
      # dsidm ldapi://%2fvar%2frun%2fslapd-<INSTANCE>.socket -b ou=people,o=test account entry-status uid=demo_user,ou=people,o=test
      Entry DN: uid=demo_user,ou=people,o=test
      Entry Creation Date: 20200607214710Z (2020-06-07 21:47:10)
      Entry Modification Date: 20200607214710Z (2020-06-07 21:47:10)
      Entry Last Login Date: 20200607214710Z (2020-06-07 21:47:10)
      Entry State: directly locked through nsAccountLock
      
      #

              idm-ds-dev-bugs IdM DS Dev
              rhn-support-tmihinto Têko Mihinto
              IdM DS Dev IdM DS Dev
              IdM DS QE IdM DS QE
              Evgenia Martyniuk Evgenia Martyniuk
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: