Skip to content
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 role get-by-dn doesn't work properly with -j option #6503

Open
mirielka opened this issue Jan 14, 2025 · 0 comments
Open

dsidm role get-by-dn doesn't work properly with -j option #6503

mirielka opened this issue Jan 14, 2025 · 0 comments
Labels
needs triage The issue will be triaged during scrum

Comments

@mirielka
Copy link
Contributor

mirielka commented Jan 14, 2025

Issue Description
"dsidm role get-by-dn" doesn't provide proper output when run with json option specified

Package Version and Platform:
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

Expected results
Should return result as a JSON object

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
@mirielka mirielka added the needs triage The issue will be triaged during scrum label Jan 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs triage The issue will be triaged during scrum
Projects
None yet
Development

No branches or pull requests

1 participant