summaryrefslogtreecommitdiffstats
path: root/ipapython/ipavalidate.py
diff options
context:
space:
mode:
authorFlorence Blanc-Renaud <flo@redhat.com>2016-07-21 16:54:43 +0200
committerMartin Babinsky <mbabinsk@redhat.com>2016-07-22 16:30:32 +0200
commitbc7eb99a2959980c1abf31f77610cec2f098744b (patch)
tree8fab92114a74e9d8e1c20256db4e29eadee70cdf /ipapython/ipavalidate.py
parent524719f420fa331b3a1d53d5d8bebdfee39c8371 (diff)
downloadfreeipa-bc7eb99a2959980c1abf31f77610cec2f098744b.tar.gz
freeipa-bc7eb99a2959980c1abf31f77610cec2f098744b.tar.xz
freeipa-bc7eb99a2959980c1abf31f77610cec2f098744b.zip
Fix session cookies
The CLI was not using session cookies for communication with IPA API. The kernel_keyring code was expecting the keyname to be a string, but in python 2 a unicode was supplied (the key is built using ipa_session_cookie:%principal and principal is a unicode). The patch fixes the assertions, allowing to store and retrieve the cookie. It also adds a test with unicode key name. https://fedorahosted.org/freeipa/ticket/5984 Reviewed-By: Petr Spacek <pspacek@redhat.com>
Diffstat (limited to 'ipapython/ipavalidate.py')
0 files changed, 0 insertions, 0 deletions