[Freeipa-devel] [PATCH] 0147: ipaserver/rpcserver: catch ACIError and return proper message for out-of-realm users

Petr Viktorin pviktori at redhat.com
Tue Mar 18 11:42:09 UTC 2014


On 03/12/2014 11:37 AM, Jan Pazdziora wrote:
> On Thu, Mar 06, 2014 at 12:03:23PM +0200, Alexander Bokovoy wrote:
>> Hi,
>>
>> we had similar issue in past, in jsonserver_session() class, fixed by
>> 0292ebd1 which Tomas did for ticket https://fedorahosted.org/freeipa/ticket/3252
>>
>> This one is for non-sessioned call:
>> https://fedorahosted.org/freeipa/ticket/4225
>
> The patch does not seem to apply against master.
>

The __call__ method was consolidated in KerberosWSGIExecutioner in 
commit 6a2b7094. If the PublicError handling -- success status with 
marshalled error -- is not enough, we can add the try/except there.

-- 
Petr³




More information about the Freeipa-devel mailing list