diff options
author | Martin Kosek <mkosek@redhat.com> | 2011-05-02 10:52:20 +0200 |
---|---|---|
committer | Martin Kosek <mkosek@redhat.com> | 2011-05-03 15:19:07 +0200 |
commit | e90120bdcbdeaa47ef23882465e6d883a79abc58 (patch) | |
tree | 20793f1a5de8001a7bcbe6d3b9206ea1e0a9f485 /ipa-client/man | |
parent | af6d3347ba140e4f6f3c3410a554f9f4bfd2cfa6 (diff) | |
download | freeipa-e90120bdcbdeaa47ef23882465e6d883a79abc58.tar.gz freeipa-e90120bdcbdeaa47ef23882465e6d883a79abc58.tar.xz freeipa-e90120bdcbdeaa47ef23882465e6d883a79abc58.zip |
Bad return values for ipa-rmkeytab command
ipa-rmkeytab returns success even when the realm passed to the
program is not found in a keytab. This patch adds an explanatory
error message and returns error code 5 - Principal or realm not
found.
https://fedorahosted.org/freeipa/ticket/694
Diffstat (limited to 'ipa-client/man')
-rw-r--r-- | ipa-client/man/ipa-rmkeytab.1 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ipa-client/man/ipa-rmkeytab.1 b/ipa-client/man/ipa-rmkeytab.1 index 71b324e06..6926c7b06 100644 --- a/ipa-client/man/ipa-rmkeytab.1 +++ b/ipa-client/man/ipa-rmkeytab.1 @@ -84,6 +84,6 @@ The exit status is 0 on success, nonzero on error. 4 Unable to parse the principal name -5 Principal name not found in keytab +5 Principal name or realm not found in keytab 6 Unable to remove principal from keytab |