diff options
| author | Tom Yu <tlyu@mit.edu> | 2002-10-08 20:20:29 +0000 |
|---|---|---|
| committer | Tom Yu <tlyu@mit.edu> | 2002-10-08 20:20:29 +0000 |
| commit | 794f0d854711dbee20ca8cfb3ec2ae729c41910c (patch) | |
| tree | 579a3b3f9f9c9851ec06cd8a188c7707b5ce2db4 /src/kadmin/cli/kadmin_ct.ct | |
| parent | 2d59b5f412e0eacf4c89008b14df8251a92cae09 (diff) | |
| download | krb5-794f0d854711dbee20ca8cfb3ec2ae729c41910c.tar.gz krb5-794f0d854711dbee20ca8cfb3ec2ae729c41910c.tar.xz krb5-794f0d854711dbee20ca8cfb3ec2ae729c41910c.zip | |
libkadm5 should allow persistent locks
libkadm5 should have a way to persistently lock the databases to avoid
wasting time on closing and reopening. These patches implement
persistent exclusive locks for local access only.
ticket: new
target_version: 1.3
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14914 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/kadmin/cli/kadmin_ct.ct')
| -rw-r--r-- | src/kadmin/cli/kadmin_ct.ct | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/kadmin/cli/kadmin_ct.ct b/src/kadmin/cli/kadmin_ct.ct index 9ecef0da7..05a4efb84 100644 --- a/src/kadmin/cli/kadmin_ct.ct +++ b/src/kadmin/cli/kadmin_ct.ct @@ -68,6 +68,12 @@ request kadmin_keytab_add, "Add entry(s) to a keytab", request kadmin_keytab_remove, "Remove entry(s) from a keytab", ktremove, ktrem; +request kadmin_lock, "Lock database exclusively (use with extreme caution!)", + lock; + +request kadmin_unlock, "Release exclusive database lock", + unlock; + # list_requests is generic -- unrelated to Kerberos request ss_list_requests, "List available requests.", list_requests, lr, "?"; |
