Description of problem: Running "dsidm account subtree-status" command fails with TypeError. Version-Release number of selected component (if applicable): 389-ds-base-2.0.14-3.module+el9dsrv+14387+a6c313de.x86_64 389-ds-base-2.0.14-1.el9.x86_64 How reproducible: Always Steps to Reproduce: 1. # dsidm -D "cn=Directory Manager" ldap://localhost -b "dc=example,dc=com" account subtree-status "ou=People,dc=example,dc=com" -f "(uid=*)" Actual results: DEBUG: expected list of strings or None Traceback (most recent call last): File "/usr/sbin/dsidm", line 140, in <module> result = args.func(inst, dsrc_inst['basedn'], log, args) File "/usr/lib/python3.9/site-packages/lib389/cli_idm/account.py", line 87, in subtree_status account_list = Accounts(inst, basedn).filter(filter, scope) File "/usr/lib/python3.9/site-packages/lib389/_mapped_object.py", line 1264, in filter results = self._instance.search_ext_s( File "/usr/lib/python3.9/site-packages/lib389/__init__.py", line 174, in inner return f(*args, **kwargs) File "/usr/lib64/python3.9/site-packages/ldap/ldapobject.py", line 863, in search_ext_s msgid = self.search_ext(base,scope,filterstr,attrlist,attrsonly,serverctrls,clientctrls,timeout,sizelimit) File "/usr/lib/python3.9/site-packages/lib389/__init__.py", line 174, in inner return f(*args, **kwargs) File "/usr/lib64/python3.9/site-packages/ldap/ldapobject.py", line 853, in search_ext return self._ldap_call( File "/usr/lib/python3.9/site-packages/lib389/__init__.py", line 174, in inner return f(*args, **kwargs) File "/usr/lib64/python3.9/site-packages/ldap/ldapobject.py", line 324, in _ldap_call result = func(*args,**kwargs) TypeError: expected list of strings or None ERROR: Error: expected list of strings or None Expected results: Additional info:
Upstream ticket: https://github.com/389ds/389-ds-base/issues/5593
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (redhat-ds:12 bug fix and enhancement update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2023:3344