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

Attachment: freeipa-543-whoami.patch
Description: application/mbox

_______________________________________________
Freeipa-devel mailing list
Freeipa-devel@redhat.com
https://www.redhat.com/mailman/listinfo/freeipa-devel

Reply via email to