Bug 667210 - Bad return values for ipa-rmkeytab command.
Summary: Bad return values for ipa-rmkeytab command.
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Fedora
Classification: Fedora
Component: ipa
Version: 14
Hardware: Unspecified
OS: Unspecified
low
medium
Target Milestone: ---
Assignee: Rob Crittenden
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: Ticket 694
Depends On: 665143
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-01-04 19:59 UTC by Rob Crittenden
Modified: 2011-10-20 20:35 UTC (History)
6 users (show)

Fixed In Version: freeipa-2.1.0-1.fc15
Clone Of: 665143
Environment:
Last Closed: 2011-10-20 20:35:47 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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


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