Re: [Freeipa-devel] [PATCH] 543 fix whoami plugin

2010-09-24 Thread Adam Young
On 09/23/2010 10:38 PM, Rob Crittenden wrote: Use the principal from the request context. ipalib.util.get_current_principal() is designed to work from a client, not within the server. I should have noticed this earlier. rob ___ Freeipa-devel

Re: [Freeipa-devel] [PATCH] 543 fix whoami plugin

2010-09-24 Thread Adam Young
On 09/23/2010 10:38 PM, Rob Crittenden wrote: Use the principal from the request context. ipalib.util.get_current_principal() is designed to work from a client, not within the server. I should have noticed this earlier. rob ___ Freeipa-devel