Add missing op.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22879 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -57,6 +57,7 @@ kcm_access(krb5_context context,
|
|||||||
case KCM_OP_CHMOD:
|
case KCM_OP_CHMOD:
|
||||||
case KCM_OP_GET_INITIAL_TICKET:
|
case KCM_OP_GET_INITIAL_TICKET:
|
||||||
case KCM_OP_GET_TICKET:
|
case KCM_OP_GET_TICKET:
|
||||||
|
case KCM_OP_MOVE_CACHE:
|
||||||
write_p = 1;
|
write_p = 1;
|
||||||
read_p = 0;
|
read_p = 0;
|
||||||
break;
|
break;
|
||||||
@@ -79,7 +80,8 @@ kcm_access(krb5_context context,
|
|||||||
/* System caches cannot be reinitialized or destroyed by users */
|
/* System caches cannot be reinitialized or destroyed by users */
|
||||||
if (opcode == KCM_OP_INITIALIZE ||
|
if (opcode == KCM_OP_INITIALIZE ||
|
||||||
opcode == KCM_OP_DESTROY ||
|
opcode == KCM_OP_DESTROY ||
|
||||||
opcode == KCM_OP_REMOVE_CRED) {
|
opcode == KCM_OP_REMOVE_CRED ||
|
||||||
|
opcode == KCM_OP_MOVE_CACHE) {
|
||||||
ret = KRB5_FCC_PERM;
|
ret = KRB5_FCC_PERM;
|
||||||
goto out;
|
goto out;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user