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:
@@ -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 *);
|
||||
|
Reference in New Issue
Block a user