summaryrefslogtreecommitdiffstats
path: root/src/util
diff options
context:
space:
mode:
authorGreg Hudson <ghudson@mit.edu>2011-09-05 16:26:48 +0000
committerGreg Hudson <ghudson@mit.edu>2011-09-05 16:26:48 +0000
commit916555623ea3c0cd8976718f0b989280df9260ce (patch)
treeb93331f1e121874fae9e6e31eabe9c46f0ce10a4 /src/util
parent45360c9688ca963f75a2480f2cf818424fc3dc7b (diff)
downloadkrb5-916555623ea3c0cd8976718f0b989280df9260ce.tar.gz
krb5-916555623ea3c0cd8976718f0b989280df9260ce.tar.xz
krb5-916555623ea3c0cd8976718f0b989280df9260ce.zip
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
Diffstat (limited to 'src/util')
-rw-r--r--src/util/k5test.py2
-rw-r--r--src/util/testrealm.py1
2 files changed, 3 insertions, 0 deletions
diff --git a/src/util/k5test.py b/src/util/k5test.py
index cc3a7a1d6..ba4f8302b 100644
--- a/src/util/k5test.py
+++ b/src/util/k5test.py
@@ -181,6 +181,7 @@ Scripts may use the following functions and variables:
- ktutil
- kinit
- klist
+ - kswitch
- kvno
- kdestroy
- kpasswd
@@ -1074,6 +1075,7 @@ kdb5_util = os.path.join(buildtop, 'kadmin', 'dbutil', 'kdb5_util')
ktutil = os.path.join(buildtop, 'kadmin', 'ktutil', 'ktutil')
kinit = os.path.join(buildtop, 'clients', 'kinit', 'kinit')
klist = os.path.join(buildtop, 'clients', 'klist', 'klist')
+kswitch = os.path.join(buildtop, 'clients', 'kswitch', 'kswitch')
kvno = os.path.join(buildtop, 'clients', 'kvno', 'kvno')
kdestroy = os.path.join(buildtop, 'clients', 'kdestroy', 'kdestroy')
kpasswd = os.path.join(buildtop, 'clients', 'kpasswd', 'kpasswd')
diff --git a/src/util/testrealm.py b/src/util/testrealm.py
index 30466314c..30b3256ed 100644
--- a/src/util/testrealm.py
+++ b/src/util/testrealm.py
@@ -39,6 +39,7 @@ progpaths = [
os.path.join('clients', 'kpasswd'),
os.path.join('clients', 'ksu'),
os.path.join('clients', 'kvno'),
+ os.path.join('clients', 'kswitch'),
'slave'
]