Add ccache collection support to tools
authorGreg Hudson <ghudson@mit.edu>
Mon, 5 Sep 2011 16:26:48 +0000 (16:26 +0000)
committerGreg Hudson <ghudson@mit.edu>
Mon, 5 Sep 2011 16:26:48 +0000 (16:26 +0000)
commit916555623ea3c0cd8976718f0b989280df9260ce
treeb93331f1e121874fae9e6e31eabe9c46f0ce10a4
parent45360c9688ca963f75a2480f2cf818424fc3dc7b
Add ccache collection support to tools

* "kdestroy -A" destroys all caches in collection.
* "kinit princ" searches the collection for a matching cache and
  overwrites it, or creates a new cache in the collection, if the
  type of the default cache is collection-enabled.  The chosen cache
  also becomes the primary cache for the collection.
* "klist -l" lists (in summary form) the caches in the collection.
* "klist -A" lists the content of all of the caches in the collection.
* "kswitch -c cache" (new command) makes cache the primary cache.
* "kswitch -p princ" makes the cache for princ the primary cache.

ticket: 6956

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@25157 dc483132-0cff-0310-8789-dd5450dbe970
23 files changed:
doc/rst_source/conf.py
doc/rst_source/krb_users/user_commands/index.rst
doc/rst_source/krb_users/user_commands/kdestroy.rst
doc/rst_source/krb_users/user_commands/kinit.rst
doc/rst_source/krb_users/user_commands/klist.rst
doc/rst_source/krb_users/user_commands/kswitch.rst [new file with mode: 0644]
src/clients/Makefile.in
src/clients/kdestroy/kdestroy.M
src/clients/kdestroy/kdestroy.c
src/clients/kinit/kinit.M
src/clients/kinit/kinit.c
src/clients/klist/klist.M
src/clients/klist/klist.c
src/clients/kswitch/Makefile.in [new file with mode: 0644]
src/clients/kswitch/deps [new file with mode: 0644]
src/clients/kswitch/kswitch.M [new file with mode: 0644]
src/clients/kswitch/kswitch.c [new file with mode: 0644]
src/configure.in
src/lib/krb5/ccache/cccursor.c
src/tests/Makefile.in
src/tests/t_cccol.py [new file with mode: 0644]
src/util/k5test.py
src/util/testrealm.py