[Freeipa-devel] [PATCH] 756 handle no forwarded TGT

Rob Crittenden rcritten at redhat.com
Tue May 17 17:47:29 UTC 2011


Martin Kosek wrote:
> On Mon, 2011-03-28 at 11:12 -0400, Rob Crittenden wrote:
>> We should gracefully handle the case where no TGT has been forwarded.
>> Right now we return a 500 error.
>>
>> ticket 1101
>>
>> rob
>
> This works fine on the server, nice error response from RPC server is
> returned. However, I was wondering if we could print this error response
> also to the CLI user?
>
> Right now, all I get are general error messages that would not lead me
> to actual root cause of this problem:
>
> $ ipa user-show admin
> ipa: ERROR: cannot connect to 'any of the configured servers':
> https://vm-027.idm.lab.bos.redhat.com/ipa/xml,
> https://vm-027.idm.lab.bos.redhat.com/ipa/xml
>
> Martin
>

The problem seems to be that the exception is Fault, not KerberosError. 
I'll take another look.

rob




More information about the Freeipa-devel mailing list