Skip to content

Commit

Permalink
add note about how to deal with ccache files
Browse files Browse the repository at this point in the history
  • Loading branch information
simo5 committed Apr 5, 2012
1 parent 07f485c commit cb2abc2
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions NOTES
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,18 @@
- SPNEGO (any pseudo-mechanism) should not be proxied, as it will
re-enter the mechglue and call the proxy(ies) if needed (or not) as
appropriate.


- How to pass around ccaches ?
We simply don't.
1. For a user, we should probably deny init_sec_context initially, but if we
allow it we need to create a ccache like
/var/lib/gssproxy/cc/krb5cc_<userename>
The user will not have direct access to the cache.
2. For a normal service we will do the same, both accept and init contetx use
the configured keytab and the ccache will be in
/var/lib/gssproxy/cc/krb5cc_<servicename>
3. For a trusted service we do the same as in 2. except when the service
asks us to init_sec_context as a user, in that case we will try to use the
user's ccache in /run/user/<username>/krb5cc, erroring out if it does not
exist or is expired.

0 comments on commit cb2abc2

Please sign in to comment.