Bug 667210

Summary: Bad return values for ipa-rmkeytab command.
Product: [Fedora] Fedora Reporter: Rob Crittenden <rcritten>
Component: ipaAssignee: Rob Crittenden <rcritten>
Status: CLOSED UPSTREAM QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 14CC: dpal, grajaiya, jgalipea, mkosek, rcritten, ssorce
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: Ticket 694
Fixed In Version: freeipa-2.1.0-1.fc15 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 665143 Environment:
Last Closed: 2011-10-20 20:35:47 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 665143    
Bug Blocks:    

Description Rob Crittenden 2011-01-04 19:59:49 UTC
Splitting bug 665143 into two. This will handle the first bug reported.

+++ This bug was initially created as a clone of Bug #665143 +++

Description of problem:
Bad return values for ipa-rmkeytab command while using the "-r" option.

Version-Release number of selected component (if applicable):
ipa-admintools-1.91-0.2010121421gitcec6703.fc14.x86_64

How reproducible:


Steps to Reproduce:
1. ipa-rmkeytab -r INVALID-REALM-NAME -k /opt/krb5.keytab
Actual results:
echo $? = 0 and no info in terminal. 
Expected results:
Non-zero exit status with a message "realm name not found in keytab" as info in terminal.

Comment 1 Rob Crittenden 2011-01-04 20:00:59 UTC
https://fedorahosted.org/freeipa/ticket/694

Comment 2 Martin Kosek 2011-10-20 20:33:38 UTC
Fixed upstream:

master: e90120bdcbdeaa47ef23882465e6d883a79abc58

ipa-2-0: 2d09cc9d0f1687ebe453a8069ec1263594a368d9