Bug 499263 - ipa host-find returns 0 on error: No entries found
Summary: ipa host-find returns 0 on error: No entries found
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: freeIPA
Classification: Retired
Component: ipa-admintools
Version: 2.0
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Rob Crittenden
QA Contact: Chandrasekar Kannan
URL:
Whiteboard:
Depends On:
Blocks: 431020
TreeView+ depends on / blocked
 
Reported: 2009-05-05 20:54 UTC by Jenny Severance
Modified: 2015-01-04 23:38 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-03-28 09:29:23 UTC
Embargoed:


Attachments (Terms of Use)

Description Jenny Severance 2009-05-05 20:54:55 UTC
Description of problem:


[root@jennyv2 jenny]# ipa host-find badhost.bos.redhat.com
No entries found
[root@jennyv2 jenny]# echo $?
0

All other host commands return 161

[root@jennyv2 jenny]# ipa host-mod badhost.bos.redhat.com
ipa: ERROR: entry not found
[root@jennyv2 jenny]# echo $?
161


Version-Release number of selected component (if applicable):
2.0

How reproducible:
always

Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Pavel Zuna 2009-11-23 13:06:17 UTC
Exit code non-zero; reported as 0 hosts matched.

master: 322d8238a0862355340e1ad9a464bd40f6e9b728
All-around improvements to baseldap.py classes.


Note You need to log in before you can comment on or make changes to this bug.