On 02/24/2012 09:45 AM, Petr Vobornik wrote:
On 02/23/2012 10:10 PM, Rob Crittenden wrote:
John Dennis wrote:





This works great, particularly with patch 63. The only thing I wasn't
able to test at all is logout. Is there a way to test that as-is or will
the UI guys need to make some changes too?

rob


I just created a WIP logout button patch (attached). It seems to be
working fine.


Thanks, that's great.

FWIW, I tested by cobbling together a curl script, it's ugly but without a UI it did the trick, attached here if it's useful to anyone else.



--
John Dennis <jden...@redhat.com>

Looking to carve out IT costs?
www.redhat.com/carveoutcosts/
#!/bin/sh

session_id="5f2247048801"
scheme="https"
host=$ipaf16session
rpc_url="ipa/session/json"
url="${scheme}://${host}/${rpc_url}"
referer="${scheme}://${host}/ipa"
json_rpc='{"method":"session_logout","params":[[],{}]}'

echo "$url $json_rpc"

curl --dump-header response.tmp --cookie "ipa_session=${session_id}" 
--negotiate -u admin:admin --ssl -k --referer "$referer" --header 
"Content-Type: application/json" --data "$json_rpc" $url
_______________________________________________
Freeipa-devel mailing list
Freeipa-devel@redhat.com
https://www.redhat.com/mailman/listinfo/freeipa-devel

Reply via email to