Add missing op.

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22879 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2008-04-07 18:51:05 +00:00
parent 20f5affab7
commit bb7701aef2

View File

@@ -57,6 +57,7 @@ kcm_access(krb5_context context,
case KCM_OP_CHMOD:
case KCM_OP_GET_INITIAL_TICKET:
case KCM_OP_GET_TICKET:
case KCM_OP_MOVE_CACHE:
write_p = 1;
read_p = 0;
break;
@@ -79,7 +80,8 @@ kcm_access(krb5_context context,
/* System caches cannot be reinitialized or destroyed by users */
if (opcode == KCM_OP_INITIALIZE ||
opcode == KCM_OP_DESTROY ||
opcode == KCM_OP_REMOVE_CRED) {
opcode == KCM_OP_REMOVE_CRED ||
opcode == KCM_OP_MOVE_CACHE) {
ret = KRB5_FCC_PERM;
goto out;
}