Store session cookie in ccache for cli users

Try to use the URI /ipa/session/xml if there is a key in the kernel
keyring. If there is no cookie or it turns out to be invalid (expired,
whatever) then use the standard URI /ipa/xml. This in turn will create
a session that the user can then use later.

https://fedorahosted.org/freeipa/ticket/2331
This commit is contained in:
Rob Crittenden
2012-06-06 22:54:16 -04:00
committed by Martin Kosek
parent 0c96f59356
commit 54135ecd9a
7 changed files with 499 additions and 79 deletions

View File

@@ -1,5 +1,7 @@
#
# VERSION 5 - DO NOT REMOVE THIS LINE
# VERSION 6 - DO NOT REMOVE THIS LINE
#
# This file may be overwritten on upgrades.
#
# LoadModule auth_kerb_module modules/mod_auth_kerb.so
@@ -66,6 +68,12 @@ KrbConstrainedDelegationLock ipa
Allow from all
</Location>
<Location "/ipa/session/xml">
Satisfy Any
Order Deny,Allow
Allow from all
</Location>
<Location "/ipa/session/login_password">
Satisfy Any
Order Deny,Allow