From bb7701aef27807c7106c1fa3338800e27ad3f963 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Love=20H=C3=B6rnquist=20=C3=85strand?= Date: Mon, 7 Apr 2008 18:51:05 +0000 Subject: [PATCH] Add missing op. git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22879 ec53bebd-3082-4978-b11e-865c3cabbd6b --- kcm/acl.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/kcm/acl.c b/kcm/acl.c index 3cdff9840..2823260ca 100644 --- a/kcm/acl.c +++ b/kcm/acl.c @@ -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; }