#49712 lib389 CLI tools should return a result code on failures
Closed: wontfix Opened by mreynolds.

Issue Description

$ dsidm -D "cn=Dm" --json -b "dc=example,dc=com" ldap://localhost:389 user get NOT_HERE
Enter password for cn=Dm on ldap://localhost:389 :
Error: No object exists given the filter criteria NOT_HERE

$ echo $?
0

We should be returning result code "1" so the caller can tell when an error occurs.


Metadata Update from @mreynolds:
- Issue assigned to mreynolds

Metadata Update from @spichugi:
- Custom field component adjusted to None
- Custom field origin adjusted to None
- Custom field reviewstatus adjusted to ack
- Custom field type adjusted to None
- Custom field version adjusted to None

https://pagure.io/389-ds-base/pull-request/49776

commit 5226bf99f18008cb956a9b2ae0dc5ea2a5fc4a7f

Metadata Update from @mreynolds:
- Issue close_status updated to: fixed
- Issue status updated to: Closed (was: Open)

389-ds-base is moving from Pagure to Github. This means that new issues and pull requests
will be accepted only in 389-ds-base's github repository.

This issue has been cloned to Github and is available here:
- https://github.com/389ds/389-ds-base/issues/2771

If you want to receive further updates on the issue, please navigate to the github issue
and click on subscribe button.

Thank you for understanding. We apologize for all inconvenience.

Metadata Update from @spichugi:
- Issue close_status updated to: wontfix (was: fixed)

Metadata