-
Notifications
You must be signed in to change notification settings - Fork 84
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dsidm account subtree-status fails with TypeError #5593
Labels
CLI
CLI tools
Comments
mreynolds389
added a commit
to mreynolds389/389-ds-base
that referenced
this issue
Jan 10, 2023
Description: The was a problem with the function parameters being passed to the filter method, and we were missing a parameter for the print entry function. relates: 389ds#5593 Reviewed by: spichugi(Thanks!)
mreynolds389
added a commit
that referenced
this issue
Jan 10, 2023
Description: The was a problem with the function parameters being passed to the filter method, and we were missing a parameter for the print entry function. relates: #5593 Reviewed by: spichugi(Thanks!)
mreynolds389
added a commit
that referenced
this issue
Jan 10, 2023
Description: The was a problem with the function parameters being passed to the filter method, and we were missing a parameter for the print entry function. relates: #5593 Reviewed by: spichugi(Thanks!)
mreynolds389
added a commit
that referenced
this issue
Jan 10, 2023
Description: The was a problem with the function parameters being passed to the filter method, and we were missing a parameter for the print entry function. relates: #5593 Reviewed by: spichugi(Thanks!)
mreynolds389
added a commit
that referenced
this issue
Jan 10, 2023
Description: The was a problem with the function parameters being passed to the filter method, and we were missing a parameter for the print entry function. relates: #5593 Reviewed by: spichugi(Thanks!)
mreynolds389
added a commit
that referenced
this issue
Jan 10, 2023
Description: The was a problem with the function parameters being passed to the filter method, and we were missing a parameter for the print entry function. relates: #5593 Reviewed by: spichugi(Thanks!)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Issue Description
Running "dsidm account subtree-status" command fails with TypeError.
Steps to Reproduce
Actual results:
DEBUG: expected list of strings or None
Traceback (most recent call last):
File "/usr/sbin/dsidm", line 140, in
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
The text was updated successfully, but these errors were encountered: