-
Bug
-
Resolution: Done-Errata
-
Undefined
-
None
-
None
-
389-ds-base-3.1.3-2.el10
-
No
-
Low
-
rhel-idm-ds
-
0
-
False
-
False
-
-
None
-
None
-
Pass
-
Automated
-
Unspecified
-
Unspecified
-
Unspecified
-
None
Description of a problem
"dsidm role get-by-dn" doesn't provide proper output when run with json option specified
Version-Release number of the selected component
389-ds-base-3.0.5-2.el10.x86_64
Steps to reproduce
1. Create a role, e.g. managed 2. Run "dsidm role get-by-dn" with -j option specified 3. Check the output
Actual results
Returns plain output, identical to the output of command without json option: # dsidm -j localhost -b dc=example,dc=com role get-by-dn cn=test_role,dc=example,dc=comdn: cn=test_role,dc=example,dc=com cn: test_role objectClass: nsSimpleRoleDefinition objectClass: nsManagedRoleDefinition objectClass: nsRoleDefinition objectClass: ldapSubEntry objectClass: top
Expected results
Should return result as a JSON object
- links to
-
RHBA-2025:151590
389-ds-base update