First, it allows root to ignore the

naming conventions.  Second, it allows root to always perform any
operation on any ccache.  Note that root could do this anyway with FILE
ccaches

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20470 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2007-04-20 10:41:11 +00:00
parent 4caa3f6d2c
commit b22da5088e
3 changed files with 31 additions and 7 deletions

View File

@@ -140,6 +140,8 @@ typedef struct kcm_client {
gid_t gid;
} kcm_client;
#define CLIENT_IS_ROOT(client) ((client)->uid == 0)
/* Dispatch table */
/* passed in OPERATION | ... ; returns STATUS | ... */
typedef krb5_error_code (*kcm_method)(krb5_context, kcm_client *, kcm_operation, krb5_storage *, krb5_storage *);