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. 2. ipa-rmkeytab -r $VALID-REALM -k $KEYTAB-IS-A-TXT-FILE Actual result: echo $?=0 and no info in terminal. Expected results: Exit status as 3, with the message "Failed to open keytab". Additional info:
https://fedorahosted.org/freeipa/ticket/654
problem #1 moved to bug https://bugzilla.redhat.com/show_bug.cgi?id=667210 problem #2 addressed in a1188d95e8e318ebb70181fdb0d03e0485949b26
Verified version: ipa-server-2.0.0-13.el6.x86_64 [root@ipaqavmh ~]# ipa-rmkeytab -r TESTRELM -k /opt/krb5.keytab Failed to open keytab '/opt/krb5.keytab': No such file or directory [root@ipaqavmh ~]# echo $? 3