Lines Matching refs:client
36 RCSID("$Id: client.c 20487 2007-04-21 06:25:06Z lha $");
40 kcm_client *client,
54 ret = kcm_access(context, client, opcode, *ccache);
65 kcm_client *client,
78 ret = kcm_access(context, client, KCM_OP_DESTROY, ccache);
96 kcm_client *client,
109 snprintf(prefix, sizeof(prefix), "%ld:", (long)client->uid);
121 if (bad && !CLIENT_IS_ROOT(client))
127 if ((ccache->uid != client->uid ||
128 ccache->gid != client->gid) && !CLIENT_IS_ROOT(client))
130 } else if (ret != KRB5_FCC_NOFILE && !(CLIENT_IS_ROOT(client) && ret == KRB5_FCC_PERM)) {
142 /* bind to current client */
143 ccache->uid = client->uid;
144 ccache->gid = client->gid;
156 ret = kcm_access(context, client, KCM_OP_INITIALIZE, ccache);
168 if (CLIENT_IS_ROOT(client)) {
177 kcm_chown(context, client, ccache, uid, gid);